Spaces:
Runtime error
Runtime error
Upload chatbot/llm_groq.py with huggingface_hub
Browse files- chatbot/llm_groq.py +1 -6
chatbot/llm_groq.py
CHANGED
|
@@ -1,9 +1,4 @@
|
|
| 1 |
-
"""
|
| 2 |
-
Groq API client for LLM chat completions.
|
| 3 |
-
|
| 4 |
-
Uses the Groq SDK with streaming support. Drop-in replacement for OllamaClient
|
| 5 |
-
when deploying to environments without a local Ollama server.
|
| 6 |
-
"""
|
| 7 |
|
| 8 |
from typing import Generator
|
| 9 |
|
|
|
|
| 1 |
+
"""Groq API client with streaming chat completions."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
from typing import Generator
|
| 4 |
|