I am setting everything up and would love to know more about what each of these do so i know what to use. and can i use groq for any of them? please help! i don’t want to get this wrong. i am going to build an agent to enrich data, lots of rows of data, i need to be mindful of costs.
Configure the following essential variables:
BASE_URL: API endpoint (OpenAI, OpenRouter, or Ollama)
LLM_API_KEY: Your API key for the LLM service
OPENAI_API_KEY: Required for embeddings
SUPABASE_URL: Your Supabase project URL
SUPABASE_SERVICE_KEY: Your Supabase service key
PRIMARY_MODEL: Main agent model (e.g., gpt-4o-mini)
BASE_URL: API endpoint (OpenAI, OpenRouter, or Ollama)
BASE_URL is to indiquate where is the llm API. here is the one for openAI :https://api.openai.com/v1
You should have one in your llm account API settings
LLM_API_KEY: Your API key for the LLM service
Those llm usually requires authentication.
OPENAI_API_KEY: Required for embeddings
embeddings is used to store the chunks into the supabase. I am not sure why it has to be OPENAI.