Skip to content

Personal Chatbot that will answer questions about me.

Notifications You must be signed in to change notification settings

stazcp/personal_chatbot

Repository files navigation

Staz AI

Staz AI is a conversational AI designed to answer questions about Staz based on provided documents. It acts as an AI version of Staz, interacting with potential recruiters or clients.

Setup

  1. Clone the repository: git clone <repository-url>

  2. Navigate to the project directory: cd <project-directory>

  3. Install the required dependencies: pip install -r requirements.txt venv is recommended (create a venv with python -m venv venv and activate it with source venv/bin/activate)

  4. Provide required env variables OPENAI_API_KEY, CORS_ORIGIN, (not required - recommended) ASSISTANT_NAME

  5. Run the application:

    • with venv python -m gunicorn main:app
    • without gunicorn main:app
    • without gunicorn python main.py

Usage

``To interact with Staz AI, send a POST request to the/ask endpoint with a JSON body containing your question. For example:

{
  "question": "What is Staz's favorite programming language?"
}

About

Personal Chatbot that will answer questions about me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published