From c6c225ff915652156ba939d29fe28342b28de08b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 May 2025 23:46:40 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.0 --- .speakeasy/gen.lock | 55 +- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 180 +- .speakeasy/tests.arazzo.yaml | 4519 +++++++++++++++++ .speakeasy/workflow.lock | 14 +- README.md | 62 +- RELEASES.md | 12 +- docs/models/operations/chatstreamrequest.md | 292 ++ docs/sdks/chat/README.md | 776 +-- docs/sdks/clientchat/README.md | 878 ++++ jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- speakeasyusagegen/.speakeasy/logs/naming.log | 15 +- src/__tests__/chat.test.ts | 749 ++- src/__tests__/mockserver/.gitignore | 1 + .../internal/handler/pathpostrestapiv1chat.go | 30 +- .../internal/sdk/models/operations/chat.go | 4 +- .../sdk/models/operations/chatstream.go | 48 + src/funcs/chatChatStream.ts | 169 + src/funcs/clientChatStart.ts | 11 +- src/lib/config.ts | 6 +- src/models/operations/chatstream.ts | 86 + src/models/operations/index.ts | 1 + src/react-query/chatChatStream.ts | 91 + src/react-query/clientChatStart.ts | 2 +- src/react-query/index.ts | 1 + src/sdk/chat.ts | 162 +- src/sdk/client.ts | 8 +- src/sdk/clientchat.ts | 185 + src/sdk/sdk.ts | 6 + 31 files changed, 6908 insertions(+), 1465 deletions(-) create mode 100644 docs/models/operations/chatstreamrequest.md create mode 100644 docs/sdks/clientchat/README.md create mode 100644 src/__tests__/mockserver/.gitignore create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go create mode 100644 src/funcs/chatChatStream.ts create mode 100644 src/models/operations/chatstream.ts create mode 100644 src/react-query/chatChatStream.ts create mode 100644 src/sdk/clientchat.ts diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d0ad58ec..a1cf41f7 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 9e4b1e83-7853-4088-b960-4cbc5769b62c management: - docChecksum: 1cc19604b6542fcea54e78c6786aba78 + docChecksum: b39572deb5fcab2998ddc0e7724f0168 docVersion: 0.9.0 - speakeasyVersion: 1.541.2 - generationVersion: 2.595.4 - releaseVersion: 0.1.0-beta.2 - configChecksum: 0e38427161a2776fba7cd61456c3315c + speakeasyVersion: 1.542.0 + generationVersion: 2.596.2 + releaseVersion: 0.1.0-beta.3 + configChecksum: 5b3f662338f0e1c8be5b42990790f7ea repoURL: https://github.com/gleanwork/api-client-typescript.git installationURL: https://github.com/gleanwork/api-client-typescript published: true @@ -526,6 +526,7 @@ generatedFiles: - docs/models/errors/collectionerror.md - docs/models/errors/gleandataerror.md - docs/models/operations/chatrequest.md + - docs/models/operations/chatstreamrequest.md - docs/models/operations/deleteallchatsrequest.md - docs/models/operations/deletechatfilesrequest.md - docs/models/operations/deletechatsrequest.md @@ -552,6 +553,7 @@ generatedFiles: - docs/sdks/chat/README.md - docs/sdks/client/README.md - docs/sdks/clientauthentication/README.md + - docs/sdks/clientchat/README.md - docs/sdks/clientdocuments/README.md - docs/sdks/clientshortcuts/README.md - docs/sdks/collections/README.md @@ -593,6 +595,7 @@ generatedFiles: - src/__tests__/indexingdocuments.test.ts - src/__tests__/insights.test.ts - src/__tests__/messages.test.ts + - src/__tests__/mockserver/.gitignore - src/__tests__/mockserver/Dockerfile - src/__tests__/mockserver/Makefile - src/__tests__/mockserver/README.md @@ -1072,6 +1075,7 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go - src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go - src/__tests__/mockserver/internal/sdk/models/operations/chat.go + - src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go - src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go - src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go - src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go @@ -1194,6 +1198,7 @@ generatedFiles: - src/funcs/agentsGetagentinputs.ts - src/funcs/agentsListagents.ts - src/funcs/agentsRunagent.ts + - src/funcs/chatChatStream.ts - src/funcs/clientActivitiesReportActivity.ts - src/funcs/clientActivityReport.ts - src/funcs/clientAnnouncementsCreate.ts @@ -1682,6 +1687,7 @@ generatedFiles: - src/models/errors/index.ts - src/models/errors/sdkvalidationerror.ts - src/models/operations/chat.ts + - src/models/operations/chatstream.ts - src/models/operations/deleteallchats.ts - src/models/operations/deletechatfiles.ts - src/models/operations/deletechats.ts @@ -1706,6 +1712,7 @@ generatedFiles: - src/react-query/agentsGetagentinputs.ts - src/react-query/agentsListagents.ts - src/react-query/agentsRunagent.ts + - src/react-query/chatChatStream.ts - src/react-query/clientActivitiesReportActivity.ts - src/react-query/clientActivityReport.ts - src/react-query/clientAnnouncementsCreate.ts @@ -1807,6 +1814,7 @@ generatedFiles: - src/sdk/chat.ts - src/sdk/client.ts - src/sdk/clientauthentication.ts + - src/sdk/clientchat.ts - src/sdk/clientdocuments.ts - src/sdk/clientshortcuts.ts - src/sdk/collections.ts @@ -2067,30 +2075,35 @@ examples: responses: "200": text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"hasMoreFragments\":false,\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"There are no holidays!\"}]}]}" + application/json: {"messages": [{"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"text": "There are no holidays!"}], "messageType": "CONTENT", "hasMoreFragments": false}]} gptAgentExample: requestBody: application/json: {"messages": [{"author": "USER", "fragments": [{"text": "Who was the first person to land on the moon?"}], "messageType": "CONTENT"}], "agentConfig": {"agent": "GPT"}} responses: "200": text/plain: "" + application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 17211, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 956313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 564119, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 390957, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 766096, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 192036, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 367193, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 870588, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 431695, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}, {}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VERIFIER"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 511880}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 303262}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 483722}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 529565}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 242479}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "wherever authentic lock ugh unto where culminate perp gloomy meaningfully", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 173895, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "those yowza telescope furthermore outgoing stuff oof", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 716554, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 117265, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "DOCUMENT"}, {"collectionId": 740830, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "DOCUMENT"}, {"collectionId": 565402, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "DOCUMENT"}]}, {"name": "", "description": "pile ouch as that next ew appropriate", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 24184, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "apropos convalesce digitize", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 773426, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "round throughout fledgling optimistically though vivaciously folklore accept quash reboot", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 497835, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}], "relatedQuestion": {"ranges": [{"startIndex": 191226, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 110082, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 209425, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 911794}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 989628}}}, "board": {"name": "", "description": "scorn for hm psst uncover crossly even", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 537726, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "triangular out hose", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 881564, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "overcharge reprimand stock repentant ha liquid daily practical", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 127565, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Linnea2", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "backendTimeMillis": 1100} streamingExample: requestBody: application/json: {"messages": [], "timeoutMillis": 30000} responses: "200": text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"e are\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"no hol\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":false},\"fragments\":[{\"text\":\"idays!\"}]}]}" + application/json: {"messages": [{"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": false, "numLikes": 732540}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 296259}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 655140}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 860800}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "quarrel a incidentally till simple supposing towards birdbath", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 899404, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "behind brr amidst finer psst", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 198267, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 658846, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "COLLECTION"}]}, {"name": "", "description": "gosh instead zowie banish makeover provided", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 857605, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"name": "", "description": "bogus foot red sock bouncy firm common", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 733186, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "zowie communicate equate sundae inventory", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 934521, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "commonly regal oof apud ugh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 746473, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}], "relatedQuestion": {"ranges": [{"startIndex": 984688, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 212170, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 133001, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Abraham21", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 871576}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 494578}}}, "board": {"name": "", "description": "reproach sup pfft supportive where awareness charter toaster enlist", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 653084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "iterate upward lest unsightly brr slump supposing", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345668, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "sanity anti likewise boo", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 740390, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 560485}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 109121}}}, "board": {"name": "", "description": "conclude astride suitcase", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 811323, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "likewise jealous whereas energetically provision angrily via enthusiastically", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 208342, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "however pish evenly for above even qua pliers", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 245468, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Madie_Kirlin", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 158562}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 994713}}}, "board": {"name": "", "description": "whole well duh bell sedately plump spice yahoo gadzooks", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 950095, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "whether disclosure scarper kick whereas reflecting impressive tut", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 478674, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "ick before duh solace silky delirious an upliftingly however finally", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 493680, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Lon_Stiedemann", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"text": "e are"}], "messageType": "CONTENT"}, {"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"text": "no hol"}], "messageType": "CONTENT"}, {"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"text": "idays!"}], "messageType": "CONTENT"}]} updateResponse: requestBody: application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 956313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 903537, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 390957, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 192036, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 898116, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 367193, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VERIFIER"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": false, "numLikes": 798102}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 431101}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 451468}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 404887}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 961967}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "not meh surprisingly too like embed dreamily verbally casement with", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 756840, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "huzzah joshingly awesome gosh loose mythology healthily sniff silently who", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 323772, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 161479, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "DOCUMENT"}, {"collectionId": 669430, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "COLLECTION"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "groupAttendees": []}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "daily forecast rapidly urgently slipper meh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 308354, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "children": []}, "answerBoard": {"name": "", "description": "frantically highlight thunderbolt defrag aside stitcher furthermore zealous", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 87875, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}], "relatedQuestion": {"ranges": [{"startIndex": 681743, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "mergedCustomers": [], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 283565}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 733525}}}, "board": {"name": "", "description": "when oof mild apud without but how", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 207708, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "book drat given boom luck sneak throughout gee for silently", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 25909, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "co-producer obedient until qua but wretched", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 628136, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Jarrell_Hudson65", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 578365}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 216035}}}, "board": {"name": "", "description": "degrease past whether", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 697791, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "unless around through profane cool duh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 10950, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "nearly brr behind brr amidst finer psst however", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 129703, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 620717}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 832346}}}, "board": {"name": "", "description": "instead blind substantiate hence toward self-assured cheerfully tame", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 673860, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "unless how inventory pro hydrocarbon meh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 177085, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "incidentally via gastropod come supposing hidden big", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 41940, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 164461}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 284280}}}, "board": {"name": "", "description": "whisper brr wavy by boohoo that duh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 601321, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "where awareness charter toaster enlist whose soon parody trial", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 559167, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "brr slump supposing fisherman gah obediently without above nectarine hence", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 608267, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Bertha.Koepp", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 546554}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 742244}}}, "board": {"name": "", "description": "via before lest up profitable since past ugh guard", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 22098, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "questioningly uncommon forgather", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 952872, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "urgently over version", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 682198, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 655401}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 450213}}}, "board": {"name": "", "description": "co-producer golden cluttered whoa wherever ack tuber secret", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 352739, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "how redevelop whenever concerning excitable upwardly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 768137, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "busily tame untidy for", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 938658, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 227072}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 250270}}}, "board": {"name": "", "description": "consequently arraign light gah parallel", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 509621, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "but entomb who pish subtle failing worse whoa", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 665042, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "bin thrifty dislocate if ignite whereas", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 959798, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Sheridan.Koss71", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 725921, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 154480, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 87684, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 826889, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 403161, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 188061, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 438785}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 464832}}}, "board": {"name": "", "description": "yet vista yearly uh-huh give qua pigsty furlough questionable", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 90043, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "dispose next department lined always ah", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 896130, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "and bah best igloo circa when wasteful", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 706933, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 960539}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 18278}}}, "board": {"name": "", "description": "fairly to oh oxidise even anenst knowledgeably manage apud madly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 488276, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "cleverly triumphantly masculinize velocity pish graft annex ack", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 365182, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "phooey pinstripe however bogus boo yuck ack industrialize", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 579719, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 322674}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 330113}}}, "board": {"name": "", "description": "blue wildly deceivingly an wherever diligently till", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 973773, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "gosh eulogise wherever as", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 403706, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "apud gah radiant brr ugh if than concrete", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 470545, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Zoe8", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 49085}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 586369}}}, "board": {"name": "", "description": "um palate unless kowtow", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 698307, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "supplier teeming cricket continually times impish sleepily strait", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 671477, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "unto kissingly throughout", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 296945, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 643804}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 433807}}}, "board": {"name": "", "description": "as disadvantage whimsical endow er upon what yowza hmph", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 854005, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "afore stuff laughter whose save outstanding laughter like", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 901896, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "soliloquy queasily since athwart deny brush guest yum wedge amidst", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 789668, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 695761}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 975555}}}, "board": {"name": "", "description": "jaywalk floodlight large large vein gah when than fiercely", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 76569, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "frightfully silently hm because utterly queasily", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 14027, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "barge young provision where yum for really fit", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 135369, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Caterina70", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "timeoutMillis": 30000} responses: "200": text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"UPDATE\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"**Reading:**\"},{\"structuredResults\":[{\"document\":{\"id\":\"123\",\"title\":\"Company Handbook\"}}]}]}]}" + application/json: {"messages": [{"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "fragments": [{"text": "**Reading:**"}, {"structuredResults": [{"document": {"id": "123", "title": "Company Handbook"}}]}], "messageType": "UPDATE"}]} citationResponse: requestBody: application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 585176, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 1183, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 37229, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 908247, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 96507, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 294779}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 70805}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 881610}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "slip receptor fork", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 71022, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "huzzah wherever until soggy yum flame", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 500277, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 75673, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "TEXT"}, {"collectionId": 481716, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "URL"}, {"collectionId": 724052, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "TEXT"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "groupAttendees": []}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "notarize equally hospitable", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 889117, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "children": []}, "answerBoard": {"name": "", "description": "e-mail outstanding among voluntarily fooey badly beautifully", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 900364, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}], "relatedQuestion": {"ranges": [{"startIndex": 650976, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Jamil_Koss", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "mergedCustomers": [], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 917698}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 725219}}}, "board": {"name": "", "description": "ick besides under", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 775522, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "opposite mantua passionate scornful pfft longingly worth", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 440618, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "phooey unabashedly gosh while", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 114196, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 324616}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 588414}}}, "board": {"name": "", "description": "reproach executor or above instructive unlike toothbrush", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 31567, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "mid celebrate sure-footed yippee confused", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 785191, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "hm grandiose inspect depart per", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 330829, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Julien_Okuneva", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 931681}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 355340}}}, "board": {"name": "", "description": "whoa brr quintuple internalize finally", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 515254, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "barring bouncy valentine happily gleaming gah the wide-eyed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 694295, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "unto ah vanadyl sans behind chromakey reschedule whenever grubby switchboard", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 921159, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 463844}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 164273}}}, "board": {"name": "", "description": "after however queasily", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 314121, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "below ascribe successfully bah square silver guest ferret recovery", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 348507, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "above till outside oof around", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 324997, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Eulalia31", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 164438, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 770993, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 411755, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 840445, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 616977, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 463416, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 400345}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 425591}}}, "board": {"name": "", "description": "oh gladly hence silky psst ick nor ouch boohoo haversack", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 336665, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "yet true forceful barring shakily straw fake reprimand hmph considering", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 356250, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "trivial gallivant yet attribute", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 267500, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 522768}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 649740}}}, "board": {"name": "", "description": "where from instructor consequently", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 14170, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "entomb willfully why yearly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 666489, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "fortunately black mmm drat lawmaker oof banish failing", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 397246, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Eladio82", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 987589}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 347671}}}, "board": {"name": "", "description": "awareness like when qua vibraphone obsess flame hm step-mother so", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 788904, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "lovingly conclude wildly baa even tremendously", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 613074, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "repeat a rapidly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 551428, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Jeanne52", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 37194}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 542647}}}, "board": {"name": "", "description": "beneath for ack hastily hotfoot frenetically bleach mid solemnly if", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 498380, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "if qua behind miserably", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 606396, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "than whether opposite since stay brightly hygienic as or", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 312881, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Naomie.Corkery", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "timeoutMillis": 30000} responses: "200": text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"citations\":[{\"sourceDocument\":{\"id\":\"123\",\"title\":\"Company Handbook\",\"referenceRanges\":[{\"textRange\":{\"startIndex\":0,\"endIndex\":12,\"type\":\"CITATION\"}}]}}]}]}" + application/json: {"messages": [{"agentConfig": {"agent": "DEFAULT", "mode": "DEFAULT"}, "author": "GLEAN_AI", "citations": [{"sourceDocument": {"id": "123", "title": "Company Handbook"}}], "messageType": "CONTENT"}]} deleteallchats: {} deletechats: speakeasy-default-deletechats: @@ -2780,6 +2793,37 @@ examples: responses: "200": application/json; charset=UTF-8: {"status": {"isActiveUser": true, "uploadStatus": "UPLOADED", "lastUploadedAt": "2021-08-06T17:58:01.000Z"}} + chatStream: + defaultExample: + requestBody: + application/json: {"messages": [{"author": "USER", "fragments": [{"text": "What are the company holidays this year?"}], "messageType": "CONTENT"}]} + responses: + "200": + text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"hasMoreFragments\":false,\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"There are no holidays!\"}]}]}" + gptAgentExample: + requestBody: + application/json: {"messages": [{"author": "USER", "fragments": [{"text": "Who was the first person to land on the moon?"}], "messageType": "CONTENT"}], "agentConfig": {"agent": "GPT"}} + responses: + "200": + text/plain: "" + streamingExample: + requestBody: + application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 862990, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 412595, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 102908, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 81511, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 808534, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 413469, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}, {}], "displayable": true}, {"label": "", "values": [], "displayable": true}, {"label": "", "values": [], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": false, "numLikes": 705667}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 84865}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 48668}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 56070}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "till woefully fun", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 805126, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "woot fatally lest swordfish gnash", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 310232, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 25560, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "gadzooks worth epic angrily softly inventory multicolored", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 719865, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "gleaming ashamed joshingly tabulate sermon follower inferior circumference meh a", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 55438, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}], "relatedQuestion": {"ranges": [{"startIndex": 8375, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 334592, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 19408}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 112870}}}, "board": {"name": "", "description": "in circa exonerate super because tomb", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 577759, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "harmful gracefully obedience even battle", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 218886, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "government since intensely orchestrate out frightfully popularize via and", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 2349, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Joannie36", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 386546, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 699543, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 848496, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 429330}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 34032}}}, "board": {"name": "", "description": "intermarry hmph yippee sup instead kiddingly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 905280, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "gee how compassionate reborn for black-and-white eek where probate", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 410990, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "yuck woot mockingly pretend", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 676904, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 613137}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 710384}}}, "board": {"name": "", "description": "who airman sedately unethically", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 96303, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "legal across abseil", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 429158, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "aha via adumbrate sermon pleasant that fooey self-confidence blah", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 426551, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Floyd_Hammes29", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 889261}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 501653}}}, "board": {"name": "", "description": "pro govern footrest", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 235080, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "know even supposing impeccable authorized excitable sizzling woot", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 201835, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "goat fellow ugh well-to-do", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 979915, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Jackson_Rogahn", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 483593}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 96799}}}, "board": {"name": "", "description": "towards ick gnash whoa", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 9497, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "or softly failing uh-huh likely till lampoon so ad tall", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 962880, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "turbulent impanel simplistic telescope", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 381524, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 384680}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 190833}}}, "board": {"name": "", "description": "ick magnetize weight delirious unique", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 813866, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "shrilly suburban whoa frequent until tough integer or necklace", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 746672, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "guzzle tame cruelty pfft between fast", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 269444, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 670677}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 664037}}}, "board": {"name": "", "description": "contrail yippee aboard", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 113751, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "cooperative incidentally broadcast rust incandescence when excluding per brave", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 605989, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "inasmuch educated who", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 248708, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Cecile69", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 494034, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 148252}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 502543}}}, "board": {"name": "", "description": "damaged solution determined warlike thoroughly ick unlike absent duh aha", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 265373, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "pulverize pish cannibalise while yum meh", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 38584, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "pro duh intent instructor along plus hyena obnoxiously pish", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 374840, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 108510}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 669444}}}, "board": {"name": "", "description": "of ugh yet gosh indeed incidentally now", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 814097, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "sway help scale wherever kookily", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 885681, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "alongside electrify enfold", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 559079, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 762730}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 470771}}}, "board": {"name": "", "description": "discrete up than amid opera hollow", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 698044, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "sew vice meh healthily synthesise royal woot generally afterwards ravioli", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 496695, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "potentially among where signature aw", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 450944, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Perry37", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 311227}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 915643}}}, "board": {"name": "", "description": "jaywalk heartache asset overdub separately brave aw barring", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 29494, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "lasting fooey a officially duh cautiously cork impolite comparison tremendously", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 316973, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "yum expensive how demob as but self-reliant", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 980870, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 841017}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 375271}}}, "board": {"name": "", "description": "astride usable finally bleakly hunt slip", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 166864, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "marathon hose nor what toe solemnly or worth", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 69036, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "phony transom juvenile dreamily apud", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 826207, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 531511}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 483765}}}, "board": {"name": "", "description": "but hmph next fooey wherever brr", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 989207, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "rust stunning next executor christen sew", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 247100, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "innocently flame lender doing gently capsize grown loosely yowza finally", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 257840, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Billy.Bosco", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "timeoutMillis": 30000} + responses: + "200": + text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"e are\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"no hol\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":false},\"fragments\":[{\"text\":\"idays!\"}]}]}" + updateResponse: + requestBody: + application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 347627, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}, {"textRange": {"startIndex": 916108, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"snippet": "snippet", "mimeType": "mimeType"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}, {}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "VIEWER"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": false, "numLikes": 303935}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 293217}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 134055}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 795702}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "board": {"name": "", "description": "orange gracefully or", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 527117, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "collections": [{"name": "", "description": "refer rightfully zowie or utterly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 600569, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 110005, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "COLLECTION"}, {"collectionId": 619608, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "URL"}, {"collectionId": 730125, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "itemType": "COLLECTION"}]}, {"name": "", "description": "against lovely fake absent quadruple midst warmly after uh-huh fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 75996, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"name": "", "description": "rightfully besides helpfully gloomy", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 319211, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "stock peaceful jovially qua potentially furiously", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 867042, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "lest greatly behest molasses alienated severe consistency at", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 913408, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}}], "relatedQuestion": {"ranges": [{"startIndex": 545847, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 346754, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, {"startIndex": 670598, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Yasmin_King", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 322715}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 332517}}}, "board": {"name": "", "description": "considering sympathetically legitimize viciously duh unzip almost", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 85678, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "armchair narrate reboot hunger scary mostly", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 10772, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "downshift basket dreamily joshingly positively between wearily unearth", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 666334, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": false, "numLikes": 836539}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 353250}}}, "board": {"name": "", "description": "majestic boo beside gah too", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 490163, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "kookily blah dock now splendid per mmm", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 104947, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "aboard since beneath subtract above faithfully whose under necessary", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 704479, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light."}, "likes": {"likedBy": [], "likedByUser": true, "numLikes": 521993}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 208193}}}, "board": {"name": "", "description": "yowza know legitimize surge deafening", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 872572, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar"}}, "meeting": {"attendees": {}}, "collection": {"name": "", "description": "rejigger grouchy outflank comparison yowza gadzooks invite through", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 142936, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "answerBoard": {"name": "", "description": "bide till whose prestigious shimmering aha hype uselessly stake", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 992060, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "querySuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedQuestion": {}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "ACTION", "name": "", "displayName": "Jeffrey97", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "timeoutMillis": 30000} + responses: + "200": + text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"UPDATE\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"**Reading:**\"},{\"structuredResults\":[{\"document\":{\"id\":\"123\",\"title\":\"Company Handbook\"}}]}]}]}" + citationResponse: + requestBody: + application/json: {"messages": [], "timeoutMillis": 30000} + responses: + "200": + text/plain: "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"citations\":[{\"sourceDocument\":{\"id\":\"123\",\"title\":\"Company Handbook\",\"referenceRanges\":[{\"textRange\":{\"startIndex\":0,\"endIndex\":12,\"type\":\"CITATION\"}}]}}]}]}" examplesVersion: 1.0.1 generatedTests: activity: "2025-04-29T13:26:47+01:00" @@ -2865,3 +2909,4 @@ generatedTests: post_/api/index/v1/getdatasourceconfig: "2025-04-29T13:26:48+01:00" post_/api/index/v1/rotatetoken: "2025-04-29T13:26:48+01:00" post_/api/index/v1/processallemployeesandteams: "2025-04-29T13:26:48+01:00" + chatStream: "2025-05-02T23:44:19Z" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 92e6de73..8f7f286a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -24,7 +24,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true typescript: - version: 0.1.0-beta.2 + version: 0.1.0-beta.3 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 406ebe38..d154bb12 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -403,7 +403,7 @@ paths: "200": description: OK content: - text/plain: + application/json: schema: $ref: "#/components/schemas/ChatResponse" examples: @@ -3007,6 +3007,141 @@ paths: description: Conflict x-speakeasy-name-override: upload x-speakeasy-group: client.shortcuts + '/rest/api/v1/chat#stream': + post: + tags: + - Chat + summary: Chat + description: Have a conversation with Glean AI. + operationId: chatStream + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: '#/components/parameters/timezoneOffset' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ChatRequest' + examples: + defaultExample: + value: + messages: + - author: USER + messageType: CONTENT + fragments: + - text: What are the company holidays this year? + gptAgentExample: + value: + agentConfig: + agent: GPT + messages: + - author: USER + messageType: CONTENT + fragments: + - text: Who was the first person to land on the moon? + description: Includes chat history for Glean AI to respond to. + required: true + x-exportParamName: Request + responses: + '200': + description: OK + content: + text/plain: + schema: + $ref: '#/components/schemas/ChatRequestStream' + examples: + defaultExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + hasMoreFragments: false + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: There are no holidays! + streamingExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: e are + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: no hol + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: false + fragments: + - text: idays! + updateResponse: + value: + messages: + - author: GLEAN_AI + messageType: UPDATE + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: '**Reading:**' + - structuredResults: + - document: + id: '123' + title: Company Handbook + citationResponse: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + citations: + - sourceDocument: + id: '123' + title: Company Handbook + referenceRanges: + - textRange: + startIndex: 0 + endIndex: 12 + type: CITATION + '400': + description: Invalid request + '401': + description: Not Authorized + '408': + description: Request Timeout + '429': + description: Too Many Requests components: securitySchemes: BearerAuth: @@ -10837,6 +10972,49 @@ components: instanceDescription: type: string description: A human readable string identifying this instance as compared to its peers, e.g. "github.com/askscio" or "github.askscio.com" + ChatRequestStream: + required: + - messages + properties: + saveChat: + type: boolean + description: >- + Save the current interaction as a Chat for the user to access and potentially continue later. + chatId: + type: string + description: >- + The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true. + messages: + type: array + description: >- + A list of chat messages, from most recent to least recent. It can be assumed that the first chat message in the list is the user's most recent query. + items: + $ref: '#/components/schemas/ChatMessage' + agentConfig: + $ref: '#/components/schemas/AgentConfig' + description: Describes the agent that will execute the request. + inclusions: + $ref: '#/components/schemas/ChatRestrictionFilters' + description: >- + A list of filters which only allows chat to access certain content. + exclusions: + $ref: '#/components/schemas/ChatRestrictionFilters' + description: >- + A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded. + timeoutMillis: + type: integer + description: >- + Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. + example: 30000 + applicationId: + type: string + description: >- + The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. + stream: + type: boolean + description: >- + If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be. + default: true parameters: timezoneOffset: name: timezoneOffset diff --git a/.speakeasy/tests.arazzo.yaml b/.speakeasy/tests.arazzo.yaml index cfdb8e50..5afa2268 100644 --- a/.speakeasy/tests.arazzo.yaml +++ b/.speakeasy/tests.arazzo.yaml @@ -93697,3 +93697,4522 @@ workflows: successCriteria: - condition: $statusCode == 200 x-speakeasy-test-group: people + - workflowId: chatStream-defaultExample + steps: + - stepId: test + operationId: chatStream + requestBody: + contentType: application/json + payload: + messages: + - author: USER + fragments: + - text: What are the company holidays this year? + messageType: CONTENT + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == text/plain + - context: $response.body + condition: | + "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"hasMoreFragments\":false,\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"There are no holidays!\"}]}]}" + type: simple + x-speakeasy-test-group: Chat + - workflowId: chatStream-gptAgentExample + steps: + - stepId: test + operationId: chatStream + requestBody: + contentType: application/json + payload: + agentConfig: + agent: GPT + messages: + - author: USER + fragments: + - text: Who was the first person to land on the moon? + messageType: CONTENT + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == text/plain + - context: $response.body + condition: | + "\u003cvalue\u003e" + type: simple + x-speakeasy-test-group: Chat + - workflowId: chatStream-streamingExample + steps: + - stepId: test + operationId: chatStream + requestBody: + contentType: application/json + payload: + messages: + - author: USER + citations: + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 862990 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 412595 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 102908 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 81511 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 808534 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 413469 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + fragments: + - action: + metadata: + displayDescription: + displayName: Joannie36 + name: + objectName: '["HR ticket","Email","Chat message"]' + type: RETRIEVAL + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + addedRoles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: OWNER + - person: + name: George Clooney + obfuscatedId: abc123 + role: ANSWER_MODERATOR + - person: + name: George Clooney + obfuscatedId: abc123 + role: EDITOR + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: till woefully fun + id: 805126 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + collections: + - audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: woot fatally lest swordfish gnash + id: 310232 + items: + - collectionId: 25560 + createdBy: + name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + itemType: URL + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + combinedAnswerText: + structuredList: + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + link: https://en.wikipedia.org/wiki/Diffuse_sky_radiation + text: Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue. + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + link: https://en.wikipedia.org/wiki/Diffuse_sky_radiation + text: Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue. + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: + - user: + name: George Clooney + obfuscatedId: abc123 + - user: + name: George Clooney + obfuscatedId: abc123 + likedByUser: false + numLikes: 705667 + question: Why is the sky blue? + removedRoles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: VIEWER + - person: + name: George Clooney + obfuscatedId: abc123 + role: VERIFIER + - person: + name: George Clooney + obfuscatedId: abc123 + role: ANSWER_MODERATOR + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + candidateVerifiers: + - name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 56070 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + reminders: + - assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 84865 + requestor: + name: George Clooney + obfuscatedId: abc123 + - assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 48668 + requestor: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: gleaming ashamed joshingly tabulate sermon follower inferior circumference meh a + id: 55438 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: gadzooks worth epic angrily softly inventory multicolored + id: 719865 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: + roles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: VERIFIER + - person: + name: George Clooney + obfuscatedId: abc123 + role: VERIFIER + - person: + name: George Clooney + obfuscatedId: abc123 + role: EDITOR + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + poc: + - name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: + people: + - person: + name: George Clooney + obfuscatedId: abc123 + - person: + name: George Clooney + obfuscatedId: abc123 + - person: + name: George Clooney + obfuscatedId: abc123 + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + suggestions: + - datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + relatedDocuments: + - querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + results: + - nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + relatedQuestion: + ranges: + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 8375 + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 334592 + team: + canBeDeleted: true + customFields: + - displayable: true + label: + values: + - {} + - {} + - displayable: true + label: + values: [] + - displayable: true + label: + values: [] + datasourceProfiles: + - datasource: github + handle: + id: + members: + - person: + name: George Clooney + obfuscatedId: abc123 + relationship: MEMBER + - person: + name: George Clooney + obfuscatedId: abc123 + relationship: MEMBER + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: in circa exonerate super because tomb + id: 577759 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 19408 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 112870 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: UNVERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: government since intensely orchestrate out frightfully popularize via and + id: 2349 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: harmful gracefully obedience even battle + id: 218886 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + messageType: CONTENT + - author: USER + citations: + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 386546 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 699543 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 848496 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + fragments: + - action: + metadata: + displayDescription: + displayName: Floyd_Hammes29 + name: + objectName: '["HR ticket","Email","Chat message"]' + type: ACTION + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: intermarry hmph yippee sup instead kiddingly + id: 905280 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 429330 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 34032 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: yuck woot mockingly pretend + id: 676904 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: gee how compassionate reborn for black-and-white eek where probate + id: 410990 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: who airman sedately unethically + id: 96303 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 613137 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 710384 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: aha via adumbrate sermon pleasant that fooey self-confidence blah + id: 426551 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: legal across abseil + id: 429158 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - action: + metadata: + displayDescription: + displayName: Jackson_Rogahn + name: + objectName: '["HR ticket","Email","Chat message"]' + type: RETRIEVAL + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: pro govern footrest + id: 235080 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 889261 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 501653 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: goat fellow ugh well-to-do + id: 979915 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: know even supposing impeccable authorized excitable sizzling woot + id: 201835 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - action: + metadata: + displayDescription: + displayName: Cecile69 + name: + objectName: '["HR ticket","Email","Chat message"]' + type: RETRIEVAL + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: towards ick gnash whoa + id: 9497 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 483593 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 96799 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: turbulent impanel simplistic telescope + id: 381524 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: or softly failing uh-huh likely till lampoon so ad tall + id: 962880 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: ick magnetize weight delirious unique + id: 813866 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 384680 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 190833 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: guzzle tame cruelty pfft between fast + id: 269444 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: shrilly suburban whoa frequent until tough integer or necklace + id: 746672 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: contrail yippee aboard + id: 113751 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 670677 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 664037 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: inasmuch educated who + id: 248708 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: cooperative incidentally broadcast rust incandescence when excluding per brave + id: 605989 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + messageType: CONTENT + - author: USER + citations: + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 494034 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + fragments: + - action: + metadata: + displayDescription: + displayName: Perry37 + name: + objectName: '["HR ticket","Email","Chat message"]' + type: ACTION + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: damaged solution determined warlike thoroughly ick unlike absent duh aha + id: 265373 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 148252 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 502543 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: pro duh intent instructor along plus hyena obnoxiously pish + id: 374840 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: pulverize pish cannibalise while yum meh + id: 38584 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: of ugh yet gosh indeed incidentally now + id: 814097 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 108510 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 669444 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: UNVERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: alongside electrify enfold + id: 559079 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: sway help scale wherever kookily + id: 885681 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: discrete up than amid opera hollow + id: 698044 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 762730 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 470771 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: VERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: potentially among where signature aw + id: 450944 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: sew vice meh healthily synthesise royal woot generally afterwards ravioli + id: 496695 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + id: + name: + status: PROCESSED + - action: + metadata: + displayDescription: + displayName: Billy.Bosco + name: + objectName: '["HR ticket","Email","Chat message"]' + type: RETRIEVAL + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: jaywalk heartache asset overdub separately brave aw barring + id: 29494 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 311227 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 915643 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: UNVERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: yum expensive how demob as but self-reliant + id: 980870 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: lasting fooey a officially duh cautiously cork impolite comparison tremendously + id: 316973 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: astride usable finally bleakly hunt slip + id: 166864 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 841017 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 375271 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: phony transom juvenile dreamily apud + id: 826207 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: marathon hose nor what toe solemnly or worth + id: 69036 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: but hmph next fooey wherever brr + id: 989207 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 531511 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 483765 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: innocently flame lender doing gently capsize grown loosely yowza finally + id: 257840 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: rust stunning next executor christen sew + id: 247100 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + messageType: CONTENT + timeoutMillis: 30000 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == text/plain + - context: $response.body + condition: | + "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":null},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"e are\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":true},\"fragments\":[{\"text\":\"no hol\"}]},{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\",\"hasMoreFragments\":false},\"fragments\":[{\"text\":\"idays!\"}]}]}" + type: simple + x-speakeasy-test-group: Chat + - workflowId: chatStream-updateResponse + steps: + - stepId: test + operationId: chatStream + requestBody: + contentType: application/json + payload: + messages: + - author: USER + citations: + - referenceRanges: + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 347627 + - snippets: + - mimeType: mimeType + snippet: snippet + textRange: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 916108 + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + sourceFile: + id: FILE_1234 + name: sample.pdf + url: www.google.com + sourcePerson: + name: George Clooney + obfuscatedId: abc123 + fragments: + - action: + metadata: + displayDescription: + displayName: Yasmin_King + name: + objectName: '["HR ticket","Email","Chat message"]' + type: RETRIEVAL + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + addedRoles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: EDITOR + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: orange gracefully or + id: 527117 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + collections: + - audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: refer rightfully zowie or utterly + id: 600569 + items: + - collectionId: 110005 + createdBy: + name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + itemType: COLLECTION + - collectionId: 619608 + createdBy: + name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + itemType: URL + - collectionId: 730125 + createdBy: + name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + itemType: COLLECTION + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + - audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: against lovely fake absent quadruple midst warmly after uh-huh fooey + id: 75996 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + - audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: rightfully besides helpfully gloomy + id: 319211 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + combinedAnswerText: + structuredList: + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + link: https://en.wikipedia.org/wiki/Diffuse_sky_radiation + text: Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue. + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: + - user: + name: George Clooney + obfuscatedId: abc123 + - user: + name: George Clooney + obfuscatedId: abc123 + - user: + name: George Clooney + obfuscatedId: abc123 + likedByUser: false + numLikes: 303935 + question: Why is the sky blue? + removedRoles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: EDITOR + - person: + name: George Clooney + obfuscatedId: abc123 + role: ANSWER_MODERATOR + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + candidateVerifiers: + - name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 795702 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + reminders: + - assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 293217 + requestor: + name: George Clooney + obfuscatedId: abc123 + - assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 134055 + requestor: + name: George Clooney + obfuscatedId: abc123 + state: UNVERIFIED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: lest greatly behest molasses alienated severe consistency at + id: 913408 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: stock peaceful jovially qua potentially furiously + id: 867042 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: + roles: + - person: + name: George Clooney + obfuscatedId: abc123 + role: VIEWER + - person: + name: George Clooney + obfuscatedId: abc123 + role: VIEWER + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + poc: + - name: George Clooney + obfuscatedId: abc123 + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: + people: + - person: + name: George Clooney + obfuscatedId: abc123 + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + suggestions: + - datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + relatedDocuments: + - querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + results: + - nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + - querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + - querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + relatedQuestion: + ranges: + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 545847 + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 346754 + - document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + startIndex: 670598 + team: + canBeDeleted: true + customFields: + - displayable: true + label: + values: + - {} + - {} + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + members: + - person: + name: George Clooney + obfuscatedId: abc123 + relationship: MEMBER + - person: + name: George Clooney + obfuscatedId: abc123 + relationship: MEMBER + name: + status: PROCESSED + - action: + metadata: + displayDescription: + displayName: Jeffrey97 + name: + objectName: '["HR ticket","Email","Chat message"]' + type: ACTION + file: + id: FILE_1234 + name: sample.pdf + url: www.google.com + querySuggestion: + datasource: github + label: Mortimer's PRs + query: app:github type:pull author:mortimer + structuredResults: + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: considering sympathetically legitimize viciously duh unzip almost + id: 85678 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 322715 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 332517 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: downshift basket dreamily joshingly positively between wearily unearth + id: 666334 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: armchair narrate reboot hunger scary mostly + id: 10772 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: majestic boo beside gah too + id: 490163 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: false + numLikes: 836539 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 353250 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: aboard since beneath subtract above faithfully whose under necessary + id: 704479 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: kookily blah dock now splendid per mmm + id: 104947 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + - datasource: github + handle: + id: + name: + status: PROCESSED + - answer: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + author: + name: George Clooney + obfuscatedId: abc123 + board: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: yowza know legitimize surge deafening + id: 872572 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + bodyText: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + combinedAnswerText: + text: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + docId: ANSWERS_answer_3 + id: 3 + likes: + likedBy: [] + likedByUser: true + numLikes: 521993 + question: Why is the sky blue? + sourceDocument: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + updatedBy: + name: George Clooney + obfuscatedId: abc123 + verification: + metadata: + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + lastReminder: + assignee: + name: George Clooney + obfuscatedId: abc123 + remindAt: 208193 + requestor: + name: George Clooney + obfuscatedId: abc123 + lastVerifier: + name: George Clooney + obfuscatedId: abc123 + state: DEPRECATED + answerBoard: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: bide till whose prestigious shimmering aha hype uselessly stake + id: 992060 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + code: + fileName: README.md + repoName: scio + collection: + audienceFilters: + - fieldName: type + values: + - relationType: EQUALS + value: Spreadsheet + - relationType: EQUALS + value: Presentation + creator: + name: George Clooney + obfuscatedId: abc123 + description: rejigger grouchy outflank comparison yowza gadzooks invite through + id: 142936 + name: + updatedBy: + name: George Clooney + obfuscatedId: abc123 + customEntity: {} + customer: + company: + about: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + industry: Finances + location: New York City + name: + id: + notes: CIO is interested in trying out the product. + document: + metadata: + author: + name: name + obfuscatedId: + components: + - Backend + - Networking + container: container + createTime: "2000-01-23T04:56:07.000Z" + customData: + someCustomField: {} + datasource: datasource + documentId: documentId + mimeType: mimeType + objectType: Feature Request + parentId: JIRA_EN-1337 + status: '["Done"]' + updateTime: "2000-01-23T04:56:07.000Z" + extractedQnA: + questionResult: + nativeAppUrl: slack://foo/bar + title: title + url: https://example.com/foo/bar + meeting: + attendees: {} + person: + name: George Clooney + obfuscatedId: abc123 + querySuggestions: + person: + name: George Clooney + obfuscatedId: abc123 + relatedQuestion: {} + team: + canBeDeleted: true + datasourceProfiles: + - datasource: github + handle: + id: + name: + status: PROCESSED + messageType: CONTENT + timeoutMillis: 30000 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == text/plain + - context: $response.body + condition: | + "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"UPDATE\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"fragments\":[{\"text\":\"**Reading:**\"},{\"structuredResults\":[{\"document\":{\"id\":\"123\",\"title\":\"Company Handbook\"}}]}]}]}" + type: simple + x-speakeasy-test-group: Chat + - workflowId: chatStream-citationResponse + steps: + - stepId: test + operationId: chatStream + requestBody: + contentType: application/json + payload: + messages: [] + timeoutMillis: 30000 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == text/plain + - context: $response.body + condition: | + "{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"citations\":[{\"sourceDocument\":{\"id\":\"123\",\"title\":\"Company Handbook\",\"referenceRanges\":[{\"textRange\":{\"startIndex\":0,\"endIndex\":12,\"type\":\"CITATION\"}}]}}]}]}" + type: simple + x-speakeasy-test-group: Chat diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ff32d104..4cf7b30e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.541.2 +speakeasyVersion: 1.542.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:e59caa20d4d5dab2366eb7288543c319c6bdd69d42b5e1046b2ae5eef23c0e8b - sourceBlobDigest: sha256:aad71d5ecd929901674d7801ef4b66de0408d24893c16e951f50ab664825a536 + sourceRevisionDigest: sha256:77ba8dfe98a54260347eb4107cd2f0d8073e2afb175c622a37f33a615487b52e + sourceBlobDigest: sha256:35e081c9ac808439a01395669a3dc4da7f177085b2a755cbdad2eefc14b21975 tags: - latest - - speakeasy-sdk-regen-1746110402 + - speakeasy-sdk-regen-1746148465 Glean Client API: sourceNamespace: glean-client-api sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301 @@ -18,10 +18,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:e59caa20d4d5dab2366eb7288543c319c6bdd69d42b5e1046b2ae5eef23c0e8b - sourceBlobDigest: sha256:aad71d5ecd929901674d7801ef4b66de0408d24893c16e951f50ab664825a536 + sourceRevisionDigest: sha256:77ba8dfe98a54260347eb4107cd2f0d8073e2afb175c622a37f33a615487b52e + sourceBlobDigest: sha256:35e081c9ac808439a01395669a3dc4da7f177085b2a755cbdad2eefc14b21975 codeSamplesNamespace: glean-api-specs-typescript-code-samples - codeSamplesRevisionDigest: sha256:4cec0b90347490ec60e51d540f2cfea9b7faa87593f6ca18236e46091d99c50a + codeSamplesRevisionDigest: sha256:1b68055acfa63ddd548886f635cd9fff54ce69bfa68c802c3a672655852599f6 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index eaac1b45..f03c90f9 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,10 @@ run(); * [listagents](docs/sdks/agents/README.md#listagents) - Lists all agents. * [getagentinputs](docs/sdks/agents/README.md#getagentinputs) - Gets the inputs to an agent. +### [chat](docs/sdks/chat/README.md) + +* [chatStream](docs/sdks/chat/README.md#chatstream) - Chat + ### [client](docs/sdks/client/README.md) @@ -204,17 +208,17 @@ run(); * [createToken](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -#### [client.chat](docs/sdks/chat/README.md) +#### [client.chat](docs/sdks/clientchat/README.md) -* [start](docs/sdks/chat/README.md#start) - Chat -* [deleteAll](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user -* [delete](docs/sdks/chat/README.md#delete) - Deletes saved Chats -* [get](docs/sdks/chat/README.md#get) - Retrieves a Chat -* [list](docs/sdks/chat/README.md#list) - Retrieves all saved Chats -* [getApplication](docs/sdks/chat/README.md#getapplication) - Gets the metadata for a custom Chat application -* [uploadFiles](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat. -* [getFiles](docs/sdks/chat/README.md#getfiles) - Get files uploaded by a user for Chat. -* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat. +* [start](docs/sdks/clientchat/README.md#start) - Chat +* [deleteAll](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user +* [delete](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats +* [get](docs/sdks/clientchat/README.md#get) - Retrieves a Chat +* [list](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats +* [getApplication](docs/sdks/clientchat/README.md#getapplication) - Gets the metadata for a custom Chat application +* [uploadFiles](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat. +* [getFiles](docs/sdks/clientchat/README.md#getfiles) - Get files uploaded by a user for Chat. +* [deleteFiles](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat. #### [client.collections](docs/sdks/collections/README.md) @@ -368,6 +372,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`agentsGetagentinputs`](docs/sdks/agents/README.md#getagentinputs) - Gets the inputs to an agent. - [`agentsListagents`](docs/sdks/agents/README.md#listagents) - Lists all agents. - [`agentsRunagent`](docs/sdks/agents/README.md#runagent) - Runs an Agent. +- [`chatChatStream`](docs/sdks/chat/README.md#chatstream) - Chat - [`clientActivitiesReportActivity`](docs/sdks/activities/README.md#reportactivity) - Report client activity - [`clientActivityReport`](docs/sdks/activity/README.md#report) - Report document activity - [`clientAnnouncementsCreate`](docs/sdks/announcements/README.md#create) - Create Announcement @@ -379,15 +384,15 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`clientAnswersGet`](docs/sdks/answers/README.md#get) - Read Answer - [`clientAnswersList`](docs/sdks/answers/README.md#list) - List Answers - [`clientAuthenticationCreateToken`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`clientChatDelete`](docs/sdks/chat/README.md#delete) - Deletes saved Chats -- [`clientChatDeleteAll`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user -- [`clientChatDeleteFiles`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat. -- [`clientChatGet`](docs/sdks/chat/README.md#get) - Retrieves a Chat -- [`clientChatGetApplication`](docs/sdks/chat/README.md#getapplication) - Gets the metadata for a custom Chat application -- [`clientChatGetFiles`](docs/sdks/chat/README.md#getfiles) - Get files uploaded by a user for Chat. -- [`clientChatList`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats -- [`clientChatStart`](docs/sdks/chat/README.md#start) - Chat -- [`clientChatUploadFiles`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat. +- [`clientChatDelete`](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats +- [`clientChatDeleteAll`](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user +- [`clientChatDeleteFiles`](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat. +- [`clientChatGet`](docs/sdks/clientchat/README.md#get) - Retrieves a Chat +- [`clientChatGetApplication`](docs/sdks/clientchat/README.md#getapplication) - Gets the metadata for a custom Chat application +- [`clientChatGetFiles`](docs/sdks/clientchat/README.md#getfiles) - Get files uploaded by a user for Chat. +- [`clientChatList`](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats +- [`clientChatStart`](docs/sdks/clientchat/README.md#start) - Chat +- [`clientChatUploadFiles`](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat. - [`clientCollectionsAddItems`](docs/sdks/collections/README.md#additems) - Add Collection item - [`clientCollectionsCreate`](docs/sdks/collections/README.md#create) - Create Collection - [`clientCollectionsDelete`](docs/sdks/collections/README.md#delete) - Delete Collection @@ -493,6 +498,7 @@ To learn about this feature and how to get started, check - [`useAgentsGetagentinputsMutation`](docs/sdks/agents/README.md#getagentinputs) - Gets the inputs to an agent. - [`useAgentsListagentsMutation`](docs/sdks/agents/README.md#listagents) - Lists all agents. - [`useAgentsRunagentMutation`](docs/sdks/agents/README.md#runagent) - Runs an Agent. +- [`useChatChatStreamMutation`](docs/sdks/chat/README.md#chatstream) - Chat - [`useClientActivitiesReportActivityMutation`](docs/sdks/activities/README.md#reportactivity) - Report client activity - [`useClientActivityReportMutation`](docs/sdks/activity/README.md#report) - Report document activity - [`useClientAnnouncementsCreateMutation`](docs/sdks/announcements/README.md#create) - Create Announcement @@ -504,15 +510,15 @@ To learn about this feature and how to get started, check - [`useClientAnswersGetMutation`](docs/sdks/answers/README.md#get) - Read Answer - [`useClientAnswersListMutation`](docs/sdks/answers/README.md#list) - List Answers - [`useClientAuthenticationCreateTokenMutation`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`useClientChatDeleteAllMutation`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user -- [`useClientChatDeleteFilesMutation`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat. -- [`useClientChatDeleteMutation`](docs/sdks/chat/README.md#delete) - Deletes saved Chats -- [`useClientChatGetApplicationMutation`](docs/sdks/chat/README.md#getapplication) - Gets the metadata for a custom Chat application -- [`useClientChatGetFilesMutation`](docs/sdks/chat/README.md#getfiles) - Get files uploaded by a user for Chat. -- [`useClientChatGetMutation`](docs/sdks/chat/README.md#get) - Retrieves a Chat -- [`useClientChatListMutation`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats -- [`useClientChatStartMutation`](docs/sdks/chat/README.md#start) - Chat -- [`useClientChatUploadFilesMutation`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat. +- [`useClientChatDeleteAllMutation`](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user +- [`useClientChatDeleteFilesMutation`](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat. +- [`useClientChatDeleteMutation`](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats +- [`useClientChatGetApplicationMutation`](docs/sdks/clientchat/README.md#getapplication) - Gets the metadata for a custom Chat application +- [`useClientChatGetFilesMutation`](docs/sdks/clientchat/README.md#getfiles) - Get files uploaded by a user for Chat. +- [`useClientChatGetMutation`](docs/sdks/clientchat/README.md#get) - Retrieves a Chat +- [`useClientChatListMutation`](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats +- [`useClientChatStartMutation`](docs/sdks/clientchat/README.md#start) - Chat +- [`useClientChatUploadFilesMutation`](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat. - [`useClientCollectionsAddItemsMutation`](docs/sdks/collections/README.md#additems) - Add Collection item - [`useClientCollectionsCreateMutation`](docs/sdks/collections/README.md#create) - Create Collection - [`useClientCollectionsDeleteItemMutation`](docs/sdks/collections/README.md#deleteitem) - Delete Collection item diff --git a/RELEASES.md b/RELEASES.md index 1af38f2c..7ec55e34 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -28,4 +28,14 @@ Based on: ### Generated - [typescript v0.1.0-beta.2] . ### Releases -- [NPM v0.1.0-beta.2] https://www.npmjs.com/package/@gleanwork/api-client/v/0.1.0-beta.2 - . \ No newline at end of file +- [NPM v0.1.0-beta.2] https://www.npmjs.com/package/@gleanwork/api-client/v/0.1.0-beta.2 - . + +## 2025-05-02 23:43:23 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.542.0 (2.596.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.1.0-beta.3] . +### Releases +- [NPM v0.1.0-beta.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.1.0-beta.3 - . \ No newline at end of file diff --git a/docs/models/operations/chatstreamrequest.md b/docs/models/operations/chatstreamrequest.md new file mode 100644 index 00000000..6213bd8a --- /dev/null +++ b/docs/models/operations/chatstreamrequest.md @@ -0,0 +1,292 @@ +# ChatStreamRequest + +## Example Usage + +```typescript +import { ChatStreamRequest } from "@gleanwork/api-client/models/operations"; + +let value: ChatStreamRequest = { + chatRequest: { + messages: [ + { + citations: [ + { + sourceDocument: { + containerDocument: { + parentDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 951547, + document: {}, + }, + snippets: [ + { + snippet: "snippet", + mimeType: "mimeType", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: + "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [], + mergedCustomers: [], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [], + customFields: [], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: + "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [], + removedRoles: [], + combinedAnswerText: { + text: + "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [], + }, + likes: { + likedBy: [], + likedByUser: false, + numLikes: 344151, + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "DEPRECATED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + reminders: [], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 715899, + }, + candidateVerifiers: [], + }, + }, + board: { + name: "", + description: + "account thoughtfully redound unpleasant scornful yum instead", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 208769, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + collections: [], + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + mustIncludeSuggestions: {}, + }, + }, + meeting: { + attendees: { + people: [], + }, + }, + collection: { + name: "", + description: + "zowie faithfully calculating amidst lowball minus", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 669860, + items: [], + children: [], + }, + answerBoard: { + name: "", + description: + "longingly thyme weight volleyball alongside christen", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 217369, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + querySuggestions: { + suggestions: [], + }, + relatedDocuments: [], + relatedQuestion: { + ranges: [], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Sandrine78", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | \ No newline at end of file diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index 70426bac..0b5b2b08 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -1,21 +1,13 @@ # Chat -(*client.chat*) +(*chat*) ## Overview ### Available Operations -* [start](#start) - Chat -* [deleteAll](#deleteall) - Deletes all saved Chats owned by a user -* [delete](#delete) - Deletes saved Chats -* [get](#get) - Retrieves a Chat -* [list](#list) - Retrieves all saved Chats -* [getApplication](#getapplication) - Gets the metadata for a custom Chat application -* [uploadFiles](#uploadfiles) - Upload files for Chat. -* [getFiles](#getfiles) - Get files uploaded by a user for Chat. -* [deleteFiles](#deletefiles) - Delete files uploaded by a user for chat. +* [chatStream](#chatstream) - Chat -## start +## chatStream Have a conversation with Glean AI. @@ -29,7 +21,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.chat.start({ + const result = await glean.chat.chatStream({ messages: [ { fragments: [ @@ -54,7 +46,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatStart } from "@gleanwork/api-client/funcs/clientChatStart.js"; +import { chatChatStream } from "@gleanwork/api-client/funcs/chatChatStream.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -63,7 +55,7 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientChatStart(glean, { + const res = await chatChatStream(glean, { messages: [ { fragments: [ @@ -101,8 +93,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useClientChatStartMutation -} from "@gleanwork/api-client/react-query/clientChatStart.js"; + useChatChatStreamMutation +} from "@gleanwork/api-client/react-query/chatChatStream.js"; ``` ### Parameters @@ -121,758 +113,6 @@ import { ### Errors -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## deleteAll - -Deletes all saved Chats a user has had and all their contained conversational content. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - await glean.client.chat.deleteAll(); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDeleteAll } from "@gleanwork/api-client/funcs/clientChatDeleteAll.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatDeleteAll(glean); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteAllMutation -} from "@gleanwork/api-client/react-query/clientChatDeleteAll.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## delete - -Deletes saved Chats and all their contained conversational content. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - await glean.client.chat.delete({ - ids: [ - "", - "", - ], - }); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDelete } from "@gleanwork/api-client/funcs/clientChatDelete.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatDelete(glean, { - ids: [ - "", - "", - ], - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteMutation -} from "@gleanwork/api-client/react-query/clientChatDelete.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## get - -Retrieves the chat history between Glean Assistant and the user for a given Chat. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.get({ - id: "", - }); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatGet } from "@gleanwork/api-client/funcs/clientChatGet.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatGet(glean, { - id: "", - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatGetMutation -} from "@gleanwork/api-client/react-query/clientChatGet.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatResponse](../../models/components/getchatresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## list - -Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.list(); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatList } from "@gleanwork/api-client/funcs/clientChatList.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatList(glean); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatListMutation -} from "@gleanwork/api-client/react-query/clientChatList.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ListChatsResponse](../../models/components/listchatsresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## getApplication - -Gets the Chat application details for the specified application ID. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.getApplication({ - id: "", - }); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatGetApplication } from "@gleanwork/api-client/funcs/clientChatGetApplication.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatGetApplication(glean, { - id: "", - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatGetApplicationMutation -} from "@gleanwork/api-client/react-query/clientChatGetApplication.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatApplicationResponse](../../models/components/getchatapplicationresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## uploadFiles - -Upload files for Chat. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.uploadFiles({ - files: [], - }); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatUploadFiles } from "@gleanwork/api-client/funcs/clientChatUploadFiles.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatUploadFiles(glean, { - files: [], - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatUploadFilesMutation -} from "@gleanwork/api-client/react-query/clientChatUploadFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.UploadChatFilesResponse](../../models/components/uploadchatfilesresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## getFiles - -Get files uploaded by a user for Chat. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.getFiles({ - fileIds: [ - "", - "", - ], - }); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatGetFiles } from "@gleanwork/api-client/funcs/clientChatGetFiles.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatGetFiles(glean, { - fileIds: [ - "", - "", - ], - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatGetFilesMutation -} from "@gleanwork/api-client/react-query/clientChatGetFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatFilesResponse](../../models/components/getchatfilesresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## deleteFiles - -Delete files uploaded by a user for Chat. - -### Example Usage - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - await glean.client.chat.deleteFiles({ - fileIds: [ - "", - ], - }); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDeleteFiles } from "@gleanwork/api-client/funcs/clientChatDeleteFiles.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", -}); - -async function run() { - const res = await clientChatDeleteFiles(glean, { - fileIds: [ - "", - ], - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteFilesMutation -} from "@gleanwork/api-client/react-query/clientChatDeleteFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - | Error Type | Status Code | Content Type | | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/clientchat/README.md b/docs/sdks/clientchat/README.md new file mode 100644 index 00000000..726b79c0 --- /dev/null +++ b/docs/sdks/clientchat/README.md @@ -0,0 +1,878 @@ +# ClientChat +(*client.chat*) + +## Overview + +### Available Operations + +* [start](#start) - Chat +* [deleteAll](#deleteall) - Deletes all saved Chats owned by a user +* [delete](#delete) - Deletes saved Chats +* [get](#get) - Retrieves a Chat +* [list](#list) - Retrieves all saved Chats +* [getApplication](#getapplication) - Gets the metadata for a custom Chat application +* [uploadFiles](#uploadfiles) - Upload files for Chat. +* [getFiles](#getfiles) - Get files uploaded by a user for Chat. +* [deleteFiles](#deletefiles) - Delete files uploaded by a user for chat. + +## start + +Have a conversation with Glean AI. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.start({ + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatStart } from "@gleanwork/api-client/funcs/clientChatStart.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatStart(glean, { + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatStartMutation +} from "@gleanwork/api-client/react-query/clientChatStart.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ChatResponse](../../models/components/chatresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## deleteAll + +Deletes all saved Chats a user has had and all their contained conversational content. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + await glean.client.chat.deleteAll(); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDeleteAll } from "@gleanwork/api-client/funcs/clientChatDeleteAll.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatDeleteAll(glean); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteAllMutation +} from "@gleanwork/api-client/react-query/clientChatDeleteAll.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## delete + +Deletes saved Chats and all their contained conversational content. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + await glean.client.chat.delete({ + ids: [ + "", + "", + ], + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDelete } from "@gleanwork/api-client/funcs/clientChatDelete.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatDelete(glean, { + ids: [ + "", + "", + ], + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteMutation +} from "@gleanwork/api-client/react-query/clientChatDelete.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## get + +Retrieves the chat history between Glean Assistant and the user for a given Chat. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.get({ + id: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatGet } from "@gleanwork/api-client/funcs/clientChatGet.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatGet(glean, { + id: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatGetMutation +} from "@gleanwork/api-client/react-query/clientChatGet.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatResponse](../../models/components/getchatresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## list + +Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.list(); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatList } from "@gleanwork/api-client/funcs/clientChatList.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatList(glean); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatListMutation +} from "@gleanwork/api-client/react-query/clientChatList.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ListChatsResponse](../../models/components/listchatsresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## getApplication + +Gets the Chat application details for the specified application ID. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.getApplication({ + id: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatGetApplication } from "@gleanwork/api-client/funcs/clientChatGetApplication.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatGetApplication(glean, { + id: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatGetApplicationMutation +} from "@gleanwork/api-client/react-query/clientChatGetApplication.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatApplicationResponse](../../models/components/getchatapplicationresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## uploadFiles + +Upload files for Chat. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.uploadFiles({ + files: [], + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatUploadFiles } from "@gleanwork/api-client/funcs/clientChatUploadFiles.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatUploadFiles(glean, { + files: [], + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatUploadFilesMutation +} from "@gleanwork/api-client/react-query/clientChatUploadFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.UploadChatFilesResponse](../../models/components/uploadchatfilesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## getFiles + +Get files uploaded by a user for Chat. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.getFiles({ + fileIds: [ + "", + "", + ], + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatGetFiles } from "@gleanwork/api-client/funcs/clientChatGetFiles.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatGetFiles(glean, { + fileIds: [ + "", + "", + ], + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatGetFilesMutation +} from "@gleanwork/api-client/react-query/clientChatGetFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatFilesResponse](../../models/components/getchatfilesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## deleteFiles + +Delete files uploaded by a user for Chat. + +### Example Usage + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + await glean.client.chat.deleteFiles({ + fileIds: [ + "", + ], + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDeleteFiles } from "@gleanwork/api-client/funcs/clientChatDeleteFiles.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "", +}); + +async function run() { + const res = await clientChatDeleteFiles(glean, { + fileIds: [ + "", + ], + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteFilesMutation +} from "@gleanwork/api-client/react-query/clientChatDeleteFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/jsr.json b/jsr.json index b5d9d169..93f282f8 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@gleanwork/api-client", - "version": "0.1.0-beta.2", + "version": "0.1.0-beta.3", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 6d55fe70..5d8bd69d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gleanwork/api-client", - "version": "0.1.0-beta.2", + "version": "0.1.0-beta.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gleanwork/api-client", - "version": "0.1.0-beta.2", + "version": "0.1.0-beta.3", "devDependencies": { "@eslint/js": "^9.19.0", "@tanstack/react-query": "^5.61.4", diff --git a/package.json b/package.json index 93abdbff..6454b12a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gleanwork/api-client", - "version": "0.1.0-beta.2", + "version": "0.1.0-beta.3", "author": "Speakeasy", "type": "module", "tshy": { diff --git a/speakeasyusagegen/.speakeasy/logs/naming.log b/speakeasyusagegen/.speakeasy/logs/naming.log index 5fe8bd3a..e3ee9de8 100644 --- a/speakeasyusagegen/.speakeasy/logs/naming.log +++ b/speakeasyusagegen/.speakeasy/logs/naming.log @@ -288,6 +288,12 @@ DEBUG discriminated: Renamed to "indexing_authentication" registrationID: "scope:sdk mainSDK:Glean group:indexing originalName:authentication" DEBUG +--- Renaming 2 types with name "chat" --- +DEBUG discriminated: Renamed to "client_chat" + labels: "original_name:chat group:client data_type:SDK mainSDK:Glean" + registrationID: "scope:sdk mainSDK:Glean group:client originalName:chat" +DEBUG + --- Renaming 2 types with name "documents" --- DEBUG discriminated: Renamed to "client_documents" labels: "original_name:documents group:client data_type:SDK mainSDK:Glean" @@ -500,7 +506,7 @@ ListanswersResponse (HttpMeta: HTTPMetadata, ListAnswersResponse: ListAnswersRes ClientAuthentication (SDK empty) CreateauthtokenResponse (HttpMeta: HTTPMetadata, CreateAuthTokenResponse: CreateAuthTokenResponse) CreateAuthTokenResponse (token: string, expirationTime: integer) -Chat (SDK empty) +ClientChat (SDK empty) ChatRequest (timezoneOffset: integer, ChatRequest: ChatRequest) ChatRequest (saveChat: boolean, chatId: string, messages: array ...) ChatMessage (agentConfig: AgentConfig, author: enum, citations: array ...) @@ -531,7 +537,8 @@ ChatRequest (timezoneOffset: integer, ChatRequest: ChatRequest) PossibleValue (value: string, label: string) MessageType (enum: UPDATE, CONTENT, CONTEXT ...) ChatRestrictionFilters (containerSpecs: array, documentSpecs: array, datasourceInstances: array) -ChatResponse (HttpMeta: HTTPMetadata, ChatResponse: string) +ChatResponse (HttpMeta: HTTPMetadata, ChatResponse: ChatResponse) + ChatResponse (messages: array, chatId: string, followUpPrompts: array ...) DeleteallchatsRequest (timezoneOffset: integer) DeleteallchatsResponse (HttpMeta: HTTPMetadata) DeletechatsRequest (timezoneOffset: integer, DeleteChatsRequest: DeleteChatsRequest) @@ -778,7 +785,6 @@ Agents (SDK empty) RunagentRequest (timezoneOffset: integer, RunAgentRequest: RunAgentRequest) RunAgentRequest (agentId: string, fields: map, stream: boolean) RunagentResponse (HttpMeta: HTTPMetadata, ChatResponse: ChatResponse) - ChatResponse (messages: array, chatId: string, followUpPrompts: array ...) ListagentsRequest (timezoneOffset: integer, RequestBody: any) ListagentsResponse (HttpMeta: HTTPMetadata, ListAgentsResponse: ListAgentsResponse) ListAgentsResponse (agents: array) @@ -927,4 +933,7 @@ IndexingShortcuts (SDK empty) BulkIndexShortcutsRequest (uploadId: string, isFirstPage: boolean, isLastPage: boolean ...) ExternalShortcut (inputAlias: string, description: string, destinationUrl: string ...) PostApiIndexV1BulkindexshortcutsResponse (HttpMeta: HTTPMetadata) +Chat (SDK empty) +ChatStreamRequest (timezoneOffset: integer, ChatRequest: ChatRequest) +ChatStreamResponse (HttpMeta: HTTPMetadata, ChatRequestStream: string) diff --git a/src/__tests__/chat.test.ts b/src/__tests__/chat.test.ts index 52f452e1..0c41ef9e 100644 --- a/src/__tests__/chat.test.ts +++ b/src/__tests__/chat.test.ts @@ -2,12 +2,163 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { expect, test } from "vitest"; +import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; -test("Chat Chat Default Example", async () => { - const testHttpClient = createTestHTTPClient("chat-defaultExample"); +it.skip("Chat Chat Default Example", async () => { + assert.fail( + "incomplete test found please make sure to address the following errors: [`workflow step chat-defaultExample.test referencing operation chat does not contain response body with content type text/plain`]", + ); +}); + +it.skip("Chat Chat Gpt Agent Example", async () => { + assert.fail( + "incomplete test found please make sure to address the following errors: [`workflow step chat-gptAgentExample.test referencing operation chat does not contain response body with content type text/plain`]", + ); +}); + +it.skip("Chat Chat Streaming Example", async () => { + assert.fail( + "incomplete test found please make sure to address the following errors: [`workflow step chat-streamingExample.test referencing operation chat does not contain response body with content type text/plain`]", + ); +}); + +it.skip("Chat Chat Update Response", async () => { + assert.fail( + "incomplete test found please make sure to address the following errors: [`workflow step chat-updateResponse.test referencing operation chat does not contain response body with content type text/plain`]", + ); +}); + +it.skip("Chat Chat Citation Response", async () => { + assert.fail( + "incomplete test found please make sure to address the following errors: [`workflow step chat-citationResponse.test referencing operation chat does not contain response body with content type text/plain`]", + ); +}); + +test("Chat Deleteallchats", async () => { + const testHttpClient = createTestHTTPClient("deleteallchats"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + await glean.client.chat.deleteAll(); +}); + +test("Chat Deletechats", async () => { + const testHttpClient = createTestHTTPClient("deletechats"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + await glean.client.chat.delete({ + ids: [ + "", + "", + ], + }); +}); + +test("Chat Getchat", async () => { + const testHttpClient = createTestHTTPClient("getchat"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + const result = await glean.client.chat.get({ + id: "", + }); + expect(result).toBeDefined(); +}); + +test("Chat Listchats", async () => { + const testHttpClient = createTestHTTPClient("listchats"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + const result = await glean.client.chat.list(); + expect(result).toBeDefined(); +}); + +test("Chat Getchatapplication", async () => { + const testHttpClient = createTestHTTPClient("getchatapplication"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + const result = await glean.client.chat.getApplication({ + id: "", + }); + expect(result).toBeDefined(); +}); + +test("Chat Uploadchatfiles", async () => { + const testHttpClient = createTestHTTPClient("uploadchatfiles"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + const result = await glean.client.chat.uploadFiles({ + files: [], + }); + expect(result).toBeDefined(); +}); + +test("Chat Getchatfiles", async () => { + const testHttpClient = createTestHTTPClient("getchatfiles"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + const result = await glean.client.chat.getFiles({ + fileIds: [ + "", + "", + ], + }); + expect(result).toBeDefined(); +}); + +test("Chat Deletechatfiles", async () => { + const testHttpClient = createTestHTTPClient("deletechatfiles"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", + }); + + await glean.client.chat.deleteFiles({ + fileIds: [ + "", + ], + }); +}); + +test("Chat Chat Stream Default Example", async () => { + const testHttpClient = createTestHTTPClient("chatStream-defaultExample"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -15,7 +166,7 @@ test("Chat Chat Default Example", async () => { bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", }); - const result = await glean.client.chat.start({ + const result = await glean.chat.chatStream({ messages: [ { fragments: [ @@ -29,8 +180,8 @@ test("Chat Chat Default Example", async () => { expect(result).toBeDefined(); }); -test("Chat Chat Gpt Agent Example", async () => { - const testHttpClient = createTestHTTPClient("chat-gptAgentExample"); +test("Chat Chat Stream Gpt Agent Example", async () => { + const testHttpClient = createTestHTTPClient("chatStream-gptAgentExample"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -38,7 +189,7 @@ test("Chat Chat Gpt Agent Example", async () => { bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", }); - const result = await glean.client.chat.start({ + const result = await glean.chat.chatStream({ messages: [ { fragments: [ @@ -55,24 +206,8 @@ test("Chat Chat Gpt Agent Example", async () => { expect(result).toBeDefined(); }); -test("Chat Chat Streaming Example", async () => { - const testHttpClient = createTestHTTPClient("chat-streamingExample"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.start({ - messages: [], - timeoutMillis: 30000, - }); - expect(result).toBeDefined(); -}); - -test("Chat Chat Update Response", async () => { - const testHttpClient = createTestHTTPClient("chat-updateResponse"); +test("Chat Chat Stream Streaming Example", async () => { + const testHttpClient = createTestHTTPClient("chatStream-streamingExample"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -80,7 +215,7 @@ test("Chat Chat Update Response", async () => { bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", }); - const result = await glean.client.chat.start({ + const result = await glean.chat.chatStream({ messages: [ { citations: [ @@ -121,7 +256,7 @@ test("Chat Chat Update Response", async () => { referenceRanges: [ { textRange: { - startIndex: 956313, + startIndex: 862990, document: {}, }, snippets: [ @@ -131,6 +266,14 @@ test("Chat Chat Update Response", async () => { }, ], }, + { + snippets: [ + { + snippet: "snippet", + mimeType: "mimeType", + }, + ], + }, ], }, { @@ -181,14 +324,6 @@ test("Chat Chat Update Response", async () => { }, ], }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, ], }, ], @@ -216,19 +351,12 @@ test("Chat Chat Update Response", async () => { id: "", name: "", members: [], + customFields: [], datasourceProfiles: [ { datasource: "github", handle: "", }, - { - datasource: "github", - handle: "", - }, - { - datasource: "github", - handle: "", - }, ], }, customEntity: { @@ -265,7 +393,7 @@ test("Chat Chat Update Response", async () => { likes: { likedBy: [], likedByUser: false, - numLikes: 798102, + numLikes: 705667, }, updatedBy: { name: "George Clooney", @@ -288,15 +416,14 @@ test("Chat Chat Update Response", async () => { name: "George Clooney", obfuscatedId: "abc123", }, - remindAt: 961967, + remindAt: 56070, }, candidateVerifiers: [], }, }, board: { name: "", - description: - "not meh surprisingly too like embed dreamily verbally casement with", + description: "till woefully fun", audienceFilters: [ { fieldName: "type", @@ -312,7 +439,7 @@ test("Chat Chat Update Response", async () => { ], }, ], - id: 756840, + id: 805126, creator: { name: "George Clooney", obfuscatedId: "abc123", @@ -334,7 +461,8 @@ test("Chat Chat Update Response", async () => { }, collection: { name: "", - description: "daily forecast rapidly urgently slipper meh", + description: + "gadzooks worth epic angrily softly inventory multicolored", audienceFilters: [ { fieldName: "type", @@ -350,13 +478,12 @@ test("Chat Chat Update Response", async () => { ], }, ], - id: 308354, - children: [], + id: 719865, }, answerBoard: { name: "", description: - "frantically highlight thunderbolt defrag aside stitcher furthermore zealous", + "gleaming ashamed joshingly tabulate sermon follower inferior circumference meh a", audienceFilters: [ { fieldName: "type", @@ -372,7 +499,7 @@ test("Chat Chat Update Response", async () => { ], }, ], - id: 87875, + id: 55438, }, code: { repoName: "scio", @@ -402,49 +529,7 @@ test("Chat Chat Update Response", async () => { metadata: { type: "RETRIEVAL", name: "", - displayName: "Jarrell_Hudson65", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - {}, - {}, - {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Bertha.Koepp", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - {}, - {}, - {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "ACTION", - name: "", - displayName: "Sheridan.Koss71", + displayName: "Joannie36", displayDescription: "", objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, @@ -487,46 +572,31 @@ test("Chat Chat Update Response", async () => { }, ], }, + ], + fragments: [ { - sourceFile: { + structuredResults: [ + {}, + {}, + ], + file: { id: "FILE_1234", url: "www.google.com", name: "sample.pdf", }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], + action: { + metadata: { + type: "ACTION", + name: "", + displayName: "Floyd_Hammes29", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, - ], + }, }, - ], - fragments: [ { structuredResults: [ {}, - {}, - {}, ], file: { id: "FILE_1234", @@ -537,7 +607,7 @@ test("Chat Chat Update Response", async () => { metadata: { type: "RETRIEVAL", name: "", - displayName: "Zoe8", + displayName: "Jackson_Rogahn", displayDescription: "", objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, @@ -556,9 +626,9 @@ test("Chat Chat Update Response", async () => { }, action: { metadata: { - type: "ACTION", + type: "RETRIEVAL", name: "", - displayName: "Caterina70", + displayName: "Cecile69", displayDescription: "", objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, @@ -566,14 +636,79 @@ test("Chat Chat Update Response", async () => { }, ], }, - ], + { + citations: [ + { + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + referenceRanges: [ + { + snippets: [ + { + snippet: "snippet", + mimeType: "mimeType", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + {}, + {}, + {}, + ], + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "ACTION", + name: "", + displayName: "Perry37", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + {}, + {}, + {}, + ], + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Billy.Bosco", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], timeoutMillis: 30000, }); expect(result).toBeDefined(); }); -test("Chat Chat Citation Response", async () => { - const testHttpClient = createTestHTTPClient("chat-citationResponse"); +test("Chat Chat Stream Update Response", async () => { + const testHttpClient = createTestHTTPClient("chatStream-updateResponse"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -581,7 +716,7 @@ test("Chat Chat Citation Response", async () => { bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", }); - const result = await glean.client.chat.start({ + const result = await glean.chat.chatStream({ messages: [ { citations: [ @@ -622,7 +757,7 @@ test("Chat Chat Citation Response", async () => { referenceRanges: [ { textRange: { - startIndex: 585176, + startIndex: 347627, document: {}, }, snippets: [ @@ -642,48 +777,6 @@ test("Chat Chat Citation Response", async () => { }, ], }, - { - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - ], - }, - { - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - ], - }, ], fragments: [ { @@ -709,6 +802,7 @@ test("Chat Chat Citation Response", async () => { id: "", name: "", members: [], + customFields: [], datasourceProfiles: [ { datasource: "github", @@ -718,6 +812,10 @@ test("Chat Chat Citation Response", async () => { datasource: "github", handle: "", }, + { + datasource: "github", + handle: "", + }, ], }, customEntity: { @@ -753,15 +851,15 @@ test("Chat Chat Citation Response", async () => { }, likes: { likedBy: [], - likedByUser: true, - numLikes: 294779, + likedByUser: false, + numLikes: 303935, }, updatedBy: { name: "George Clooney", obfuscatedId: "abc123", }, verification: { - state: "DEPRECATED", + state: "UNVERIFIED", metadata: { lastVerifier: { name: "George Clooney", @@ -777,14 +875,14 @@ test("Chat Chat Citation Response", async () => { name: "George Clooney", obfuscatedId: "abc123", }, - remindAt: 881610, + remindAt: 795702, }, candidateVerifiers: [], }, }, board: { name: "", - description: "slip receptor fork", + description: "orange gracefully or", audienceFilters: [ { fieldName: "type", @@ -800,7 +898,7 @@ test("Chat Chat Citation Response", async () => { ], }, ], - id: 71022, + id: 527117, creator: { name: "George Clooney", obfuscatedId: "abc123", @@ -822,7 +920,8 @@ test("Chat Chat Citation Response", async () => { }, collection: { name: "", - description: "notarize equally hospitable", + description: + "stock peaceful jovially qua potentially furiously", audienceFilters: [ { fieldName: "type", @@ -838,13 +937,12 @@ test("Chat Chat Citation Response", async () => { ], }, ], - id: 889117, - children: [], + id: 867042, }, answerBoard: { name: "", description: - "e-mail outstanding among voluntarily fooey badly beautifully", + "lest greatly behest molasses alienated severe consistency at", audienceFilters: [ { fieldName: "type", @@ -860,7 +958,7 @@ test("Chat Chat Citation Response", async () => { ], }, ], - id: 900364, + id: 913408, }, code: { repoName: "scio", @@ -885,159 +983,20 @@ test("Chat Chat Citation Response", async () => { url: "www.google.com", name: "sample.pdf", }, - action: { - metadata: { - type: "ACTION", - name: "", - displayName: "Jamil_Koss", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - {}, - {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Julien_Okuneva", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - {}, - {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, action: { metadata: { type: "RETRIEVAL", name: "", - displayName: "Eulalia31", + displayName: "Yasmin_King", displayDescription: "", objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, }, }, - ], - }, - { - citations: [ - { - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - ], - }, - { - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - ], - }, - { - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - referenceRanges: [ - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - { - snippets: [ - { - snippet: "snippet", - mimeType: "mimeType", - }, - ], - }, - ], - }, - ], - fragments: [ { structuredResults: [ {}, {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Eladio82", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ {}, ], file: { @@ -1049,26 +1008,7 @@ test("Chat Chat Citation Response", async () => { metadata: { type: "ACTION", name: "", - displayName: "Jeanne52", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - {}, - ], - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Naomie.Corkery", + displayName: "Jeffrey97", displayDescription: "", objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", }, @@ -1082,8 +1022,8 @@ test("Chat Chat Citation Response", async () => { expect(result).toBeDefined(); }); -test("Chat Deleteallchats", async () => { - const testHttpClient = createTestHTTPClient("deleteallchats"); +test("Chat Chat Stream Citation Response", async () => { + const testHttpClient = createTestHTTPClient("chatStream-citationResponse"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -1091,114 +1031,9 @@ test("Chat Deleteallchats", async () => { bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", }); - await glean.client.chat.deleteAll(); -}); - -test("Chat Deletechats", async () => { - const testHttpClient = createTestHTTPClient("deletechats"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - await glean.client.chat.delete({ - ids: [ - "", - "", - ], - }); -}); - -test("Chat Getchat", async () => { - const testHttpClient = createTestHTTPClient("getchat"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.get({ - id: "", - }); - expect(result).toBeDefined(); -}); - -test("Chat Listchats", async () => { - const testHttpClient = createTestHTTPClient("listchats"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.list(); - expect(result).toBeDefined(); -}); - -test("Chat Getchatapplication", async () => { - const testHttpClient = createTestHTTPClient("getchatapplication"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.getApplication({ - id: "", - }); - expect(result).toBeDefined(); -}); - -test("Chat Uploadchatfiles", async () => { - const testHttpClient = createTestHTTPClient("uploadchatfiles"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.uploadFiles({ - files: [], - }); - expect(result).toBeDefined(); -}); - -test("Chat Getchatfiles", async () => { - const testHttpClient = createTestHTTPClient("getchatfiles"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - const result = await glean.client.chat.getFiles({ - fileIds: [ - "", - "", - ], + const result = await glean.chat.chatStream({ + messages: [], + timeoutMillis: 30000, }); expect(result).toBeDefined(); }); - -test("Chat Deletechatfiles", async () => { - const testHttpClient = createTestHTTPClient("deletechatfiles"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value", - }); - - await glean.client.chat.deleteFiles({ - fileIds: [ - "", - ], - }); -}); diff --git a/src/__tests__/mockserver/.gitignore b/src/__tests__/mockserver/.gitignore new file mode 100644 index 00000000..9544318b --- /dev/null +++ b/src/__tests__/mockserver/.gitignore @@ -0,0 +1 @@ +_debug diff --git a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1chat.go b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1chat.go index 715a7449..24ba560b 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1chat.go +++ b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1chat.go @@ -19,23 +19,23 @@ func pathPostRestAPIV1Chat(dir *logging.HTTPFileDirectory, rt *tracking.RequestT count := rt.GetRequestCount(test, instanceID) switch fmt.Sprintf("%s[%d]", test, count) { - case "chat-defaultExample[0]": - dir.HandlerFunc("chat", testChatChatDefaultExample0)(w, req) - case "chat-gptAgentExample[0]": - dir.HandlerFunc("chat", testChatChatGptAgentExample0)(w, req) - case "chat-streamingExample[0]": - dir.HandlerFunc("chat", testChatChatStreamingExample0)(w, req) - case "chat-updateResponse[0]": - dir.HandlerFunc("chat", testChatChatUpdateResponse0)(w, req) - case "chat-citationResponse[0]": - dir.HandlerFunc("chat", testChatChatCitationResponse0)(w, req) + case "chatStream-defaultExample[0]": + dir.HandlerFunc("chatStream", testChatStreamChatStreamDefaultExample0)(w, req) + case "chatStream-gptAgentExample[0]": + dir.HandlerFunc("chatStream", testChatStreamChatStreamGptAgentExample0)(w, req) + case "chatStream-streamingExample[0]": + dir.HandlerFunc("chatStream", testChatStreamChatStreamStreamingExample0)(w, req) + case "chatStream-updateResponse[0]": + dir.HandlerFunc("chatStream", testChatStreamChatStreamUpdateResponse0)(w, req) + case "chatStream-citationResponse[0]": + dir.HandlerFunc("chatStream", testChatStreamChatStreamCitationResponse0)(w, req) default: http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) } } } -func testChatChatDefaultExample0(w http.ResponseWriter, req *http.Request) { +func testChatStreamChatStreamDefaultExample0(w http.ResponseWriter, req *http.Request) { if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { log.Printf("assertion error: %s\n", err) http.Error(w, err.Error(), http.StatusUnauthorized) @@ -62,7 +62,7 @@ func testChatChatDefaultExample0(w http.ResponseWriter, req *http.Request) { _, _ = w.Write(respBodyBytes) } -func testChatChatGptAgentExample0(w http.ResponseWriter, req *http.Request) { +func testChatStreamChatStreamGptAgentExample0(w http.ResponseWriter, req *http.Request) { if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { log.Printf("assertion error: %s\n", err) http.Error(w, err.Error(), http.StatusUnauthorized) @@ -89,7 +89,7 @@ func testChatChatGptAgentExample0(w http.ResponseWriter, req *http.Request) { _, _ = w.Write(respBodyBytes) } -func testChatChatStreamingExample0(w http.ResponseWriter, req *http.Request) { +func testChatStreamChatStreamStreamingExample0(w http.ResponseWriter, req *http.Request) { if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { log.Printf("assertion error: %s\n", err) http.Error(w, err.Error(), http.StatusUnauthorized) @@ -116,7 +116,7 @@ func testChatChatStreamingExample0(w http.ResponseWriter, req *http.Request) { _, _ = w.Write(respBodyBytes) } -func testChatChatUpdateResponse0(w http.ResponseWriter, req *http.Request) { +func testChatStreamChatStreamUpdateResponse0(w http.ResponseWriter, req *http.Request) { if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { log.Printf("assertion error: %s\n", err) http.Error(w, err.Error(), http.StatusUnauthorized) @@ -143,7 +143,7 @@ func testChatChatUpdateResponse0(w http.ResponseWriter, req *http.Request) { _, _ = w.Write(respBodyBytes) } -func testChatChatCitationResponse0(w http.ResponseWriter, req *http.Request) { +func testChatStreamChatStreamCitationResponse0(w http.ResponseWriter, req *http.Request) { if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { log.Printf("assertion error: %s\n", err) http.Error(w, err.Error(), http.StatusUnauthorized) diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/chat.go b/src/__tests__/mockserver/internal/sdk/models/operations/chat.go index cc3e33de..4f0f7fb1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/chat.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/chat.go @@ -30,7 +30,7 @@ func (o *ChatRequest) GetChatRequest() components.ChatRequest { type ChatResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // OK - ChatResponse *string + ChatResponse *components.ChatResponse } func (o *ChatResponse) GetHTTPMeta() components.HTTPMetadata { @@ -40,7 +40,7 @@ func (o *ChatResponse) GetHTTPMeta() components.HTTPMetadata { return o.HTTPMeta } -func (o *ChatResponse) GetChatResponse() *string { +func (o *ChatResponse) GetChatResponse() *components.ChatResponse { if o == nil { return nil } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go b/src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go new file mode 100644 index 00000000..a8d81d42 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type ChatStreamRequest struct { + // The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. + TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"` + // Includes chat history for Glean AI to respond to. + ChatRequest components.ChatRequest `request:"mediaType=application/json"` +} + +func (o *ChatStreamRequest) GetTimezoneOffset() *int64 { + if o == nil { + return nil + } + return o.TimezoneOffset +} + +func (o *ChatStreamRequest) GetChatRequest() components.ChatRequest { + if o == nil { + return components.ChatRequest{} + } + return o.ChatRequest +} + +type ChatStreamResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + ChatRequestStream *string +} + +func (o *ChatStreamResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *ChatStreamResponse) GetChatRequestStream() *string { + if o == nil { + return nil + } + return o.ChatRequestStream +} diff --git a/src/funcs/chatChatStream.ts b/src/funcs/chatChatStream.ts new file mode 100644 index 00000000..d672cdbe --- /dev/null +++ b/src/funcs/chatChatStream.ts @@ -0,0 +1,169 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { GleanCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanError } from "../models/errors/gleanerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Chat + * + * @remarks + * Have a conversation with Glean AI. + */ +export function chatChatStream( + client: GleanCore, + chatRequest: components.ChatRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, +): APIPromise< + Result< + string, + | GleanError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + return new APIPromise($do( + client, + chatRequest, + timezoneOffset, + options, + )); +} + +async function $do( + client: GleanCore, + chatRequest: components.ChatRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, +): Promise< + [ + Result< + string, + | GleanError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >, + APICall, + ] +> { + const input: operations.ChatStreamRequest = { + chatRequest: chatRequest, + timezoneOffset: timezoneOffset, + }; + + const parsed = safeParse( + input, + (value) => operations.ChatStreamRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.ChatRequest, { explode: true }); + + const path = pathToFunc("/rest/api/v1/chat#stream")(); + + const query = encodeFormQuery({ + "timezoneOffset": payload.timezoneOffset, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "text/plain", + })); + + const secConfig = await extractSecurity(client._options.bearerAuth); + const securityInput = secConfig == null ? {} : { bearerAuth: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "chatStream", + oAuth2Scopes: [], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerAuth, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "408", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + string, + | GleanError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.text(200, z.string()), + M.fail([400, 401, 408, 429, "4XX"]), + M.fail("5XX"), + )(response); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/clientChatStart.ts b/src/funcs/clientChatStart.ts index 62890b58..ad438d7c 100644 --- a/src/funcs/clientChatStart.ts +++ b/src/funcs/clientChatStart.ts @@ -2,7 +2,6 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; import { GleanCore } from "../core.js"; import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -38,7 +37,7 @@ export function clientChatStart( options?: RequestOptions, ): APIPromise< Result< - string, + components.ChatResponse, | GleanError | SDKValidationError | UnexpectedClientError @@ -64,7 +63,7 @@ async function $do( ): Promise< [ Result< - string, + components.ChatResponse, | GleanError | SDKValidationError | UnexpectedClientError @@ -100,7 +99,7 @@ async function $do( const headers = new Headers(compactMap({ "Content-Type": "application/json", - Accept: "text/plain", + Accept: "application/json", })); const secConfig = await extractSecurity(client._options.bearerAuth); @@ -148,7 +147,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - string, + components.ChatResponse, | GleanError | SDKValidationError | UnexpectedClientError @@ -157,7 +156,7 @@ async function $do( | RequestTimeoutError | ConnectionError >( - M.text(200, z.string()), + M.json(200, components.ChatResponse$inboundSchema), M.fail([400, 401, 408, 429, "4XX"]), M.fail("5XX"), )(response); diff --git a/src/lib/config.ts b/src/lib/config.ts index e07ce4d7..ba6bcb5b 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.9.0", - sdkVersion: "0.1.0-beta.2", - genVersion: "2.595.4", + sdkVersion: "0.1.0-beta.3", + genVersion: "2.596.2", userAgent: - "speakeasy-sdk/typescript 0.1.0-beta.2 2.595.4 0.9.0 @gleanwork/api-client", + "speakeasy-sdk/typescript 0.1.0-beta.3 2.596.2 0.9.0 @gleanwork/api-client", } as const; diff --git a/src/models/operations/chatstream.ts b/src/models/operations/chatstream.ts new file mode 100644 index 00000000..7214ff26 --- /dev/null +++ b/src/models/operations/chatstream.ts @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ChatStreamRequest = { + /** + * The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. + */ + timezoneOffset?: number | undefined; + /** + * Includes chat history for Glean AI to respond to. + */ + chatRequest: components.ChatRequest; +}; + +/** @internal */ +export const ChatStreamRequest$inboundSchema: z.ZodType< + ChatStreamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + timezoneOffset: z.number().int().optional(), + ChatRequest: components.ChatRequest$inboundSchema, +}).transform((v) => { + return remap$(v, { + "ChatRequest": "chatRequest", + }); +}); + +/** @internal */ +export type ChatStreamRequest$Outbound = { + timezoneOffset?: number | undefined; + ChatRequest: components.ChatRequest$Outbound; +}; + +/** @internal */ +export const ChatStreamRequest$outboundSchema: z.ZodType< + ChatStreamRequest$Outbound, + z.ZodTypeDef, + ChatStreamRequest +> = z.object({ + timezoneOffset: z.number().int().optional(), + chatRequest: components.ChatRequest$outboundSchema, +}).transform((v) => { + return remap$(v, { + chatRequest: "ChatRequest", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ChatStreamRequest$ { + /** @deprecated use `ChatStreamRequest$inboundSchema` instead. */ + export const inboundSchema = ChatStreamRequest$inboundSchema; + /** @deprecated use `ChatStreamRequest$outboundSchema` instead. */ + export const outboundSchema = ChatStreamRequest$outboundSchema; + /** @deprecated use `ChatStreamRequest$Outbound` instead. */ + export type Outbound = ChatStreamRequest$Outbound; +} + +export function chatStreamRequestToJSON( + chatStreamRequest: ChatStreamRequest, +): string { + return JSON.stringify( + ChatStreamRequest$outboundSchema.parse(chatStreamRequest), + ); +} + +export function chatStreamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ChatStreamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ChatStreamRequest' from JSON`, + ); +} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index 25257d4f..f767d8b1 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -3,6 +3,7 @@ */ export * from "./chat.js"; +export * from "./chatstream.js"; export * from "./deleteallchats.js"; export * from "./deletechatfiles.js"; export * from "./deletechats.js"; diff --git a/src/react-query/chatChatStream.ts b/src/react-query/chatChatStream.ts new file mode 100644 index 00000000..15de00d4 --- /dev/null +++ b/src/react-query/chatChatStream.ts @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { chatChatStream } from "../funcs/chatChatStream.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export type ChatChatStreamMutationVariables = { + chatRequest: components.ChatRequest; + timezoneOffset?: number | undefined; + options?: RequestOptions; +}; + +export type ChatChatStreamMutationData = string; + +/** + * Chat + * + * @remarks + * Have a conversation with Glean AI. + */ +export function useChatChatStreamMutation( + options?: MutationHookOptions< + ChatChatStreamMutationData, + Error, + ChatChatStreamMutationVariables + >, +): UseMutationResult< + ChatChatStreamMutationData, + Error, + ChatChatStreamMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildChatChatStreamMutation(client, options), + ...options, + }); +} + +export function mutationKeyChatChatStream(): MutationKey { + return ["@gleanwork/api-client", "Chat", "chatStream"]; +} + +export function buildChatChatStreamMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: ChatChatStreamMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyChatChatStream(), + mutationFn: function chatChatStreamMutationFn({ + chatRequest, + timezoneOffset, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(chatChatStream( + client$, + chatRequest, + timezoneOffset, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/clientChatStart.ts b/src/react-query/clientChatStart.ts index b8fc6403..cccae155 100644 --- a/src/react-query/clientChatStart.ts +++ b/src/react-query/clientChatStart.ts @@ -22,7 +22,7 @@ export type ClientChatStartMutationVariables = { options?: RequestOptions; }; -export type ClientChatStartMutationData = string; +export type ClientChatStartMutationData = components.ChatResponse; /** * Chat diff --git a/src/react-query/index.ts b/src/react-query/index.ts index 34b7648b..c76e5be7 100644 --- a/src/react-query/index.ts +++ b/src/react-query/index.ts @@ -8,6 +8,7 @@ export * from "./_types.js"; export * from "./agentsGetagentinputs.js"; export * from "./agentsListagents.js"; export * from "./agentsRunagent.js"; +export * from "./chatChatStream.js"; export * from "./clientActivitiesReportActivity.js"; export * from "./clientActivityReport.js"; export * from "./clientAnnouncementsCreate.js"; diff --git a/src/sdk/chat.ts b/src/sdk/chat.ts index e5adca89..a0aba02e 100644 --- a/src/sdk/chat.ts +++ b/src/sdk/chat.ts @@ -2,15 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { clientChatDelete } from "../funcs/clientChatDelete.js"; -import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js"; -import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.js"; -import { clientChatGet } from "../funcs/clientChatGet.js"; -import { clientChatGetApplication } from "../funcs/clientChatGetApplication.js"; -import { clientChatGetFiles } from "../funcs/clientChatGetFiles.js"; -import { clientChatList } from "../funcs/clientChatList.js"; -import { clientChatStart } from "../funcs/clientChatStart.js"; -import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.js"; +import { chatChatStream } from "../funcs/chatChatStream.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; @@ -22,164 +14,16 @@ export class Chat extends ClientSDK { * @remarks * Have a conversation with Glean AI. */ - async start( + async chatStream( chatRequest: components.ChatRequest, timezoneOffset?: number | undefined, options?: RequestOptions, ): Promise { - return unwrapAsync(clientChatStart( + return unwrapAsync(chatChatStream( this, chatRequest, timezoneOffset, options, )); } - - /** - * Deletes all saved Chats owned by a user - * - * @remarks - * Deletes all saved Chats a user has had and all their contained conversational content. - */ - async deleteAll( - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDeleteAll( - this, - timezoneOffset, - options, - )); - } - - /** - * Deletes saved Chats - * - * @remarks - * Deletes saved Chats and all their contained conversational content. - */ - async delete( - deleteChatsRequest: components.DeleteChatsRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDelete( - this, - deleteChatsRequest, - timezoneOffset, - options, - )); - } - - /** - * Retrieves a Chat - * - * @remarks - * Retrieves the chat history between Glean Assistant and the user for a given Chat. - */ - async get( - getChatRequest: components.GetChatRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatGet( - this, - getChatRequest, - timezoneOffset, - options, - )); - } - - /** - * Retrieves all saved Chats - * - * @remarks - * Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. - */ - async list( - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatList( - this, - timezoneOffset, - options, - )); - } - - /** - * Gets the metadata for a custom Chat application - * - * @remarks - * Gets the Chat application details for the specified application ID. - */ - async getApplication( - getChatApplicationRequest: components.GetChatApplicationRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatGetApplication( - this, - getChatApplicationRequest, - timezoneOffset, - options, - )); - } - - /** - * Upload files for Chat. - * - * @remarks - * Upload files for Chat. - */ - async uploadFiles( - uploadChatFilesRequest: components.UploadChatFilesRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatUploadFiles( - this, - uploadChatFilesRequest, - timezoneOffset, - options, - )); - } - - /** - * Get files uploaded by a user for Chat. - * - * @remarks - * Get files uploaded by a user for Chat. - */ - async getFiles( - getChatFilesRequest: components.GetChatFilesRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatGetFiles( - this, - getChatFilesRequest, - timezoneOffset, - options, - )); - } - - /** - * Delete files uploaded by a user for chat. - * - * @remarks - * Delete files uploaded by a user for Chat. - */ - async deleteFiles( - deleteChatFilesRequest: components.DeleteChatFilesRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDeleteFiles( - this, - deleteChatFilesRequest, - timezoneOffset, - options, - )); - } } diff --git a/src/sdk/client.ts b/src/sdk/client.ts index 5ac57c86..3d66b350 100644 --- a/src/sdk/client.ts +++ b/src/sdk/client.ts @@ -7,8 +7,8 @@ import { Activities } from "./activities.js"; import { Activity } from "./activity.js"; import { Announcements } from "./announcements.js"; import { Answers } from "./answers.js"; -import { Chat } from "./chat.js"; import { ClientAuthentication } from "./clientauthentication.js"; +import { ClientChat } from "./clientchat.js"; import { ClientDocuments } from "./clientdocuments.js"; import { ClientShortcuts } from "./clientshortcuts.js"; import { Collections } from "./collections.js"; @@ -46,9 +46,9 @@ export class Client extends ClientSDK { return (this._authentication ??= new ClientAuthentication(this._options)); } - private _chat?: Chat; - get chat(): Chat { - return (this._chat ??= new Chat(this._options)); + private _chat?: ClientChat; + get chat(): ClientChat { + return (this._chat ??= new ClientChat(this._options)); } private _collections?: Collections; diff --git a/src/sdk/clientchat.ts b/src/sdk/clientchat.ts new file mode 100644 index 00000000..fd4412c2 --- /dev/null +++ b/src/sdk/clientchat.ts @@ -0,0 +1,185 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { clientChatDelete } from "../funcs/clientChatDelete.js"; +import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js"; +import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.js"; +import { clientChatGet } from "../funcs/clientChatGet.js"; +import { clientChatGetApplication } from "../funcs/clientChatGetApplication.js"; +import { clientChatGetFiles } from "../funcs/clientChatGetFiles.js"; +import { clientChatList } from "../funcs/clientChatList.js"; +import { clientChatStart } from "../funcs/clientChatStart.js"; +import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class ClientChat extends ClientSDK { + /** + * Chat + * + * @remarks + * Have a conversation with Glean AI. + */ + async start( + chatRequest: components.ChatRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatStart( + this, + chatRequest, + timezoneOffset, + options, + )); + } + + /** + * Deletes all saved Chats owned by a user + * + * @remarks + * Deletes all saved Chats a user has had and all their contained conversational content. + */ + async deleteAll( + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDeleteAll( + this, + timezoneOffset, + options, + )); + } + + /** + * Deletes saved Chats + * + * @remarks + * Deletes saved Chats and all their contained conversational content. + */ + async delete( + deleteChatsRequest: components.DeleteChatsRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDelete( + this, + deleteChatsRequest, + timezoneOffset, + options, + )); + } + + /** + * Retrieves a Chat + * + * @remarks + * Retrieves the chat history between Glean Assistant and the user for a given Chat. + */ + async get( + getChatRequest: components.GetChatRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatGet( + this, + getChatRequest, + timezoneOffset, + options, + )); + } + + /** + * Retrieves all saved Chats + * + * @remarks + * Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. + */ + async list( + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatList( + this, + timezoneOffset, + options, + )); + } + + /** + * Gets the metadata for a custom Chat application + * + * @remarks + * Gets the Chat application details for the specified application ID. + */ + async getApplication( + getChatApplicationRequest: components.GetChatApplicationRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatGetApplication( + this, + getChatApplicationRequest, + timezoneOffset, + options, + )); + } + + /** + * Upload files for Chat. + * + * @remarks + * Upload files for Chat. + */ + async uploadFiles( + uploadChatFilesRequest: components.UploadChatFilesRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatUploadFiles( + this, + uploadChatFilesRequest, + timezoneOffset, + options, + )); + } + + /** + * Get files uploaded by a user for Chat. + * + * @remarks + * Get files uploaded by a user for Chat. + */ + async getFiles( + getChatFilesRequest: components.GetChatFilesRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatGetFiles( + this, + getChatFilesRequest, + timezoneOffset, + options, + )); + } + + /** + * Delete files uploaded by a user for chat. + * + * @remarks + * Delete files uploaded by a user for Chat. + */ + async deleteFiles( + deleteChatFilesRequest: components.DeleteChatFilesRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDeleteFiles( + this, + deleteChatFilesRequest, + timezoneOffset, + options, + )); + } +} diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 71ba5ca9..4e45549e 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -4,6 +4,7 @@ import { ClientSDK } from "../lib/sdks.js"; import { Agents } from "./agents.js"; +import { Chat } from "./chat.js"; import { Client } from "./client.js"; import { Indexing } from "./indexing.js"; @@ -22,4 +23,9 @@ export class Glean extends ClientSDK { get indexing(): Indexing { return (this._indexing ??= new Indexing(this._options)); } + + private _chat?: Chat; + get chat(): Chat { + return (this._chat ??= new Chat(this._options)); + } } From 45bfd1fee051cc522601bd869fd21b01d5480547 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 2 May 2025 23:47:00 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow