https://github.com/tcsenpai/llamapedia
Wikipedia-like interface for querying an OLLAMA language model. Users can input their queries, and the app will generate informative responses using the configured OLLAMA model.
https://github.com/tcsenpai/llamapedia
ai encyclopedia llm ml ollama opensource privacy wikipedia
Last synced: 5 months ago
JSON representation
Wikipedia-like interface for querying an OLLAMA language model. Users can input their queries, and the app will generate informative responses using the configured OLLAMA model.
- Host: GitHub
- URL: https://github.com/tcsenpai/llamapedia
- Owner: tcsenpai
- Created: 2024-10-23T16:40:03.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-11-04T20:52:50.000Z (12 months ago)
- Last Synced: 2025-04-01T05:11:29.655Z (7 months ago)
- Topics: ai, encyclopedia, llm, ml, ollama, opensource, privacy, wikipedia
- Language: Python
- Homepage:
- Size: 251 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Llamapedia
[](https://justforfunnoreally.dev)

This Streamlit app provides a Wikipedia-like interface for querying an OLLAMA language model. Users can input their queries, and the app will generate informative responses using the configured OLLAMA model.
## Setup
1. Install the required dependencies:
```
pip install -r requirements.txt
```2. Configure the `.env` file with your OLLAMA API URL and model name (copy the `env.example` file to `.env` and modify it).
3. Run the Streamlit app:
```
streamlit run src/main.py
```4. Open your web browser and navigate to the URL provided by Streamlit (usually `http://localhost:8501`).
## Tips
- You can use the `llamapedia.desktop` or `llamapedia.bat` files to run the app. This provides a terminal window for the app and an easy way to launch it with a double-click.
## Usage
1. Enter your query in the text area provided.
2. Click the "Submit" button to generate a response.
3. The app will display the OLLAMA-generated response in a Wikipedia-like format.## Configuration
- Modify the `system_prompt.txt` file to change the system prompt sent to the OLLAMA model.
- Update the `.env` file to change the OLLAMA API URL or model name.