This folder contains the frontend code for the OR Assistant using Streamlit. Follow the instructions below to set up the environment, run the application, and perform testing using a mock API.
To configure the application, you'll need to set up the following environment variables in your .env file:
CHAT_ENDPOINT=<your-chat-endpoint> Defaults to http://localhost:8000/chatApp
For this section, please refer to the mongodb documentation for more details.
Ensure you have the necessary dependencies installed by running:
pip install -r requirements.txtStart the Streamlit application by running:
streamlit run streamlit_app.pyTo test your application using a mock API, you can run the provided mock endpoint script:
python utils/mock_endpoint.pyThis will start a mock API server that simulates responses for testing purposes.
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details.