Skip to content

shadabshaukat/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Chatbot

A conversational AI Chatbot build using Python3, OpenAI and FastAPI

Clone Repository

git clone https://github.com/shadabshaukat/AI-Chatbot.git && cd AI-Chatbot/

Edit the .env file and Add your GPT model and OpenAI API Key

vim .env

OPENAI_API_KEY=Paste-Your-OpenAI-API-Key-Here

OPENAI_MODEL=gpt-3.5-turbo

Build the Container Image

docker build -t my-ai-chatbot-app .

Run the Container

docker run -d -p 8000:8000 --env-file .env my-ai-chatbot-app

Open AI Chatbot from Browser

http://localhost:8000/static/index.html

Screenshot 2024-04-08 at 3 26 42 pm

Check Status of the Container

docker container ls
docker logs container_id
docker inspect container_id
docker stats container_id
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_id

About

An AI Chatbot build using OpenAI APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published