Patsnap LLM

AI50 Patent Large Model(Pat GPT)

It supports inputting technical questions or questions related to patents. The Patent Large Model (Pat GPT) aims to intelligently retrieve, analyze, and mine data in response to the posed questions, providing relevant patent information, trend analysis, and technical evaluations.

post/chat/pat-gpt-stream

Request

Request body text/event-stream

querystring required

User question Note: No more than 30000 character.

streamboolean

When the interface returns results, whether to require streaming response: true: Represents needed false: Represents not needed Default value is true.

Example request

{
  "query": "<cn>公开号为CN109213437A的专利,主要的发明点是什么?</cn><us>What is the technology method of the patent with publication number CN109213437A?</us>",
  "stream": true
}

Response

Successful ai50 patent large model(pat gpt) response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "output": {
      "usage": {
        "input_tokens": 20,
        "total_tokens": 1520,
        "output_tokens": 1500
      },
      "status": "finished",
      "content": "根据公开号为CN109213437A的"
    },
    "references": [
      {
        "text": "text",
        "type": "patent",
        "value": "72fbb693-366a-4e50-bcd4-56d699f6c316"
      }
    ]
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.