Mika Scraper / GradioChatOutput
Interface: GradioChatOutput
Defined in: src/deepseek-r1/deepseek.ts:29
Represents the detailed structure of the output
object returned by the DeepSeek API.
Properties
data
data: [[[
string
,string
]],string
]
Defined in: src/deepseek-r1/deepseek.ts:34
The data
property represents the actual results from the chat interaction. It is structured as an array containing pairs of input and response text, formatted as follows:
[[[inputText, responseText]], ""]
This structure allows for organizing multiple interactions in the same response.
is_generating
is_generating:
boolean
Defined in: src/deepseek-r1/deepseek.ts:35
Indicates whether the system is currently processing a request. This property can be used to manage user interface states, such as disabling user input while a response is being generated.
duration
duration:
number
Defined in: src/deepseek-r1/deepseek.ts:36
Represents the total time taken to generate the response, measured in milliseconds. This metric can be useful for performance monitoring and optimizations.
average_duration
average_duration:
number
Defined in: src/deepseek-r1/deepseek.ts:37
Provides the average duration of response generation over multiple interactions, also measured in milliseconds. This property can aid in analyzing system performance over time.
render_config
render_config:
any
Defined in: src/deepseek-r1/deepseek.ts:38
Holds configuration settings used for rendering the output. The structure and format of this property can be defined by the specific implementation of the rendering system.
changed_state_ids
changed_state_ids:
string[]
Defined in: src/deepseek-r1/deepseek.ts:39
An array of identifiers representing the states that have changed as a result of the chat response. This can be used to track which parts of the application need to be updated or re-rendered in response to the new output.