https://github.com/bborbe/sample_llm
https://github.com/bborbe/sample_llm
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bborbe/sample_llm
- Owner: bborbe
- Created: 2025-02-07T07:47:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-07T16:23:07.000Z (about 1 year ago)
- Last Synced: 2025-03-07T17:29:15.690Z (about 1 year ago)
- Language: Python
- Size: 122 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pydantic AI Samples
## Pyenv
```
pyenv virtualenv 3.12.4 sample_pydantic_ai
pyenv local sample_pydantic_ai
```
## Install deps
```
pip install -r requirements.txt
```
## Ollama
Install ollama:
https://ollama.com/
Install model:
```
ollama run gemma2:9b
ollama run llama3.1:8b
ollama run llama3.2:3b
ollama run mistral:7b
```
## Links
https://ai.pydantic.dev/examples/weather-agent/
https://streamlit.io/