About 371,000 results
Open links in new tab
  1. python - groq.GroqError: The api_key client option must be set …

    Feb 9, 2025 · groq.GroqError: The api_key client option must be set either by passing api_key to the client or by setting the GROQ_API_KEY environment variable Asked 11 months ago …

  2. Getting OpenAI API Error While Using Groq API for Python Coding …

    Jun 7, 2024 · I am trying to create a Python coding agent using the crewai library along with langchain and ChatGroq. My code is supposed to use the Groq API for language model …

  3. groq.APIConnectionError: Connection error - Stack Overflow

    Sep 27, 2024 · I am using Langchain and Groq for LLM project but I am getting API connection error, although I imported: import os load_dotenv() and then loaded API as: groq_api_key = …

  4. LangChain error: "Groq does not currently support …

    Aug 29, 2024 · ValueError: Groq does not currently support tool_choice='any'. Should be one of 'auto', 'none', or the name of the tool to call. When I checked the code of langchain_groq's …

  5. Sanity.io GROQ query for array of objects - Stack Overflow

    Jan 26, 2021 · Sanity.io GROQ query for array of objects Asked 4 years, 11 months ago Modified 3 years ago Viewed 9k times

  6. python - How can I accurately count tokens for Llama3/DeepSeek …

    Feb 2, 2025 · I'm integrating the Groq API in my Flask application to classify social media posts using a model based on DeepSeek r1 (e.g., deepseek-r1-distill-llama-70b). I build a prompt by …

  7. failed_generation with Groq LLM and llama index in Python

    Jul 29, 2024 · failed_generation with Groq LLM and llama index in Python Asked 1 year, 5 months ago Modified 1 year, 5 months ago Viewed 3k times

  8. rest - Why does Groq return "tool_use_failed" error when using ...

    Apr 16, 2025 · I'm deploying a Python FastAPI app on Render, and I'm using the instructor library to parse LLM responses into a Pydantic model using Groq's API. Locally, everything works …

  9. How do I avoid SDK and use raw fetch with Groq API?

    Apr 26, 2024 · I get a 404 on the api call. It appears to be using the deprecated API. I want to know how do a fetch/curl call with latest groq.com API. Anyone know how to fix? The official …

  10. llama index - Groq - Model name llama3-70b-8192 does not …

    May 5, 2024 · Groq - Model name llama3-70b-8192 does not support function calling API Asked 1 year, 8 months ago Modified 1 year, 8 months ago Viewed 1k times