Please follow the detailed instructions in the top-level README to set up your environment.
Use the provided Makefile to quickly set up your environment and install dependencies with make tool.
make installSet GOOGLE_API_KEY and OPENAI_API_KEY in the environment variable in your shell session, or add to .env file.
export GOOGLE_API_KEY="..."
export OPENAI_API_KEY="..."You are now ready to run the evaluator examples. We recommend using a Jupyter Notebook for interactive exploration.
Start Jupyter Notebook:
make jupyterJupyter will open in your web browser (usually at http://localhost:8888).
-
In Jupyter file browser, double click on the evaluator you want to try.
-
Copy the text you want to evaluate into the last code cell of the notebook to try the evaluation of your text sample.
-
Use the toolbar to run all cells, or run each cell in sequence until the end.
If you prefer using an IDE with Python and Jupyter notebook support, such as VSCode with Microsoft's Python and Jupyter extensions, please refer to Microsoft's instructions for their installation and configuration.