Example Code-Monitor App
Example app that asks trivia questions to an LLM. We hook up the Galileo Observe tool with this app in 1 line of code.
You can use a Jupyter Notebook, VSCode, or any other python environment for this.
In your python environment, pip install 3 libraries using the command below:
Set 5 variables in your python IDE
Go to the Galileo console create a new project
- Hit “New Project” (top left)
- Give your project a nice name like “my_demo_monitor_project” as shown below
- Choose “Observe” as the Task Type
Copy and paste the Monitoring app code below
Was this page helpful?