ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
13.81k stars 1.31k forks source link

Error loading Groq models #49

Closed hamelcubsfan closed 5 months ago

hamelcubsfan commented 5 months ago
          bigger issue, Groq is having an Error loading Groq models
1

Backend logs: 2024-05-02 07:49:03 error: Error loading Groq models: Error: OpenAI or Azure OpenAI API key not found 2024-05-02 07:46:15 (node:28) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. 2024-05-02 07:46:15 (Use node --trace-deprecation ... to show where the warning was created)

Originally posted by @hamelcubsfan in https://github.com/ItzCrazyKns/Perplexica/issues/48#issuecomment-2090429641

ItzCrazyKns commented 5 months ago

You need to specify the OpenAI API key to use Groq models because it make use of OpenAI embedding models to embed the sources. So to use Groq you also need OpenAI API key