A toy demo to play with langchain.
It can generate and execute commands (in docker container for safety) from user's natural language.
And it rely on ollama to chat with locally deployed LLM (qwen-14b).
- Install packages
pip install -r requirements.txt- Install and serve docker, ollama
- Pull the docker image
ubuntu:22.04and LLMqwen:14b
Start chat session:
python main.pySpecial input seq:
clean/clear: Clear chat history of current sessionexit/quit/q: Exit chat session
