Skip to content

Rami-Ismael/TemocTalk

Repository files navigation

TemocTalk

A chatbot that provides all the information and guidance needed for those who want to apply for UTD Admissions. It will give a personalized and interactive experience for users - making the college admissions process less daunting and more manageable.

Link to website: https://temoctalk.netlify.app

Clone this repo

git clone <link of this project>
cd TemocTalk

Frontend

Follow these steps to run frontend website:
cd frontend
yarn install
yarn start
visit: http://localhost:3000/

if it does not work and there are weird errors, try:
rm -rf node_modules
yarn install
yarn start

Backend

Requirements

To install python requirements:
pip install -r requirements.txt
Running flask server requires:
OpenAI API key
Organization ID for OpenAI
Rami's Pinecone API key (Has database)

Keys

Create .env file in folder and add:

.env file

OPENAI_KEY="<Your OpenAI key>"
ORGANIZATION_ID="<Your Organization ID>"
PINECONE_APIKEY="<Rami's Pinecone API key>"
PINECONE_INDEX_NAME="openai"

Flask server

Begin server (hosts on 127.0.0.1)
cd backend
flask run --cert=adhoc
Server takes url of form:
https:://127.0.0.1:5000/model-result?question=<str:question>

Docker Container

Dockerfile

describes how the image is built, runs the cmds in the image command line to start the server and specifies the entry point

To build the image

navigate to the main directory of the project then call: docker build -t temocbot ./backend/

To run the image as an instance(container).

docker run -d -p 5000:5000 temoctalk

Container status

docker ps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published