OctoAI
OctoAI offers easy access to efficient compute and enables users to integrate their choice of AI models into applications. The
OctoAIcompute service helps you run, tune, and scale AI applications easily.
Installation and Setupโ
- Install the
openaiPython package:pip install openai - Register on
OctoAIand get an API Token from your OctoAI account page.
Chat modelsโ
See a usage example.
from langchain_community.chat_models import ChatOctoAI
API Reference:ChatOctoAI
LLMsโ
See a usage example.
from langchain_community.llms.octoai_endpoint import OctoAIEndpoint
API Reference:OctoAIEndpoint
Embedding modelsโ
from langchain_community.embeddings.octoai_embeddings import OctoAIEmbeddings
API Reference:OctoAIEmbeddings