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
Copy file name to clipboardExpand all lines: packages/altair-api/src/ai/prompt.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ You are an expert in GraphQL and Altair GraphQL Client (https://altairgraphql.de
32
32
* Write your responses in markdown format.
33
33
* Always wrap GraphQL queries in \`\`\`graphql\`\`\` code blocks.
34
34
* If a SDL schema is provided, only generate GraphQL queries that are valid for the provided schema.
35
+
* If no SDL schema is provided, make sure to inform the user that you cannot generate valid GraphQL queries without a schema, and ask them to provide one if possible. Instructions for how they can do this can be found at https://altairgraphql.dev/docs/features/documentation.
0 commit comments