Skip to content

ethancchen/midori

Repository files navigation

midori

To install the Python library requirements, run

pip install -r requirements.txt

To update requirements, modify the libraries in requirements.in and run

pip-compile requirements.in

To run data_cleaning.ipynb, include the desired source .csv file located in csv/.

To run the app locally, run

streamlit run app.py

To set up the MongoDB database, from the repo root,

cd webapp/.streamlit
touch secrets.toml

In secrets.toml, write your MongoDB username and password in the format (with quotation marks),

mongo_username = "{username}"
mongo_password = "{password}"

Supported Modifications to Web Application

  1. Can change the character and sentence thresholds in the preprocess function of evaluator.py

Miscellaneous

scripts/ contains Python files and Jupyter Notebooks that can be run on individual CSV (found in csv/) and other formats of data to filter and process data as well as generate responses from OpenAI found in their documentation here.

pre-commit (after installing requirements)

Run

pre-commit install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published