LangChain agent for a cowboy assistant.
- Install Ollama and pull model (see main.py)
- Install PDM (package manager)
- Resolve Python dependencies and create environment:
- Mac-Arm64:
pdm lock
- Windows:
pdm lock --override win_overrides.txt
- Linux:
pdm lock --override linux_overrides.txt
- Mac-Arm64:
- Install Python dependencies:
pdm install
- Install dependencies for voice recognition:
brew install portaudio
brew install ffmpeg
- VSCode: Run
Python: Select Interpreter
and select the newly created environment
- Run:
pdm start
- Run specific file:
pdm run <file.py>