This patch introduces a new `baibot_conversation_start_time_utc` variable which indicates the time the conversation got started. Using `baibot_now_utc` is still possible, but given that the current time is a moving target, its use is in conflict with prompt caching. Because the new `baibot_conversation_start_time_utc` prompt variable is a more reasonable default, we're now using it in all sample configs.
9 lines
392 B
YAML
9 lines
392 B
YAML
base_url: https://api.mistral.ai/v1
|
|
api_key: YOUR_API_KEY_HERE
|
|
text_generation:
|
|
model_id: mistral-large-latest
|
|
prompt: "You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time of this conversation's start is: {{ baibot_conversation_start_time_utc }}."
|
|
temperature: 1.0
|
|
max_response_tokens: 4096
|
|
max_context_tokens: 128000
|