重新生成 API 代码
增加 助理网络浏览和网络搜索开关
This commit is contained in:
parent
f46254b323
commit
809405f3d9
@ -7,8 +7,12 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
disable_default_prompt:
|
disable_default_prompt:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
disable_internet_search:
|
||||||
|
type: boolean
|
||||||
disable_memory:
|
disable_memory:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
disable_web_browsing:
|
||||||
|
type: boolean
|
||||||
enable_memory_for_assistant_api:
|
enable_memory_for_assistant_api:
|
||||||
type: boolean
|
type: boolean
|
||||||
id:
|
id:
|
||||||
@ -369,11 +373,21 @@ definitions:
|
|||||||
- true
|
- true
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
disable_internet_search:
|
||||||
|
enum:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
disable_memory:
|
disable_memory:
|
||||||
enum:
|
enum:
|
||||||
- true
|
- true
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
disable_web_browsing:
|
||||||
|
enum:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
enable_memory_for_assistant_api:
|
enable_memory_for_assistant_api:
|
||||||
enum:
|
enum:
|
||||||
- true
|
- true
|
||||||
|
@ -748,12 +748,24 @@ export interface EntityAssistant {
|
|||||||
* @memberof EntityAssistant
|
* @memberof EntityAssistant
|
||||||
*/
|
*/
|
||||||
'disable_default_prompt'?: boolean;
|
'disable_default_prompt'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof EntityAssistant
|
||||||
|
*/
|
||||||
|
'disable_internet_search'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof EntityAssistant
|
* @memberof EntityAssistant
|
||||||
*/
|
*/
|
||||||
'disable_memory'?: boolean;
|
'disable_memory'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof EntityAssistant
|
||||||
|
*/
|
||||||
|
'disable_web_browsing'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
@ -1612,12 +1624,24 @@ export interface SchemaAssistantUpdateRequest {
|
|||||||
* @memberof SchemaAssistantUpdateRequest
|
* @memberof SchemaAssistantUpdateRequest
|
||||||
*/
|
*/
|
||||||
'disable_default_prompt'?: boolean;
|
'disable_default_prompt'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof SchemaAssistantUpdateRequest
|
||||||
|
*/
|
||||||
|
'disable_internet_search'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof SchemaAssistantUpdateRequest
|
* @memberof SchemaAssistantUpdateRequest
|
||||||
*/
|
*/
|
||||||
'disable_memory'?: boolean;
|
'disable_memory'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof SchemaAssistantUpdateRequest
|
||||||
|
*/
|
||||||
|
'disable_web_browsing'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
@ -93,6 +93,22 @@
|
|||||||
禁用默认提示词
|
禁用默认提示词
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<n-switch
|
||||||
|
v-model:value="currentAssistant.disable_internet_search"
|
||||||
|
>
|
||||||
|
</n-switch>
|
||||||
|
禁用网络搜索
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<n-switch
|
||||||
|
v-model:value="currentAssistant.disable_web_browsing"
|
||||||
|
>
|
||||||
|
</n-switch>
|
||||||
|
禁用网页浏览
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<n-switch v-model:value="currentAssistant.disable_memory">
|
<n-switch v-model:value="currentAssistant.disable_memory">
|
||||||
</n-switch>
|
</n-switch>
|
||||||
@ -110,10 +126,10 @@
|
|||||||
允许助理 API 读取记忆
|
允许助理 API 读取记忆
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<!-- <div>
|
||||||
<n-switch v-model:value="currentAssistant.public"> </n-switch>
|
<n-switch v-model:value="currentAssistant.public"> </n-switch>
|
||||||
公开分享助理(弃用)
|
公开分享助理(弃用)
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
话语随机性 (Temperature)
|
话语随机性 (Temperature)
|
||||||
|
Loading…
Reference in New Issue
Block a user