From 43f26405e818aec791b28c50373843851fe1320e Mon Sep 17 00:00:00 2001 From: Oxbian Date: Tue, 4 Mar 2025 21:15:42 -0500 Subject: feat: routing request --- config/chat-LLM.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'config/chat-LLM.json') 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"] + } + } + } + ] } -- cgit v1.2.3