OpenAI
You can use OpenAI models by directly calling the OpenAI API using theopenai
package. For the most up-to-date information on how to call OpenAI via the OpenAI SDK, please refer to the npm package docs.
Installation
Usage
Anthropic
You can directly call the Anthropic model using the@anthropic-ai/sdk
package. For the most up-to-date information on how to call Anthropic via the Anthropic SDK, please refer to the npm package docs.
Installation
Usage
AWS Bedrock
To use a model hosted on AWS Bedrock, you can use the AWS Bedrock SDK.Installation
Usage
GCP Vertex AI
If you are using a model hosted on GCP Vertex AI, you can directly call the GCP Vertex AI model using the@google-cloud/vertexai
package. For the most up-to-date information on how to call GCP Vertex AI via the GCP Vertex AI SDK, please refer to the npm package docs.