Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshaustintech/python-assistant
Python development AI assistant built on CodeLlama
https://github.com/joshaustintech/python-assistant
gradio-interface llama2 python
Last synced: 3 days ago
JSON representation
Python development AI assistant built on CodeLlama
- Host: GitHub
- URL: https://github.com/joshaustintech/python-assistant
- Owner: joshaustintech
- License: mit
- Created: 2023-11-04T05:11:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T08:10:15.000Z (about 1 year ago)
- Last Synced: 2024-10-18T22:10:11.506Z (3 months ago)
- Topics: gradio-interface, llama2, python
- Language: Dockerfile
- Homepage:
- Size: 352 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-assistant
Python development AI assistant built on CodeLlama## Screenshot
![screenshot](Screenshot.png)## Installation
- Install and run [Ollama](https://ollama.ai/) on your system.
- Create the model using the Modelfile in your terminal:
```bash
$ ollama create python-assistant -f Modelfile
```
- Run the Gradio UI via Docker:
```bash
$ docker compose up --build
```
**OR** install and run with Python 3.11 or higher:
```bash
$ pip install -r requirements.txt
$ python main.py
```
- Open the UI in your browser at [http://localhost:7860/](http://localhost:7860/)## Credits
These people have inspired the system instructions that are in the `Modelfile`
- [Sammi Turner](https://github.com/sammi-turner)
- [jordantgh](https://github.com/jordantgh)Special thanks goes to [Matthew Berman](https://github.com/mberman84) for [this video](https://www.youtube.com/watch?v=rIRkxZSn-A8) on wrapping the Ollama API in a [Gradio](https://www.gradio.app/) UI.