Skip to content

Conversation

damijanc
Copy link
Contributor

Q A
Bug fix? no
New feature? no
Docs? yes
Examples yes
License MIT

Ollama RAG examples and a readme file.

@carsonbot carsonbot changed the title [Ollama ]Add rag examples and a small readme [Ollama ] Add rag examples and a small readme Sep 12, 2025
@welcoMattic welcoMattic added the Hackathon 2025 This issue or pull request was part of the Symfony AI Hackathon 2025 label Sep 12, 2025
@welcoMattic welcoMattic changed the title [Ollama ] Add rag examples and a small readme [Ollama] Add RAG examples and a small README file Sep 12, 2025
@welcoMattic welcoMattic added the Run examples Issues & PRs about the example scripts label Sep 12, 2025
@carsonbot carsonbot changed the title [Ollama] Add RAG examples and a small README file [Run examples][Ollama] Add RAG examples and a small README file Sep 12, 2025
Comment on lines +14 to +22
Once models are downloaded you can run them with
```bash
ollama run <model-name>
```
for example

```bash
ollama run llama3.2
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running models is not mandatory, but serving them is. Using ollama serve command. BTW running an embedding model is not possible using Ollama, output is not human readable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, so to run the examples it would be:

ollama pull llama3.2
ollama pull nomic-embed-text
ollama serve

@damijanc damijanc force-pushed the hackaton-berlin-12-09-2025 branch from 457ab21 to ea8cd38 Compare September 12, 2025 15:16
@OskarStark OskarStark changed the title [Run examples][Ollama] Add RAG examples and a small README file [Ollama] Add RAG examples and a small README file Sep 12, 2025
@OskarStark OskarStark removed the Run examples Issues & PRs about the example scripts label Sep 12, 2025
@chr-hertel
Copy link
Member

Thank you @damijanc.

@chr-hertel chr-hertel merged commit 4e81587 into symfony:main Sep 16, 2025
16 of 17 checks passed
OskarStark added a commit that referenced this pull request Sep 17, 2025
…and wrap up docs (chr-hertel)

This PR was merged into the main branch.

Discussion
----------

[Examples] Consistency about Ollama model config via env, and wrap up docs

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | yes
| Issues        |
| License       | MIT

Following #562 and #563

Commits
-------

5292d15 Consistency about Ollama model config via env, and wrap up docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hackathon 2025 This issue or pull request was part of the Symfony AI Hackathon 2025 Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants