https://github.com/studyresearchprojects/weather-agent-old
Simple Weather Agent created using Hugging Face's `smolagents` library
https://github.com/studyresearchprojects/weather-agent-old
Last synced: 4 months ago
JSON representation
Simple Weather Agent created using Hugging Face's `smolagents` library
- Host: GitHub
- URL: https://github.com/studyresearchprojects/weather-agent-old
- Owner: StudyResearchProjects
- Created: 2025-05-06T04:04:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-12T01:18:59.000Z (about 1 year ago)
- Last Synced: 2026-02-10T21:33:09.103Z (4 months ago)
- Language: Just
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# weather-agent
Simple Weather Agent created using Hugging Face's `smolagents` library
## Development
### Requirements
- Python `v3.3 >`
- Docker
This project uses Python's [`venv`][venv] to manage the Virtual Environment,
you can create the `.venv` directory as follows:
```bash
python3 -m venv .venv
```
> `venv` comes as part of Python's standard library since Python v3.3
> `.venv` should not be commited to the Git Repository
Then activate the Virtual Environment by executing:
```bash
source .venv/bin/activate
```
Confirm the virtual environment is activated by checking Python binary path:
```bash
which python
```
> While the virtual environment is active, the above command will output a filepath that includes the
> `.venv` directory, e.g. `.venv/bin/python`.
> If you want to switch projects or leave your virtual environment, deactivate the environment:
> ```bash
> deactivate
> ```
### Running Dockerized Ollama
This project uses Dockerized Ollama as LLM, the included `Justfile` provides a convenient recipe
to run the Ollama container.
```bash
just run-ollama
```
Then you can install the Model using:
```bash
just run-model
```
> This project is using a memory cheap model:
> https://ollama.com/library/smollm:1.7b

