Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomwalczak/ellie-ai-risk-chatbot
https://github.com/tomwalczak/ellie-ai-risk-chatbot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomwalczak/ellie-ai-risk-chatbot
- Owner: tomwalczak
- Created: 2023-10-25T10:15:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-25T12:17:11.000Z (over 1 year ago)
- Last Synced: 2024-02-12T12:26:48.403Z (12 months ago)
- Language: Python
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chatbot AI Safety
# How to run locally
### Clone the repository
### Create a virtual environment with Python 3.10
## install requirement via pip
```
pip3 install -r requirements.txt
```### Configure environment variables:
copy `.env.example` to `.env` and set the variables
### RUN
```
uvicorn main:app
```or
```
python3 main.py
```# Task description
- clean up the code in the langchain-upgrade notebook (remove unused imports etc.)
- load prompts from text files
- implement the new chatbot chain inside main.py, in the /ws endpoint
(currently, main.py is using an older LangChain version so when you run it with python3 main.py, it will not work)
- run and test the chatbot: https://share.cleanshot.com/b3HhfB4Y
- deploy the chatbot to a server using Github Actions
- suggest improvements and next steps for the projectNote: you can use GPT-3.5-turbo or GPT-4. We will cover any reasonable costs for the API.