This assistant will assist you in defining your queries, including filters, by generating a prompt that you can submit to the AI of your choice to generate the GraphQL Hot Chocolate query syntax.

Empowering Development with AI: Simplifying Query Creation

Follow John and Jenny on a groundbreaking exploration of simplified query creation with GraphQL API.

Discover how natural language prompts unleash the power of AI to streamline development processes and save valuable time.

1. Choose a query template from the collection

Choose a query related to the query you want to define.
You can use the filter box to facilitate the selection of an entity, such as accountingAccounts or customers.

2. In natural language, express your desired filter

Express your filtering criteria in clear, natural language so the AI can effectively understand and process your request based on the query structure.
When essential, utilize square brackets for precise identification of field names and nested parentheses to articulate detailed conditions.

For example, if in the previous step you chose a query template for the accountingAccounts, you could ask:
The first 10 accounts whose [code] belongs to class 6 or 7 and contain the term “product” in their name, or those of class 2 that contain the term “immo”

3. Click Copy button and Paste as a prompt to your favorite AI.

Now, paste the copied prompt into your favorite AI tool.