改进 id 类型
This commit is contained in:
parent
c7af244252
commit
95156b96c2
@ -8,7 +8,8 @@ definitions:
|
|||||||
disable_default_prompt:
|
disable_default_prompt:
|
||||||
type: boolean
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
prompt:
|
prompt:
|
||||||
@ -25,7 +26,8 @@ definitions:
|
|||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
token:
|
token:
|
||||||
type: string
|
type: string
|
||||||
updated_at:
|
updated_at:
|
||||||
@ -38,7 +40,8 @@ definitions:
|
|||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
tool_id:
|
tool_id:
|
||||||
type: integer
|
type: integer
|
||||||
updated_at:
|
updated_at:
|
||||||
@ -53,7 +56,8 @@ definitions:
|
|||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
tool:
|
tool:
|
||||||
$ref: '#/definitions/rag-new_internal_entity.Tool'
|
$ref: '#/definitions/rag-new_internal_entity.Tool'
|
||||||
tool_id:
|
tool_id:
|
||||||
@ -72,7 +76,8 @@ definitions:
|
|||||||
guest_id:
|
guest_id:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
owner:
|
owner:
|
||||||
@ -86,15 +91,16 @@ definitions:
|
|||||||
properties:
|
properties:
|
||||||
assistant_id:
|
assistant_id:
|
||||||
type: integer
|
type: integer
|
||||||
|
completion_tokens:
|
||||||
|
type: integer
|
||||||
content:
|
content:
|
||||||
type: string
|
type: string
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
input_tokens:
|
type: string
|
||||||
type: integer
|
prompt_tokens:
|
||||||
output_tokens:
|
|
||||||
type: integer
|
type: integer
|
||||||
role:
|
role:
|
||||||
type: string
|
type: string
|
||||||
@ -116,7 +122,8 @@ definitions:
|
|||||||
discovery_url:
|
discovery_url:
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: integer
|
example: "0"
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
updated_at:
|
updated_at:
|
||||||
|
@ -452,10 +452,10 @@ export interface RagNewInternalEntityAssistant {
|
|||||||
'disable_default_prompt'?: boolean;
|
'disable_default_prompt'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityAssistant
|
* @memberof RagNewInternalEntityAssistant
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@ -501,10 +501,10 @@ export interface RagNewInternalEntityAssistantShare {
|
|||||||
'created_at'?: string;
|
'created_at'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityAssistantShare
|
* @memberof RagNewInternalEntityAssistantShare
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@ -538,10 +538,10 @@ export interface RagNewInternalEntityAssistantTool {
|
|||||||
'created_at'?: string;
|
'created_at'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityAssistantTool
|
* @memberof RagNewInternalEntityAssistantTool
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
@ -581,10 +581,10 @@ export interface RagNewInternalEntityAssistantToolType {
|
|||||||
'created_at'?: string;
|
'created_at'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityAssistantToolType
|
* @memberof RagNewInternalEntityAssistantToolType
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {RagNewInternalEntityTool}
|
* @type {RagNewInternalEntityTool}
|
||||||
@ -636,10 +636,10 @@ export interface RagNewInternalEntityChat {
|
|||||||
'guest_id'?: string;
|
'guest_id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityChat
|
* @memberof RagNewInternalEntityChat
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@ -677,6 +677,12 @@ export interface RagNewInternalEntityChatMessage {
|
|||||||
* @memberof RagNewInternalEntityChatMessage
|
* @memberof RagNewInternalEntityChatMessage
|
||||||
*/
|
*/
|
||||||
'assistant_id'?: number;
|
'assistant_id'?: number;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {number}
|
||||||
|
* @memberof RagNewInternalEntityChatMessage
|
||||||
|
*/
|
||||||
|
'completion_tokens'?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@ -691,22 +697,16 @@ export interface RagNewInternalEntityChatMessage {
|
|||||||
'created_at'?: string;
|
'created_at'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityChatMessage
|
* @memberof RagNewInternalEntityChatMessage
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof RagNewInternalEntityChatMessage
|
* @memberof RagNewInternalEntityChatMessage
|
||||||
*/
|
*/
|
||||||
'input_tokens'?: number;
|
'prompt_tokens'?: number;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {number}
|
|
||||||
* @memberof RagNewInternalEntityChatMessage
|
|
||||||
*/
|
|
||||||
'output_tokens'?: number;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@ -764,10 +764,10 @@ export interface RagNewInternalEntityTool {
|
|||||||
'discovery_url'?: string;
|
'discovery_url'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {string}
|
||||||
* @memberof RagNewInternalEntityTool
|
* @memberof RagNewInternalEntityTool
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
Loading…
Reference in New Issue
Block a user