43 lines
827 B
YAML
43 lines
827 B
YAML
allowed_users: []
|
|
|
|
use_platform: local_ai
|
|
|
|
name: "ai bot"
|
|
|
|
reply_in_thread: true
|
|
|
|
enable_multi_user: true
|
|
|
|
system_prompt: "response in chinese"
|
|
|
|
platforms:
|
|
local_ai:
|
|
type: ollama
|
|
url: http://192.168.32.162:11434
|
|
api_key:
|
|
model: llama3.2
|
|
temperature: 1
|
|
max_tokens: 2000
|
|
max_words: 1000
|
|
max_context_messages: 20
|
|
openai:
|
|
url: https://api.openai.com
|
|
api_key:
|
|
model: gpt4o
|
|
max_tokens: 2000
|
|
max_words: 1000
|
|
max_context_messages: 20
|
|
temperature: 1
|
|
anthropic:
|
|
url: https://api.anthropic.com
|
|
api_key:
|
|
model: claude-3-5-sonnet-20240620
|
|
max_words: 1000
|
|
max_tokens: 2000
|
|
max_context_messages: 20
|
|
|
|
additional_prompt:
|
|
- role: user
|
|
content: "What model is currently in use?"
|
|
- role: system
|
|
content: "you can response text contain user name" |