Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x86senniral/tempogpt
A simple bot template using the openAI API key to do a specific task through function calling & tools. In this case, a weather bot example. Additionally using firebase to store messages.
https://github.com/x86senniral/tempogpt
ai chat-application chatbot chatgpt chatgpt-api openai openai-api openapi
Last synced: about 1 month ago
JSON representation
A simple bot template using the openAI API key to do a specific task through function calling & tools. In this case, a weather bot example. Additionally using firebase to store messages.
- Host: GitHub
- URL: https://github.com/x86senniral/tempogpt
- Owner: x86senniral
- Created: 2023-12-10T23:00:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-14T03:58:18.000Z (about 1 year ago)
- Last Synced: 2024-06-10T02:25:56.161Z (7 months ago)
- Topics: ai, chat-application, chatbot, chatgpt, chatgpt-api, openai, openai-api, openapi
- Language: TypeScript
- Homepage:
- Size: 166 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TempoGPT
A simple bot template using the openAI API key to do a specific task through function calling & tools. In this case, a weather type bot example using the OpenWeather API. Additionally using firebase to store messages. Made in ReactJS.## Deployment
1. Usage
```
git clone https://github.com/vahshellus/TempoGPT.git
```
or simply download the .zip.2. Install
Use `npm install` to install all of the required dependencies.3. Deploy
- Use `npm run dev` to deploy the application.
- Navigate to /src/backend and deploy server.js through `node server.js` (This is where the route will be used to transfer requests.)## Replacements
- Replace the data in firebase.js with your own firebase web app configurations.
- Add in your openAI API key in `chatbot.py` at `OpenAI(api_key='')`
- If you wish to use the weather api in the example, sign up for the OpenWeatherMap for free and add in your API key in `API_KEY`.## Possible Python Error
- In `server.js` I'm using `spawn('python3', ['../utility/chatbot.py']);` , if you're using another version of python or "plain" `python` , then just replace `python3` by `python`## Demo
![image](https://github.com/vahshellus/TempoGPT/assets/60050784/cfcb4a6a-a0df-4a82-953f-2c9caf17f035)