Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 keys

1. 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