You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting error in with_ask() method if query text contains double quotes, e.g. q = 'what is an "airport"' .with_ask({"question": q}) throws this message 'message': 'Syntax Error GraphQL request (1:61) Expected :, found String\n\n1: {Get{Paragraph(limit: 5 ask: {question: "what is an "airport""} ) But same query used in .with_near_text({"concepts": q}) works fine and is able to fetch matching paragraphs.
The text was updated successfully, but these errors were encountered:
I am getting error in with_ask() method if query text contains double quotes, e.g.
q = 'what is an "airport"'
.with_ask({"question": q})
throws this message'message': 'Syntax Error GraphQL request (1:61) Expected :, found String\n\n1: {Get{Paragraph(limit: 5 ask: {question: "what is an "airport""} )
But same query used in.with_near_text({"concepts": q})
works fine and is able to fetch matching paragraphs.The text was updated successfully, but these errors were encountered: