chore: Add yaml file with 'memory_enabled: true'

This commit is contained in:
2025-10-02 17:40:44 +05:30
parent 4947b17521
commit d143f1c539
+40
View File
@@ -0,0 +1,40 @@
# Basic Chat with Memory Configuration
# Simple conversational agent with memory enabled for testing
agents:
chat_agent:
type: llm
config:
provider: openai
model: gpt-4
temperature: 0.8
memory_enabled: true
max_history: 10
system_prompt: |
You are a helpful and friendly AI assistant with memory.
You can remember our conversation and refer back to previous topics.
Respond naturally and conversationally, and feel free to reference
what we've discussed before.
# NEW: Unified routes section
routes:
# Main chat processing route
chat_stream:
type: stream # REQUIRED: Must specify type (stream or graph)
stream_type: cold
operators:
- type: map
params:
agent: chat_agent
publications:
- __output__
# Simple flow: input -> chat -> output
merges:
- sources: [__input__]
target: chat_stream
context:
global:
conversation_mode: true
memory_enabled: true