Spaces:
Runtime error
Runtime error
feat: Update LLM model to meta-llama/llama-4-maverick-17b-128e-instruct
Browse files🔄 MODEL UPDATE:
- Changed default model from llama-3.1-8b-instant to meta-llama/llama-4-maverick-17b-128e-instruct
- Updated model documentation and comments
- Maintains backward compatibility with existing Groq API integration
- Enhanced AI-assisted field mapping capabilities with newer model
- mapper/llm_handler.py +2 -2
mapper/llm_handler.py
CHANGED
|
@@ -17,7 +17,7 @@ class LLMHandler:
|
|
| 17 |
|
| 18 |
def __init__(self,
|
| 19 |
api_key: Optional[str] = None,
|
| 20 |
-
model_name: str = "llama-
|
| 21 |
temperature: float = 0.0,
|
| 22 |
max_tokens: int = 2048,
|
| 23 |
max_retries: int = 3):
|
|
@@ -25,7 +25,7 @@ class LLMHandler:
|
|
| 25 |
|
| 26 |
Args:
|
| 27 |
api_key: Groq API key (from env if None)
|
| 28 |
-
model_name: Model to use (llama-
|
| 29 |
temperature: Sampling temperature
|
| 30 |
max_tokens: Maximum tokens in response
|
| 31 |
max_retries: Maximum retry attempts
|
|
|
|
| 17 |
|
| 18 |
def __init__(self,
|
| 19 |
api_key: Optional[str] = None,
|
| 20 |
+
model_name: str = "meta-llama/llama-4-maverick-17b-128e-instruct",
|
| 21 |
temperature: float = 0.0,
|
| 22 |
max_tokens: int = 2048,
|
| 23 |
max_retries: int = 3):
|
|
|
|
| 25 |
|
| 26 |
Args:
|
| 27 |
api_key: Groq API key (from env if None)
|
| 28 |
+
model_name: Model to use (meta-llama/llama-4-maverick-17b-128e-instruct, llama-3.1-70b-versatile, etc.)
|
| 29 |
temperature: Sampling temperature
|
| 30 |
max_tokens: Maximum tokens in response
|
| 31 |
max_retries: Maximum retry attempts
|