Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/engageintellect/ai-stock-prediction
Future stock price predition using a regression neural-network
https://github.com/engageintellect/ai-stock-prediction
chatgpt daisyui fastapi neural-network openai python svelte sveltekit tailwindcss tensorflow yfinance
Last synced: about 2 months ago
JSON representation
Future stock price predition using a regression neural-network
- Host: GitHub
- URL: https://github.com/engageintellect/ai-stock-prediction
- Owner: engageintellect
- Created: 2023-10-07T06:18:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T09:00:55.000Z (11 months ago)
- Last Synced: 2024-10-26T18:46:32.315Z (3 months ago)
- Topics: chatgpt, daisyui, fastapi, neural-network, openai, python, svelte, sveltekit, tailwindcss, tensorflow, yfinance
- Language: Python
- Homepage:
- Size: 31.9 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**WIP**
# python-gpt
## Getting Started
Clone Repository (or use the template to create your own repository)
```
git clone https://github.com/engageintellect/python-gpt.git
```### Setup Environment
Create a config file for your OpenAI API key
```
sudo nvim /etc/python-gpt.json
```
It should look something like this:
```
{
"OPENAI_API_KEY": ""
}
```Now, create a virtual environment and install the requirements
```
cd python-gpt
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```### Run
Start your server
```
uvircorn main:app --reload
```### Test
Test your api in your terminal with curl
```
curl -X POST -H "Content-Type: application/json" -d '{"message": "Hello, ChatGPT!"}' http://localhost:8000/chat
```