Skip to content
Snippets Groups Projects

Update GraphQL DuoChat docs

Merged Jannik Lehmann requested to merge jnnkl-ids-graphql-docs-update into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -419,7+419,7 @@
@@ -419,7+419,7 @@
return {
return {
aiAction: 'CHAT',
aiAction: 'CHAT',
userId, // for example "gid://gitlab/User/1"
userId, // for example "gid://gitlab/User/1"
clientSubscriptionId // randomly generated identifier for every message
clientSubscriptionId // randomly generated identifier for every message
htmlResponse: false, // important to bypass HTML processing on every chunk
htmlResponse: false, // important to bypass HTML processing on every chunk
};
};
},
},
@@ -433,7+433,7 @@
@@ -433,7+433,7 @@
},
},
```
```
Please keep in mind that the clientSubscriptionId must be unique for every subscription. Reusing a clientSubscriptionId will cause several unwanted side effects in the subscription responses.
Please keep in mind that the clientSubscriptionId must be unique for every request. Reusing a clientSubscriptionId will cause several unwanted side effects in the subscription responses.
### Duo Chat GraphQL queries
### Duo Chat GraphQL queries
Loading