In this tutorial, you will learn how to obtain LLM (Large Language Model) API keys for use in AnythingLLM. LLMs are language models that can be used to generate text, summarize articles, translate text, and more. API keys are required to access these models and use them in our applications.
OpenAI is one of the main LLM providers and offers a wide range of language models. To obtain the OpenAI API key, follow these steps:
- Access the OpenAI website at https://openai.com/.
- Click on "Create account" in the top right corner of the page.
- Fill out the registration form with your name, email, and password.
- Verify your email account and click on the verification link sent by OpenAI.
- Access the OpenAI control panel at https://beta.openai.com/account.
- Click on "Create API key" on the left side of the page.
- Select the type of API key you want to create (e.g., "API key for general use").
- Copy the generated API key and store it in a safe location.
The OpenAI API is one of the most efficient for use in the AnythingLLM embedder. It offers a wide range of language models and is very easy to use. Additionally, OpenAI offers a free plan that includes 100,000 tokens per month, which is sufficient for most applications.
Groq is another LLM provider that offers a wide range of language models. To obtain the Groq API key, follow these steps:
- Access the Groq website at https://groq.com/.
- Click on "Create account" in the top right corner of the page.
- Fill out the registration form with your name, email, and password.
- Verify your email account and click on the verification link sent by Groq.
- Access the Groq control panel at https://console.groq.com/.
- Click on "Create API key" on the left side of the page.
- Select the type of API key you want to create (e.g., "API key for general use").
- Copy the generated API key and store it in a safe location.
Gemini is an LLM provider that offers a wide range of language models. To obtain the Gemini API key, follow these steps:
- Access the Gemini website at https://gemini.ai/.
- Click on "Create account" in the top right corner of the page.
- Fill out the registration form with your name, email, and password.
- Verify your email account and click on the verification link sent by Gemini.
- Access the Gemini control panel at https://console.gemini.ai/.
- Click on "Create API key" on the left side of the page.
- Select the type of API key you want to create (e.g., "API key for general use").
- Copy the generated API key and store it in a safe location.
Qdrant is a Vectorbase provider that offers a wide range of language models. To obtain the Qdrant endpoint and API, follow these steps:
- Access the Qdrant website at https://qdrant.ai/.
- Click on "Create account" in the top right corner of the page.
- Fill out the registration form with your name, email, and password.
- Verify your email account and click on the verification link sent by Qdrant.
- Access the Qdrant control panel at https://console.qdrant.ai/.
- Click on "Create endpoint" on the left side of the page.
- Select the type of endpoint you want to create (e.g., "Endpoint for general use").
- Copy the generated endpoint and store it in a safe location.
- Click on "Create API key" on the left side of the page.
- Select the type of API key you want to create (e.g., "API key for general use").
- Copy the generated API key and store it in a safe location.
I recommend using the OpenAI API in the AnythingLLM embedder due to its efficiency and ease of use.