---
title: "AI68-2 Hiro LS Researcher-Obtain Result"
method: POST
path: "/chat/ai-ls-stream"
tags: ["Bio-Pharma Encyclopedia Q&A"]
---

# AI68-2 Hiro LS Researcher-Obtain Result

`POST /chat/ai-ls-stream`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/chat/ai-ls-stream`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/chat/ai-ls-stream/post.ts> (a function with typed inputs; its response is checked against the schema)

This interface supports inputting questions related to biomedicine. The Biomedical Encyclopedia Q&A aims to intelligently retrieve, analyze, and mine data in response to the posed questions, providing relevant biomedical knowledge, concept explanations, and encyclopedia information.

## Request body `text/event-stream`

- AI682ChatAiLsStreamRequest
  - `chat_id` string, required: Chat ID
  - `chat_item_id` string, required: Chat item ID

## Response `200`

Successful ai68-2 hiro ls researcher-obtain result response.

- AI682ChatAiLsStreamResponse
  - `data` AI682ChatAiLsStreamEurekalsChatResponse
    - `usage` AI682ChatAiLsStreamEurekalsChatUsage
      - `image_tokens` integer: Image tokens
      - `total_tokens` integer: Total tokens
      - `prompt_tokens` integer: Prompt tokens
      - `thinking_tokens` integer: Thinking tokens
      - `completion_tokens` integer: Completion tokens
      - `prompt_tokens_details` AI682ChatAiLsStreamEurekalsChatPromptTokensDetails
        - `audio_tokens` integer: Audio tokens
        - `cached_tokens` integer: Cached tokens
        - `cache_read_tokens` integer: Cache read tokens
        - `cached_creation_tokens` integer: Cached creation tokens
      - `completion_tokens_details` AI682ChatAiLsStreamEurekalsChatCompletionTokensDetails
        - `audio_tokens` integer: Audio tokens
        - `reasoning_tokens` integer: Reasoning tokens
        - `accepted_prediction_tokens` integer: Accepted prediction tokens
        - `rejected_prediction_tokens` integer: Rejected prediction tokens
    - `chat_id` string: Chat ID
    - `choices` AI682ChatAiLsStreamEurekalsChatChoice[]: Choices list
      - `delta` AI682ChatAiLsStreamEurekalsChatDelta
        - `role` string: Role
        - `content` string: Content
      - `index` integer: Index
      - `finish_reason` string: Finish reason
      - `content_filter_results` AI682ChatAiLsStreamEurekalsChatContentFilterResults
        - `hate` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
        - `sexual` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
        - `violence` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
        - `jailbreak` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
        - `profanity` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
        - `self_harm` AI682ChatAiLsStreamEurekalsChatFilterResult
          - `detected` boolean: Whether detected
          - `filtered` boolean: Whether filtered
    - `chat_item_id` string: Chat item ID
    - `system_fingerprint` string: System fingerprint
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
