Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szilvia-csernus/personal-trainer-ai-assistant
Small project using OpenAI's Assistants API
https://github.com/szilvia-csernus/personal-trainer-ai-assistant
Last synced: 1 day ago
JSON representation
Small project using OpenAI's Assistants API
- Host: GitHub
- URL: https://github.com/szilvia-csernus/personal-trainer-ai-assistant
- Owner: szilvia-csernus
- Created: 2024-06-11T12:58:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T07:10:33.000Z (5 months ago)
- Last Synced: 2024-06-13T05:56:59.460Z (5 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal Trainer Assistant
Simple command line project using `OpenAI Assistants API`.
---
## How to run this project?
0. Prerequisites:
- Make sure Python3 is installed.
- If you don't have an account with OpenAI, create one here: https://openai.com/
- Create a project API key under Dashboard / API keys1. Clone the project.
2. Create a virtual environment inside the project folder:
`python -m venv venv`
3. Activate the virtual environment:
Mac: `source venv/bin/activate`
Windows: `venv\Scripts\activate`
4. Install the python dependencies:
`pip install -r requirements.txt`
5. Create an `.env` file in the root folder and add your project's API key:
```
OPENAI_API_KEY=your-unique-opanai-project-key```
6. Run project in the integrated terminal:
`python main.py`
## Credits
- OpenAI: https://openai.com