OPENAI_API_KEY
environment variable. You can obtain the OpenAI API key from the OpenAI Platform.
Once you have obtained the key, you can use it like this:
text-embedding-3-small
and text-embedding-3-large
. Embedchain supports both these models. Below you can find YAML config for both:GOOGLE_API_KEY
environment variable. You can obtain the Google API key from the Google Maker Suite
model_name
in the config yaml and it would work out of the box.
NVIDIA_API_KEY
environment variable. Note that the NVIDIA_API_KEY
will start with nvapi-
.
Below is an example of how to use LLM model and embedding model from NVIDIA AI:
COHERE_API_KEY
environment variable.
Once you have obtained the key, you can use it like this:
embed-english-v3.0
, embed-multilingual-v3.0
, embed-multilingual-light-v3.0
, embed-english-v2.0
, embed-english-light-v2.0
and embed-multilingual-v2.0
. Embedchain supports all these models. Below you can find YAML config for all:CLARIFAI_PAT
as environment variable which you can find in the security page. Optionally you can also pass the PAT key as parameters in LLM/Embedder class.
Now you are all set with exploring Embedchain.