OctoAIEmbeddings()Automatically inferred from env var OPENAI_API_VERSION if not provided.
Build extra kwargs from additional params that were passed in.
Call out to OpenAI's embedding endpoint for embedding search docs.
Call out to OpenAI's embedding endpoint async for embedding search docs.
Call out to OpenAI's embedding endpoint for embedding query text.
Call out to OpenAI's embedding endpoint async for embedding query text.
OctoAI Compute Service embedding models.
See https://octo.ai/ for information about OctoAI.
To use, you should have the openai python package installed and the
environment variable OCTOAI_API_TOKEN set with your API token.
Alternatively, you can use the octoai_api_token keyword argument.