For an existing Validate development project, the following example creates a run and logs the responses to the UI.
When the RAG system response and retrieved context is logged to the Tonic Validate application, RAG metrics are calculated using calls to Open AI.