Hi everyone,
I’m currently building a chatbot in Copilot Studio that allows users to type in natural language, which then gets converted into a Cypher query and executed through my custom connection.To handle the natural language → Cypher conversion, I’ve been using the “Run a prompt” node in a flow. However, the results are very inconsistent — even with detailed instructions, the output often fails to generate valid or accurate Cypher queries. I’m wondering if there’s a more reliable or structured approach to handle this kind of text-to-query translation within Copilot Studio? Ideally, I’d like something that maintains consistent logic and handles different query structures better. I know that connecting external AI models could improve reliability, but due to company policies, I’m only allowed to use Copilot. Has anyone found an effective way to improve prompt accuracy or to structure this flow for better results?
Thanks in advance!