How harshraj7361/chatbot-beginner works
This is a small command-line chatbot. The user enters messages, which the application adds to an in-memory conversation history and sends to a local Ollama model; it prints the model’s reply and retains that reply for the next turn. The only runtime implementation shown is chatbot.py, so the graph separates its main responsibilities without implying additional product stages. The source does not show model-server configuration or other integrations.
Main entry points: chatbot.py Chatbot CLI
Components 4
Other components
- User
- Chatbot CLI
chatbot.py - Chat History
chatbot.py - Ollama Model
Connections 7
- User → Chatbot CLI: enters messages
chatbot.py - Chatbot CLI → Chat History: appends messages
chatbot.py - Chat History → Ollama Model: provides context
chatbot.py - Chatbot CLI → Ollama Model: invokes model
chatbot.py - Ollama Model → Chatbot CLI: returns reply
chatbot.py - Chatbot CLI → Chat History: appends reply
chatbot.py - Chatbot CLI → User: prints reply
chatbot.py