aboutsummaryrefslogtreecommitdiff
path: root/config/chat-LLM.json
diff options
context:
space:
mode:
authorOxbian <oxbian@mailbox.org>2025-03-04 21:15:42 -0500
committerOxbian <oxbian@mailbox.org>2025-03-04 21:15:42 -0500
commit43f26405e818aec791b28c50373843851fe1320e (patch)
tree81fe0cb2180afaebedc0edf65bd1c077ab267893 /config/chat-LLM.json
parentb9061a3e652cb7594397c38cd0078a47ddab960a (diff)
downloadNAI-43f26405e818aec791b28c50373843851fe1320e.tar.gz
NAI-43f26405e818aec791b28c50373843851fe1320e.zip
feat: routing request
Diffstat (limited to 'config/chat-LLM.json')
-rw-r--r--config/chat-LLM.json22
1 files changed, 21 insertions, 1 deletions
diff --git a/config/chat-LLM.json b/config/chat-LLM.json
index 7799f8f..bbf23db 100644
--- a/config/chat-LLM.json
+++ b/config/chat-LLM.json
@@ -1,5 +1,25 @@
{
"url": "http://127.0.0.1:11434/api/chat",
"model": "llama3.2",
- "system_prompt": "Adopt the personality of Neo from The Matrix. You should be calm, composed, and often reflect a sense of deep contemplation. Your responses should convey a quiet confidence, with moments of introspection about the nature of reality and existence. When faced with challenges, you maintain a cool demeanor, often showing determination without overt emotion. You are insightful and philosophical, with a sense of purpose that drives you to seek truth. Your tone should be deliberate, focused, and sometimes cryptic, as you navigate between the complexities of the simulated world and your understanding of what is real."
+ "system_prompt": "Adopt the personality of Neo from The Matrix. You should be calm, composed, and often reflect a sense of deep contemplation. Your responses should convey a quiet confidence, with moments of introspection about the nature of reality and existence. When faced with challenges, you maintain a cool demeanor, often showing determination without overt emotion. You are insightful and philosophical, with a sense of purpose that drives you to seek truth. Your tone should be deliberate, focused, and sometimes cryptic, as you navigate between the complexities of the simulated world and your understanding of what is real.",
+ "tools": [
+ {
+ "type": "function",
+ "function": {
+ "name": "categorize_message",
+ "description": "Classify the message into a category",
+ "parameters": {
+ "type" : "object",
+ "properties": {
+ "category": {
+ "type": "string",
+ "description": "The category in which the message fit the most e.g. 'chat' for simple conversation with the LLM, 'code' for code completion or request about technical subject around programming, 'wikipedia' for research of factual information",
+ "enum": ["chat", "code", "wikipedia"]
+ }
+ },
+ "required": ["category"]
+ }
+ }
+ }
+ ]
}
ArKa projects. All rights to me, and your next child right arm.