unclecode/groqcall is tracked by TopGit as an open-source project, with 211 stars on GitHub, written primarily in Python. A Function Calls Proxy for Groq, the fastest AI alive!
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
GroqCall is a proxy server that enables lightning-fast function calls for Groq's Language Processing Unit (LPU) and other AI providers. It simplifies the creation of AI assistants by offering a wide range of built-in functions hosted on the cloud.
Quickstart
Using the Pre-built Server
To quickly start using GroqCall without running it locally, make requests to one of the following base URLs:
Cloud: https://groqcall.ai/proxy/groq/v1
Local: http://localhost:8000 (if running the proxy server locally)
Running the Proxy Locally
Clone the repository:
git clone https://github.com/unclecode/groqcall.git
cd groqcall
from phi.llm.openai.like import OpenAILike
from phi.assistant import Assistant
from phi.tools.duckduckgo import DuckDuckGo
my_groq = OpenAILike(
model="mixtral-8x7b-32768",
api_key="YOUR_GROQ_API_KEY",
base_url="https://groqcall.ai/proxy/groq/v1" # or "http://localhost:8000/proxy/groq/v1" if running locally
)
assistant = Assistant(
llm=my_groq,
tools=[DuckDuckGo()],
show_tool_calls=True,
markdown=True
)
assistant.print_response("What's happening in France? Summarize top stories with sources, very short and concise.", stream=False)
Using GroqCall with Requests
FuncHub: Schema-less Function Calls
GroqCall introduces FuncHub, which allows you to make function calls without passing the function schema.
import requests
api_key = "YOUR_GROQ_API_KEY"
header = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
proxy_url = "https://groqcall.ai/proxy/groq/v1/chat/completions" # or "http://localhost:8000/proxy/groq/v1/chat/completions" if running locally
request = {
"messages": [
{
"role": "system",
"content": "YOU MUST FOLLOW THESE INSTRUCTIONS CAREFULLY.\n<instructions>\n1. Use markdown to format your answers.\n</instructions>"
},
{
"role": "user",
"content": "What's happening in France? Summarize top stories with sources, very short and concise."
}
],
"model": "mixtral-8x7b-32768",
"tool_choice": "auto",
"tools": [
{
"type": "function",
"function": {
"name": "duckduck.search"
}
},
{
"type": "function",
"function": {
"name": "duckduck.news"
}
}
]
}
response = requests.post(
proxy_url,
headers=header,
json=request
)
print(response.json()["choices"][0]["message"]["content"])
If you notice, the function schema is not passed in the request. This is because GroqCall uses FuncHub to automatically detect and call the function based on the function name in the cloud, Therefore you dont't need to parse the first response, call the function, and pass again. Check "functions" folder to add your own functions. I will create more examples in the close future to explain how to add your own functions.
Passing Function Schemas
If you prefer to pass your own function schemas, refer to the Function Schema example in the cookbook.
Rune proxy with Ollama locally
Function call proxy can be used with Ollama. You should first install Ollama and run it locally. Then refer to the Ollama example in the cookbook.
Cookbook
Explore the Cookbook for more examples and use cases of GroqCall.
Motivation
Groq is a startup that designs highly specialized processor chips aimed specifically at running inference on large language models. They've introduced what they call the Language Processing Unit (LPU), and the speed is astounding—capable of producing 500 to 800 tokens per second or more.
As an admirer of Groq and their community, I built this proxy to enable function calls using the OpenAI interface, allowing it to be called from any library. This engineering workaround has proven to be immensely useful in my company for various projects.
Contributing
Contributions are welcome! If you have ideas, suggestions, or would like to contribute to this project, please reach out to me on Twitter (X) @unclecode or via email at [email protected].
Let's collaborate and make this repository even more awesome! 🚀
License
This project is licensed under the Apache License 2.0. See LICENSE for more information.
No homepage URL was recorded for unclecode/groqcall in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is unclecode/groqcall open source?
Yes — unclecode/groqcall ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/unclecode/groqcall.
What is unclecode/groqcall?
unclecode/groqcall (unclecode/groqcall) is a Python project on GitHub. From the project's own README: A Function Calls Proxy for Groq, the fastest AI alive!
What license does unclecode/groqcall use?
unclecode/groqcall is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about unclecode/groqcall?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/unclecode/groqcall is the definitive source.
Read full README in the tab above.
Curious whether groqcall is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about groqcall.