Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 707 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 707 Bytes

flask-ddw-doc-chatbot

Running the Backend Locally

Clone the Repo:

  • Clone the repository from GitHub using git clone.

Install Requirements:

  • Navigate to the project's root directory and install the required dependencies with pip install -r requirements.txt.

Set Up Environment Variable:

  • Export your OpenAI API key as an environment variable in your terminal:
export DW_OPENAI_KEY=<your_openai_api_key>

Replace <your_openai_api_key> with your actual OpenAI API key.

Run the Backend:

  • Start the backend server by running:
    python main.py

The backend should now be running locally and accessible at the specified endpoint(s).