Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6.33k stars 4.23k forks source link

Message: The request is invalid. Details: Cannot convert the literal '-0.009656427428126335' to the expected type 'Edm.String'. #1835

Open haldernayan opened 4 months ago

haldernayan commented 4 months ago

This issue is for a: (mark with an x)

When I run the command ./scripts/prepdocs.sh, got the following error Message: The request is invalid. Details: Cannot convert the literal '-0.009656427428126335' to the expected type 'Edm.String'.

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

pamelafox commented 4 months ago

Is this on the sample data or your own data? Do you have any idea which field it was trying to update at the time? That literal looks more like the floating point number from a vector than text for a text field, so I'm wondering why it was trying to store it in a string.

haldernayan commented 4 months ago

it is not on my own data, it is on the sample pdf files stored on the Data folder.