Spaces:
Sleeping
Sleeping
File size: 589 Bytes
795d38d d684283 795d38d a71a2d6 3811bfe 4a23cba |
1 2 3 4 5 6 7 8 9 10 11 |
import os
from pydantic import BaseModel, Field
class Settings(BaseModel):
llm_model_id: str = Field(default="mistral/mistral-small-latest")
llm_api_key: str = Field(default=os.getenv("MISTRAL_API_KEY", ""))
system_prompt: str = Field(default="""You are a professional AI assistant. Your process MUST be Thought -> Action (JSON Tool Call) -> Observation.
When you have the final result, you **MUST** call the `final_answer` tool.
The argument passed to the `final_answer` tool must be the final, comma-separated, correctly formatted string (e.g., "A, B, C").
""")
|