import langwatch
import pandas as pd
import json
# Authenticate with LangWatch
# Sign up at app.langwatch.ai and find your API key in your project settings.
langwatch.login()
# Create a sample evaluation dataset
data = {
"user_message": [
"Amsterdam Herengracht 500, Now",
"Schiphol airport, 2 people, 1 big suitcase",
"Central station please",
"Need a ride to Keizersgracht 123 from my current location",
],
"ground_truth": [
'{"pickup_address": "Herengracht 500, Amsterdam", "destination_address": null, "airport_found": false, "passenger_count": 1}',
'{"pickup_address": "Schiphol Airport", "destination_address": null, "airport_found": true, "passenger_count": 2}',
'{"pickup_address": "Amsterdam Central Station", "destination_address": null, "airport_found": false, "passenger_count": 1}',
'{"pickup_address": null, "destination_address": "Keizersgracht 123, Amsterdam", "airport_found": false, "passenger_count": 1}',
]
}
df = pd.DataFrame(data)
print(df)