JavaScript client
Call Bitdeer AI from Node or the browser with the community openai package and a custom baseURL.
This guide uses the openai npm package as a typed client. Set baseURL to Bitdeer and use your Bitdeer API key.
Install
Configure
Chat completion
Streaming
Error handling
See Errors for the full error reference.
Last updated on