Skip to content

Commit

Permalink
Update to master:acdcf97514497ba2ae135eb0c1aa5014e5e45884. (#356)
Browse files Browse the repository at this point in the history
Co-authored-by: bitbucket-pipelines <commits-noreply@bitbucket.org>
  • Loading branch information
pwoznic and bitbucket-pipelines authored Nov 26, 2024
1 parent af87bf9 commit 8e3315b
Show file tree
Hide file tree
Showing 21 changed files with 2,247 additions and 1,799 deletions.
13 changes: 6 additions & 7 deletions www/docs/rest-api/create-chat-turn.api.mdx

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions www/docs/rest-api/create-chat.api.mdx

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions www/docs/rest-api/create-corpus.api.mdx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/docs/rest-api/create-user.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource is a resource implied by the request.

string

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"email\": \"user@example.com\",\n \"username\": \"string\",\n \"enabled\": true,\n \"description\": \"string\",\n \"created_at\": \"2024-10-29T01:49:06.242Z\",\n \"updated_at\": \"2024-10-29T01:49:06.242Z\",\n \"api_roles\": [\n \"owner\"\n ],\n \"api_policy\": {\n \"name\": \"string\",\n \"allowed_operations\": {}\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"email\": \"user@example.com\",\n \"username\": \"string\",\n \"enabled\": true,\n \"description\": \"string\",\n \"created_at\": \"2024-11-20T02:21:27.996Z\",\n \"updated_at\": \"2024-11-20T02:21:27.996Z\",\n \"api_roles\": [\n \"owner\"\n ],\n \"api_policy\": {\n \"name\": \"string\",\n \"allowed_operations\": {}\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

User creation request was malformed.

Expand Down
2 changes: 1 addition & 1 deletion www/docs/rest-api/get-chat-turn.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Get a specific turn from a chat, which is a message and response pair from the c

The turn.

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `trn_.+$`"} schema={{"description":"The ID of the turn.","type":"string","pattern":"trn_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"chat_id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `cht_.+$`"} schema={{"description":"The ID of the chat the turn resides in.","type":"string","pattern":"cht_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"query"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The query made to produce this turn.","type":"string","example":"How do you turn this widget?"}}></SchemaItem><SchemaItem collapsible={false} name={"answer"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The response to the query.","type":"string","example":"The widget turns counter clockwise."}}></SchemaItem><SchemaItem collapsible={false} name={"enabled"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"description":"Indicates whether the turn is enabled and shown in future turns of the chat.","type":"boolean","example":true}}></SchemaItem><SchemaItem collapsible={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Specifies when the turn was created.","type":"string","format":"date-time"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"chat_id\": \"string\",\n \"query\": \"How do you turn this widget?\",\n \"answer\": \"The widget turns counter clockwise.\",\n \"enabled\": true,\n \"created_at\": \"2024-10-29T01:49:06.237Z\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `trn_.+$`"} schema={{"description":"The ID of the turn.","type":"string","pattern":"trn_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"chat_id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `cht_.+$`"} schema={{"description":"The ID of the chat the turn resides in.","type":"string","pattern":"cht_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"query"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The query made to produce this turn.","type":"string","example":"How do you turn this widget?"}}></SchemaItem><SchemaItem collapsible={false} name={"answer"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The response to the query.","type":"string","example":"The widget turns counter clockwise."}}></SchemaItem><SchemaItem collapsible={false} name={"enabled"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"description":"Indicates whether the turn is enabled and shown in future turns of the chat.","type":"boolean","example":true}}></SchemaItem><SchemaItem collapsible={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Specifies when the turn was created.","type":"string","format":"date-time"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"chat_id\": \"string\",\n \"query\": \"How do you turn this widget?\",\n \"answer\": \"The widget turns counter clockwise.\",\n \"enabled\": true,\n \"created_at\": \"2024-11-20T02:21:27.988Z\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>

Permissions do not allow getting the turn.

Expand Down
2 changes: 1 addition & 1 deletion www/docs/rest-api/get-chat.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Get a chat summary to view what started the chat, but not subsequent turns.

A chat.

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `cht_.+$`"} schema={{"description":"ID of the chat.","type":"string","pattern":"cht_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"first_query"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The first query of the chat.","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"first_answer"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The first answer of the chat.","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"enabled"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"description":"Indicates whether this chat is enabled and can have further turns.","type":"boolean","example":true}}></SchemaItem><SchemaItem collapsible={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Specifies when this chat was created.","type":"string","format":"date-time"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"first_query\": \"string\",\n \"first_answer\": \"string\",\n \"enabled\": true,\n \"created_at\": \"2024-10-29T01:49:06.230Z\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `cht_.+$`"} schema={{"description":"ID of the chat.","type":"string","pattern":"cht_.+$"}}></SchemaItem><SchemaItem collapsible={false} name={"first_query"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The first query of the chat.","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"first_answer"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"The first answer of the chat.","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"enabled"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"description":"Indicates whether this chat is enabled and can have further turns.","type":"boolean","example":true}}></SchemaItem><SchemaItem collapsible={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Specifies when this chat was created.","type":"string","format":"date-time"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"id\": \"string\",\n \"first_query\": \"string\",\n \"first_answer\": \"string\",\n \"enabled\": true,\n \"created_at\": \"2024-11-20T02:21:27.979Z\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>

Permissions do not allow retrieving the chat.

Expand Down
Loading

0 comments on commit 8e3315b

Please sign in to comment.