LONGSHOT AI
  1. 高级功能接口
LONGSHOT AI
  • 验证
  • 功能接口
    • FactGPT
      POST
    • AutoBlog (一键式、原创、SEO 优化博客)
      POST
    • AutoBlog Large(更大、更复杂/专业的内容)
      POST
    • 指令提示
      POST
    • 重述你的内容
      POST
    • 文本扩展
      POST
    • 关键词段落
      POST
    • 根据项目符号列表生成段落
      POST
    • 段落粉碎机
      POST
    • 生成产品文案
      POST
    • 上传文件
      POST
  • 高级功能接口
    • 验证你的文档
      POST
    • 多重声明检测
      POST
    • 多重声明检测与验证
      POST
  1. 高级功能接口

多重声明检测与验证

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/custom/api/v2/detect/verify/claims
此接口使您能够检测和验证内容声明。

请求参数

Header 参数

Body 参数application/json

示例

返回响应

🟢200成功
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/custom/api/v2/detect/verify/claims' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "blog": "<Blog you want to detect claims from>",
  "url": "<URL you want to detect claims from>",
  "blog_headline_topic: "<headline of Blog, or Blog Topic, the more accurate the topic, the better the algorithm in fact checking>"
}'
响应示例响应示例
{
        "status": "Success",
        "fact_check_results": [
          {
            "claim": "The motivations behind people's choice to shop online are diverse, ranging from the convenience it offers to the competitive prices available.",
            "reasoning": "The evidence provided does not contain any readable or understandable text that can be used to verify the statement. The text in the evidence appears to be corrupted or encoded, making it impossible to extract any information from it.",
            "factuality": "Need more information",
            "relevant_links": [
              {
                "fact": "<Fact cited in fact check>",
                "link": "<url to source of fact>",
                "score": 0.1234
              },
              {
                "fact": "<Fact cited in fact check>",
                "link": "<url to source of fact>",
                "score": 0.1234
              }
            ],
            "error": "The evidence provided is unreadable and cannot be used to verify the statement.",
            "correction": "No correction can be provided as the evidence is unreadable."
          }
        ]
      }
修改于 2024-02-20 05:47:47
上一页
多重声明检测
Built with