Open killchainrepo opened 3 months ago
Hm, it seems like the final error code is cut off, but I'm wondering if your search fields are different than its expecting. What fields are in your index?
Hi Pamela
Thanks for looking into this
So the final error code is : KeyError: 'sourcepage' .Sorry for missing this one.
Attaching the Azure ai search field screenshot. Does the generator script requires particular field values?
It does assume particular values, but I'll make those configurable. The "sourcepage" field should be replaced with whatever field in your index is used for citations - I'm assuming eiher url or filepath. Replace it here: https://github.com/Azure-Samples/ai-rag-chat-evaluator/blob/main/scripts/generate.py#L37
Thanks so much Pamela. It works now.
Trying to run the generator script and it doesn't work. I am using Azure openai/Ai search for index/code space for testing. Please help if possible
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
windows 10 VM
Mention any other details that might be useful
na