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