Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buildwithlal/openai-bootcamp
This repo includes some practice examples using openAI [ChatGPT-3, DALL-E], Python, Jupyter Notebook, Poetry
https://github.com/buildwithlal/openai-bootcamp
chatgpt jupyter-notebook openai openai-api poetry python
Last synced: 10 days ago
JSON representation
This repo includes some practice examples using openAI [ChatGPT-3, DALL-E], Python, Jupyter Notebook, Poetry
- Host: GitHub
- URL: https://github.com/buildwithlal/openai-bootcamp
- Owner: BuildWithLal
- Created: 2024-01-09T20:15:50.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-01-27T19:23:12.000Z (10 months ago)
- Last Synced: 2024-07-31T22:51:50.903Z (4 months ago)
- Topics: chatgpt, jupyter-notebook, openai, openai-api, poetry, python
- Language: Jupyter Notebook
- Homepage:
- Size: 893 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### OpenAI bootcamp
This repo includes some practice examples using openAI [ChatGPT-3.5, DALL-E], Python, Jupyter Notebook, Poetry etc.
The repository includes both Python raw scripts and Jupyter Notebooks to visualize the data in browser.#### Tech Stack
* Python 3.11
* ChatGPT-3.5
* DALL-E
* Pandas
* SQLAlchemy
* SQLite
* Jupyter
* Pillow#### Setup and Run project
If you are a poetry guy
```
poetry update
```OR
If you are a pip/venv guy
```
python -m venv .venv
``````
source .venv/bin/activate
``````
pip install -r requirements.txt
```#### Run
copy and rename `.env_example` to `.env`
Add your openai key into `.env` from here [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys)
Run command from terminal
If you love terminal and `__name__ == "__main__"`
```
export $(cat .env | xargs) && poetry run python ./NLP-to-SQL/main.py
```If you love Jupyter Notebook
```
export $(cat .env | xargs) && poetry run jupyter notebook --ServerApp.token="" --ServerApp.password=""
```