Spaces:
Runtime error
Runtime error
| from retriever_tool import get_guest_info_retriever | |
| # Test both queries | |
| query1 = "What is the email of the guest named 'Lady Ada Lovelace'?" | |
| query2 = "What is the email of guest named 'Lady Ada Lovelace'?" | |
| print("=== Query 1 (with 'the') ===") | |
| print(f"Query: {query1}") | |
| result1 = get_guest_info_retriever(query1) | |
| print("Result:") | |
| print(result1) | |
| print() | |
| print("=== Query 2 (without 'the') ===") | |
| print(f"Query: {query2}") | |
| result2 = get_guest_info_retriever(query2) | |
| print("Result:") | |
| print(result2) | |
| print() | |
| print("=== Are results the same? ===") | |
| print(result1 == result2) | |