Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新locationHints参数 #228

Closed
2 tasks done
xingty opened this issue Feb 24, 2024 · 0 comments
Closed
2 tasks done

更新locationHints参数 #228

xingty opened this issue Feb 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xingty
Copy link

xingty commented Feb 24, 2024

Checks

  • I confirm that I have searched existing issues and couldn't find a similar proposal.
  • I have read the documentation and test the software carefully and confirmed that this is not an existing feature.

Describe the solution you'd like

bing已经更新了locationHint的结构,新的结构如下:

{
    "SourceType": 1,
    "RegionType": 2,
    "Center": {
        "Latitude": 34.05189895529883,
        "Longitude": -118.26219950185547
    },
    "Radius": 24902,
    "Name": "Los Angeles, California",
    "Accuracy": 24902,
    "FDConfidence": 0.5,
    "CountryName": "United States",
    "CountryConfidence": 8,
    "Admin1Name": "California",
    "PopulatedPlaceName": "Los Angeles",
    "PopulatedPlaceConfidence": 5,
    "PostCodeName": "90017",
    "UtcOffset": -8,
    "Dma": 803
}

从bing官网发出去的请求,locationHints参数如下:

{
    "arguments": [
        {
            "source": "cib",
            "verbosity": "verbose",
            "scenario": "SERP",
            "plugins": [
                {
                    "id": "c310c353-b9f0-4d76-ab0d-1dd5e979cf68",
                    "category": 1
                }
            ],
            "traceId": "65be1eb0c24041a6810dde940f4474fc",
            "conversationHistoryOptionsSets": [
                "autosave",
                "savemem",
                "uprofupd",
                "uprofgen"
            ],
            "isStartOfSession": false,
            "requestId": "00272dcc-f527-5867-d358-7c0cec3bbad6",
            "message": {
                "locale": "zh-CN",
                "market": "zh-CN",
                "region": "TW",
                "location": "lat:47.639557;long:-122.128159;re=1000m;",
                "locationHints": [
                    {
                        "SourceType": 1,
                        "RegionType": 2,
                        "Center": {
                            "Latitude": 24.14189910888672,
                            "Longitude": 120.68060302734375
                        },
                        "Radius": 24902,
                        "Name": "Central District, Taichung City",
                        "Accuracy": 24902,
                        "FDConfidence": 0.800000011920929,
                        "CountryName": "Taiwan",
                        "CountryConfidence": 8,
                        "Admin1Name": "Taichung City",
                        "PopulatedPlaceName": "Central District",
                        "PopulatedPlaceConfidence": 8,
                        "PostCodeName": "400",
                        "UtcOffset": 8,
                        "Dma": 0
                    }
                ],
                "userIpAddress": "125.227.84.74",
                "timestamp": "2024-02-03T19:08:24+08:00",
                "author": "user",
                "inputMethod": "Keyboard",
                "text": "your response is good ,can you give me more",
                "messageType": "Chat",
                "requestId": "00272dcc-f527-5867-d358-7c0cec3bbad6",
                "messageId": "00272dcc-f527-5867-d358-7c0cec3bbad6"
            },
            "tone": "Balanced",
            "spokenTextMode": "None",
            "conversationId": "51D|BingProd|0D8A349A1493E70F7EEED23BD762BE795AAB6BABC590E5BA7ADC635B8EFC6F6C",
            "participant": {
                "id": "985156939477398"
            }
        }
    ],
    "invocationId": "9",
    "target": "chat",
    "type": 4
}

目前代码中似乎还在用这个老的结构
image

不太清楚这个是否会增加触发人机验证的概率,但我曾经有个账号用这种结构触发过人机,后面注册了个新账号,改了新的格式locationHints,还是相同的ip,用到现在没触发人机。

@juzeon juzeon added the enhancement New feature or request label Feb 24, 2024
juzeon added a commit that referenced this issue Feb 27, 2024
@juzeon juzeon closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants