Skip to content

Commit

Permalink
feat: 更新版本schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bincooo committed Apr 27, 2024
1 parent 5841f4a commit 3c3c3ac
Show file tree
Hide file tree
Showing 8 changed files with 476 additions and 182 deletions.
4 changes: 2 additions & 2 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ func (c *Chat) newHub(model string, conv Conversation, prompt string, image *KBl
message["requestId"] = messageId
message["messageId"] = messageId
if image != nil {
message["imageUrl"] = "https://copilot.microsoft.com/images/blob?bcid=" + image.ProcessedBlobId
message["originalImageUrl"] = "https://copilot.microsoft.com/images/blob?bcid=" + image.BlobId
message["imageUrl"] = "https://www.bing.com/images/blob?bcid=" + image.ProcessedBlobId
message["originalImageUrl"] = "https://www.bing.com/images/blob?bcid=" + image.BlobId
}
message["text"] = prompt

Expand Down
152 changes: 81 additions & 71 deletions chat.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
{
"source": "cib",
"optionsSets": [
"nlu_direct_response_filter",
"deepleo",
"disable_emoji_spoken_text",
"responsible_ai_policy_235",
"enablemm",
"dv3sugg",
"autosave",
"iyxapbing",
"iycapbing",
"galileo",
"saharagenconv5",
"gldcl1p",
"gpt4tmncnp",
"fluxv15ph",
"uquopt",
"eredirecturl"
"h3imaginative",
"clgalileo",
"clgalileonsr",
"dlbmtc",
"dlbpc4575",
"dlbrngnp",
"dlbtc",
"dlbuc07",
"dlbuf03",
"preclsngnp",
"codeintfilev2",
"enflst",
"enpcktrk",
"rcaltimeans",
"imgsanitize",
"dv3suggv4",
"gasupcard",
"ldsummary",
"ldqa",
"sdretrieval",
"enable_user_consent",
"fluxmemcst"
],
"allowedMessageTypes": [
"ActionRequest",
"Chat",
"ConfirmationCard",
"Context",
"InternalSearchQuery",
"InternalSearchResult",
"Disengaged",
"InternalLoaderMessage",
"Progress",
Expand All @@ -33,98 +43,98 @@
"AdsQuery",
"SemanticSerp",
"GenerateContentQuery",
"SearchQuery",
"GeneratedCode",
"InternalTasksMessage"
"GeneratedCode"
],
"sliceIds": [
"bgstream",
"supllmnfe",
"fltltst2c",
"stcheckcf",
"invldrqcf",
"v6voice",
"vnextvoice",
"romiccf",
"scmcbase",
"cmcpupsalltf",
"thdnsrchcf",
"220dcl1s0",
"0215wcrwips0",
"0130gpt4t",
"bingfccf",
"0221pluginshyb",
"0225unsticky1",
"0228scs",
"scprompt1",
"defquerycf",
"cacfastapis",
"defgrey",
"3022tpvs0"
"fast2cf",
"ntbkcf3",
"visperfcf",
"qapsat40",
"ctenin",
"crtrcrtv",
"abv2specjs",
"rwt2",
"ctrlfiltconf",
"translsafa",
"424bicbceproc",
"124multi2ts0",
"0408defrai_v3",
"dismsg",
"0411trimbanv3",
"0215wcrwip",
"0411dylbp",
"fpallsticy",
"0423suggv4",
"scprompt2",
"0306flowvaca",
"228pyfilev3",
"ecipc",
"418paydetecs0",
"0420bicmgs0",
"413bicsup",
"3daytonecf",
"cacshortcac5",
"sstopcf",
"0319incipcls0",
"schurmscf"
],
"verbosity": "verbose",
"scenario": "SERP",
"plugins": [
{
"id": "c310c353-b9f0-4d76-ab0d-1dd5e979cf68",
"category": 1
}
],
"traceId": "65ed39cc10414c198cf13f81afac45fc",
"traceId": "662c72adfc494c8e82ad58def0f3e0af",
"conversationHistoryOptionsSets": [
"autosave",
"savemem",
"uprofupd",
"uprofgen"
],
"gptId": "copilot",
"isStartOfSession": true,
"requestId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d",
"requestId": "3b32af30-81d6-9101-864d-496d291c7fcf",
"message": {
"locale": "en-US",
"market": "en-US",
"region": "FR",
"region": "US",
"location": "lat:47.639557;long:-122.128159;re=1000m;",
"locationHints": [
{
"SourceType": 1,
"RegionType": 2,
"Center": {
"Latitude": 48.8827018737793,
"Longitude": 2.319700002670288
"Latitude": 34.05189895629883,
"Longitude": -118.26219940185547
},
"Radius": 24902,
"Name": "Paris, Ile-De-France",
"Name": "Los Angeles, California",
"Accuracy": 24902,
"FDConfidence": 0.8999999761581421,
"CountryName": "France",
"CountryConfidence": 9,
"Admin1Name": "Ile-De-France",
"PopulatedPlaceName": "Paris",
"PopulatedPlaceConfidence": 9,
"PostCodeName": "75017",
"UtcOffset": 1,
"Dma": 0
"FDConfidence": 0.5,
"CountryName": "United States",
"CountryConfidence": 8,
"Admin1Name": "California",
"PopulatedPlaceName": "Los Angeles",
"PopulatedPlaceConfidence": 5,
"PostCodeName": "90017",
"UtcOffset": -8,
"Dma": 803
}
],
"userIpAddress": "2001:bc8:377d:ff00:fc:c3d3:449:d00e",
"timestamp": "2024-03-10T12:40:47+08:00",
"userIpAddress": "67.21.82.247",
"timestamp": "2024-04-27T11:36:17+08:00",
"adaptiveCards": [
],
"author": "user",
"inputMethod": "Keyboard",
"text": "hi",
"text": "",
"messageType": "Chat",
"requestId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d",
"messageId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d"
},
"tone": "Balanced",
"extraExtensionParameters": {
"gpt-creator-persona": {
"personaId": "copilot"
}
"requestId": "3b32af30-81d6-9101-864d-496d291c7fcf",
"messageId": "3b32af30-81d6-9101-864d-496d291c7fcf"
},
"tone": "Creative",
"spokenTextMode": "None",
"conversationId": "51D|BingProd|391D4E92BF0DF33F9D2C7CC198CBFDE13DD01D24F67A02545F8E4F2074C28791",
"conversationId": "51D|BingProd|E0049A1A242C81724D3E499C3B67387F52F633255F5062C6921A59E890A9AF39",
"previousMessages": [
],
"participant": {
"id": "1055519805418731"
"id": "914802122017678"
}
}
130 changes: 130 additions & 0 deletions chat.json.v1.0.3-1.1630.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"source": "cib",
"optionsSets": [
"nlu_direct_response_filter",
"deepleo",
"disable_emoji_spoken_text",
"responsible_ai_policy_235",
"enablemm",
"dv3sugg",
"autosave",
"iyxapbing",
"iycapbing",
"galileo",
"saharagenconv5",
"gldcl1p",
"gpt4tmncnp",
"fluxv15ph",
"uquopt",
"eredirecturl"
],
"allowedMessageTypes": [
"ActionRequest",
"Chat",
"ConfirmationCard",
"Context",
"InternalSearchQuery",
"InternalSearchResult",
"Disengaged",
"InternalLoaderMessage",
"Progress",
"RenderCardRequest",
"RenderContentRequest",
"AdsQuery",
"SemanticSerp",
"GenerateContentQuery",
"SearchQuery",
"GeneratedCode",
"InternalTasksMessage"
],
"sliceIds": [
"bgstream",
"supllmnfe",
"fltltst2c",
"stcheckcf",
"invldrqcf",
"v6voice",
"vnextvoice",
"romiccf",
"scmcbase",
"cmcpupsalltf",
"thdnsrchcf",
"220dcl1s0",
"0215wcrwips0",
"0130gpt4t",
"bingfccf",
"0221pluginshyb",
"0225unsticky1",
"0228scs",
"scprompt1",
"defquerycf",
"cacfastapis",
"defgrey",
"3022tpvs0"
],
"verbosity": "verbose",
"scenario": "SERP",
"plugins": [
{
"id": "c310c353-b9f0-4d76-ab0d-1dd5e979cf68",
"category": 1
}
],
"traceId": "65ed39cc10414c198cf13f81afac45fc",
"conversationHistoryOptionsSets": [
"autosave",
"savemem",
"uprofupd",
"uprofgen"
],
"gptId": "copilot",
"isStartOfSession": true,
"requestId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d",
"message": {
"locale": "en-US",
"market": "en-US",
"region": "FR",
"location": "lat:47.639557;long:-122.128159;re=1000m;",
"locationHints": [
{
"SourceType": 1,
"RegionType": 2,
"Center": {
"Latitude": 48.8827018737793,
"Longitude": 2.319700002670288
},
"Radius": 24902,
"Name": "Paris, Ile-De-France",
"Accuracy": 24902,
"FDConfidence": 0.8999999761581421,
"CountryName": "France",
"CountryConfidence": 9,
"Admin1Name": "Ile-De-France",
"PopulatedPlaceName": "Paris",
"PopulatedPlaceConfidence": 9,
"PostCodeName": "75017",
"UtcOffset": 1,
"Dma": 0
}
],
"userIpAddress": "2001:bc8:377d:ff00:fc:c3d3:449:d00e",
"timestamp": "2024-03-10T12:40:47+08:00",
"author": "user",
"inputMethod": "Keyboard",
"text": "hi",
"messageType": "Chat",
"requestId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d",
"messageId": "e1423a5d-2f8a-2b98-dcd9-620219994b4d"
},
"tone": "Balanced",
"extraExtensionParameters": {
"gpt-creator-persona": {
"personaId": "copilot"
}
},
"spokenTextMode": "None",
"conversationId": "51D|BingProd|391D4E92BF0DF33F9D2C7CC198CBFDE13DD01D24F67A02545F8E4F2074C28791",
"participant": {
"id": "1055519805418731"
}
}
Loading

0 comments on commit 3c3c3ac

Please sign in to comment.