@shenghuabi/openai 1.1.47 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1990 +0,0 @@
1
- import * as v from 'valibot';
2
- export declare const ChatItemDefine: v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
4
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
5
- readonly enumOptions: {
6
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
7
- description: string;
8
- }[];
9
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
10
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
11
- name: string;
12
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
13
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
14
- name: string;
15
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
16
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
17
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
18
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
19
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
20
- baseURL: string;
21
- model: string;
22
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
23
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
24
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
25
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
26
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
27
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
28
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
29
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
30
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
31
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
32
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
33
- max_tokens: number;
34
- top_p: number;
35
- temperature: number;
36
- frequency_penalty?: number | undefined;
37
- presence_penalty?: number | undefined;
38
- seed?: number | undefined;
39
- stop?: string[] | undefined;
40
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
41
- max_tokens: number;
42
- top_p: number;
43
- temperature: number;
44
- frequency_penalty?: number | undefined;
45
- presence_penalty?: number | undefined;
46
- seed?: number | undefined;
47
- stop?: string[] | undefined;
48
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
49
- name: string;
50
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
51
- } & {
52
- baseURL: string;
53
- model: string;
54
- } & {
55
- apiKey?: string | undefined;
56
- } & {
57
- max_tokens: number;
58
- top_p: number;
59
- temperature: number;
60
- frequency_penalty?: number | undefined;
61
- presence_penalty?: number | undefined;
62
- seed?: number | undefined;
63
- stop?: string[] | undefined;
64
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
65
- name: string;
66
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
67
- } & {
68
- baseURL: string;
69
- model: string;
70
- } & {
71
- apiKey?: string | undefined;
72
- } & {
73
- max_tokens: number;
74
- top_p: number;
75
- temperature: number;
76
- frequency_penalty?: number | undefined;
77
- presence_penalty?: number | undefined;
78
- seed?: number | undefined;
79
- stop?: string[] | undefined;
80
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
81
- name: string;
82
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
83
- } & {
84
- baseURL: string;
85
- model: string;
86
- } & {
87
- apiKey?: string | undefined;
88
- } & {
89
- max_tokens: number;
90
- top_p: number;
91
- temperature: number;
92
- frequency_penalty?: number | undefined;
93
- presence_penalty?: number | undefined;
94
- seed?: number | undefined;
95
- stop?: string[] | undefined;
96
- }>]>;
97
- export declare const VendorOptionsDefine: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
98
- /** @internal */
99
- readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
100
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
101
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
102
- readonly enumOptions: {
103
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
104
- description: string;
105
- }[];
106
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
107
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
108
- name: string;
109
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
110
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
111
- name: string;
112
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
113
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
114
- readonly entries: Omit<{
115
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
116
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
117
- readonly enumOptions: {
118
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
119
- description: string;
120
- }[];
121
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
122
- }, "name">;
123
- readonly "~standard": v.StandardProps<{
124
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
125
- }, {
126
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
127
- }>;
128
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
129
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
130
- }, v.PicklistIssue | v.ObjectIssue>;
131
- readonly "~types"?: {
132
- readonly input: {
133
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
134
- };
135
- readonly output: {
136
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
137
- };
138
- readonly issue: v.PicklistIssue | v.ObjectIssue;
139
- } | undefined;
140
- }, "entries" | "~standard" | "~run" | "~types"> & {
141
- readonly entries: Omit<Omit<{
142
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
143
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
144
- readonly enumOptions: {
145
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
146
- description: string;
147
- }[];
148
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
149
- }, "name">, "vendor">;
150
- readonly "~standard": v.StandardProps<{}, {}>;
151
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
152
- readonly "~types"?: {
153
- readonly input: {};
154
- readonly output: {};
155
- readonly issue: v.ObjectIssue;
156
- } | undefined;
157
- }, v.SchemaWithPipe<readonly [v.ObjectSchema<{
158
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
159
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
160
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
161
- baseURL: string;
162
- model: string;
163
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
164
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
165
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
166
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
167
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
168
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
169
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
170
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
171
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
172
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
173
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
174
- max_tokens: number;
175
- top_p: number;
176
- temperature: number;
177
- frequency_penalty?: number | undefined;
178
- presence_penalty?: number | undefined;
179
- seed?: number | undefined;
180
- stop?: string[] | undefined;
181
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
182
- max_tokens: number;
183
- top_p: number;
184
- temperature: number;
185
- frequency_penalty?: number | undefined;
186
- presence_penalty?: number | undefined;
187
- seed?: number | undefined;
188
- stop?: string[] | undefined;
189
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
190
- name: string;
191
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
192
- } & {
193
- baseURL: string;
194
- model: string;
195
- } & {
196
- apiKey?: string | undefined;
197
- } & {
198
- max_tokens: number;
199
- top_p: number;
200
- temperature: number;
201
- frequency_penalty?: number | undefined;
202
- presence_penalty?: number | undefined;
203
- seed?: number | undefined;
204
- stop?: string[] | undefined;
205
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
206
- name: string;
207
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
208
- } & {
209
- baseURL: string;
210
- model: string;
211
- } & {
212
- apiKey?: string | undefined;
213
- } & {
214
- max_tokens: number;
215
- top_p: number;
216
- temperature: number;
217
- frequency_penalty?: number | undefined;
218
- presence_penalty?: number | undefined;
219
- seed?: number | undefined;
220
- stop?: string[] | undefined;
221
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
222
- name: string;
223
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
224
- } & {
225
- baseURL: string;
226
- model: string;
227
- } & {
228
- apiKey?: string | undefined;
229
- } & {
230
- max_tokens: number;
231
- top_p: number;
232
- temperature: number;
233
- frequency_penalty?: number | undefined;
234
- presence_penalty?: number | undefined;
235
- seed?: number | undefined;
236
- stop?: string[] | undefined;
237
- }>]>, undefined>, v.DescriptionAction<({
238
- name: string;
239
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
240
- } & {
241
- baseURL: string;
242
- model: string;
243
- } & {
244
- apiKey?: string | undefined;
245
- } & {
246
- max_tokens: number;
247
- top_p: number;
248
- temperature: number;
249
- frequency_penalty?: number | undefined;
250
- presence_penalty?: number | undefined;
251
- seed?: number | undefined;
252
- stop?: string[] | undefined;
253
- }) | undefined, "附加配置">]>;
254
- }, undefined>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
255
- extraOptions?: ({
256
- name: string;
257
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
258
- } & {
259
- baseURL: string;
260
- model: string;
261
- } & {
262
- apiKey?: string | undefined;
263
- } & {
264
- max_tokens: number;
265
- top_p: number;
266
- temperature: number;
267
- frequency_penalty?: number | undefined;
268
- presence_penalty?: number | undefined;
269
- seed?: number | undefined;
270
- stop?: string[] | undefined;
271
- }) | undefined;
272
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
273
- extraOptions?: ({
274
- name: string;
275
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
276
- } & {
277
- baseURL: string;
278
- model: string;
279
- } & {
280
- apiKey?: string | undefined;
281
- } & {
282
- max_tokens: number;
283
- top_p: number;
284
- temperature: number;
285
- frequency_penalty?: number | undefined;
286
- presence_penalty?: number | undefined;
287
- seed?: number | undefined;
288
- stop?: string[] | undefined;
289
- }) | undefined;
290
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
291
- extraOptions?: ({
292
- name: string;
293
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
294
- } & {
295
- baseURL: string;
296
- model: string;
297
- } & {
298
- apiKey?: string | undefined;
299
- } & {
300
- max_tokens: number;
301
- top_p: number;
302
- temperature: number;
303
- frequency_penalty?: number | undefined;
304
- presence_penalty?: number | undefined;
305
- seed?: number | undefined;
306
- stop?: string[] | undefined;
307
- }) | undefined;
308
- }>]>, undefined>, undefined>, v.DescriptionAction<{
309
- [x: string]: {
310
- extraOptions?: ({
311
- name: string;
312
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
313
- } & {
314
- baseURL: string;
315
- model: string;
316
- } & {
317
- apiKey?: string | undefined;
318
- } & {
319
- max_tokens: number;
320
- top_p: number;
321
- temperature: number;
322
- frequency_penalty?: number | undefined;
323
- presence_penalty?: number | undefined;
324
- seed?: number | undefined;
325
- stop?: string[] | undefined;
326
- }) | undefined;
327
- };
328
- } | undefined, "## 通用参数\n- `extraOptions`字段用于覆盖默认字段\n```json\n{\"厂商名(与vendor字段相同)\":{ \"extraOptions\":{\"temperature\":0.1,\"topP\":0.8,\"maxTokens\":8192,\"baseURL\":\"http://127.0.0.1:11434/v1\",\"apiKey\":\" \"} }\n```\n">, import("@piying/valibot-visit").DefineTypeAction<{
329
- [x: string]: {
330
- extraOptions?: ({
331
- name: string;
332
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
333
- } & {
334
- baseURL: string;
335
- model: string;
336
- } & {
337
- apiKey?: string | undefined;
338
- } & {
339
- max_tokens: number;
340
- top_p: number;
341
- temperature: number;
342
- frequency_penalty?: number | undefined;
343
- presence_penalty?: number | undefined;
344
- seed?: number | undefined;
345
- stop?: string[] | undefined;
346
- }) | undefined;
347
- };
348
- } | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
349
- [x: string]: {
350
- extraOptions?: ({
351
- name: string;
352
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
353
- } & {
354
- baseURL: string;
355
- model: string;
356
- } & {
357
- apiKey?: string | undefined;
358
- } & {
359
- max_tokens: number;
360
- top_p: number;
361
- temperature: number;
362
- frequency_penalty?: number | undefined;
363
- presence_penalty?: number | undefined;
364
- seed?: number | undefined;
365
- stop?: string[] | undefined;
366
- }) | undefined;
367
- };
368
- } | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<{
369
- [x: string]: {
370
- extraOptions?: ({
371
- name: string;
372
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
373
- } & {
374
- baseURL: string;
375
- model: string;
376
- } & {
377
- apiKey?: string | undefined;
378
- } & {
379
- max_tokens: number;
380
- top_p: number;
381
- temperature: number;
382
- frequency_penalty?: number | undefined;
383
- presence_penalty?: number | undefined;
384
- seed?: number | undefined;
385
- stop?: string[] | undefined;
386
- }) | undefined;
387
- };
388
- } | undefined, "厂商额外配置">]>;
389
- export declare const ChatParamsItemDefine: v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
390
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
391
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
392
- readonly enumOptions: {
393
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
394
- description: string;
395
- }[];
396
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
397
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
398
- name: string;
399
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
400
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
401
- name: string;
402
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
403
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
404
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
405
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
406
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
407
- baseURL: string;
408
- model: string;
409
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
410
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
411
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
412
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
413
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
414
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
415
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
416
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
417
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
418
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
419
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
420
- max_tokens: number;
421
- top_p: number;
422
- temperature: number;
423
- frequency_penalty?: number | undefined;
424
- presence_penalty?: number | undefined;
425
- seed?: number | undefined;
426
- stop?: string[] | undefined;
427
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
428
- max_tokens: number;
429
- top_p: number;
430
- temperature: number;
431
- frequency_penalty?: number | undefined;
432
- presence_penalty?: number | undefined;
433
- seed?: number | undefined;
434
- stop?: string[] | undefined;
435
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
436
- name: string;
437
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
438
- } & {
439
- baseURL: string;
440
- model: string;
441
- } & {
442
- apiKey?: string | undefined;
443
- } & {
444
- max_tokens: number;
445
- top_p: number;
446
- temperature: number;
447
- frequency_penalty?: number | undefined;
448
- presence_penalty?: number | undefined;
449
- seed?: number | undefined;
450
- stop?: string[] | undefined;
451
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
452
- name: string;
453
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
454
- } & {
455
- baseURL: string;
456
- model: string;
457
- } & {
458
- apiKey?: string | undefined;
459
- } & {
460
- max_tokens: number;
461
- top_p: number;
462
- temperature: number;
463
- frequency_penalty?: number | undefined;
464
- presence_penalty?: number | undefined;
465
- seed?: number | undefined;
466
- stop?: string[] | undefined;
467
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
468
- name: string;
469
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
470
- } & {
471
- baseURL: string;
472
- model: string;
473
- } & {
474
- apiKey?: string | undefined;
475
- } & {
476
- max_tokens: number;
477
- top_p: number;
478
- temperature: number;
479
- frequency_penalty?: number | undefined;
480
- presence_penalty?: number | undefined;
481
- seed?: number | undefined;
482
- stop?: string[] | undefined;
483
- }>]>, v.ObjectSchema<{
484
- readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
485
- /** @internal */
486
- readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
487
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
488
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
489
- readonly enumOptions: {
490
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
491
- description: string;
492
- }[];
493
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
494
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
495
- name: string;
496
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
497
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
498
- name: string;
499
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
500
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
501
- readonly entries: Omit<{
502
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
503
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
504
- readonly enumOptions: {
505
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
506
- description: string;
507
- }[];
508
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
509
- }, "name">;
510
- readonly "~standard": v.StandardProps<{
511
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
512
- }, {
513
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
514
- }>;
515
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
516
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
517
- }, v.PicklistIssue | v.ObjectIssue>;
518
- readonly "~types"?: {
519
- readonly input: {
520
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
521
- };
522
- readonly output: {
523
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
524
- };
525
- readonly issue: v.PicklistIssue | v.ObjectIssue;
526
- } | undefined;
527
- }, "entries" | "~standard" | "~run" | "~types"> & {
528
- readonly entries: Omit<Omit<{
529
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
530
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
531
- readonly enumOptions: {
532
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
533
- description: string;
534
- }[];
535
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
536
- }, "name">, "vendor">;
537
- readonly "~standard": v.StandardProps<{}, {}>;
538
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
539
- readonly "~types"?: {
540
- readonly input: {};
541
- readonly output: {};
542
- readonly issue: v.ObjectIssue;
543
- } | undefined;
544
- }, v.SchemaWithPipe<readonly [v.ObjectSchema<{
545
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
546
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
547
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
548
- baseURL: string;
549
- model: string;
550
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
551
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
552
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
553
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
554
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
555
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
556
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
557
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
558
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
559
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
560
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
561
- max_tokens: number;
562
- top_p: number;
563
- temperature: number;
564
- frequency_penalty?: number | undefined;
565
- presence_penalty?: number | undefined;
566
- seed?: number | undefined;
567
- stop?: string[] | undefined;
568
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
569
- max_tokens: number;
570
- top_p: number;
571
- temperature: number;
572
- frequency_penalty?: number | undefined;
573
- presence_penalty?: number | undefined;
574
- seed?: number | undefined;
575
- stop?: string[] | undefined;
576
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
577
- name: string;
578
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
579
- } & {
580
- baseURL: string;
581
- model: string;
582
- } & {
583
- apiKey?: string | undefined;
584
- } & {
585
- max_tokens: number;
586
- top_p: number;
587
- temperature: number;
588
- frequency_penalty?: number | undefined;
589
- presence_penalty?: number | undefined;
590
- seed?: number | undefined;
591
- stop?: string[] | undefined;
592
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
593
- name: string;
594
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
595
- } & {
596
- baseURL: string;
597
- model: string;
598
- } & {
599
- apiKey?: string | undefined;
600
- } & {
601
- max_tokens: number;
602
- top_p: number;
603
- temperature: number;
604
- frequency_penalty?: number | undefined;
605
- presence_penalty?: number | undefined;
606
- seed?: number | undefined;
607
- stop?: string[] | undefined;
608
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
609
- name: string;
610
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
611
- } & {
612
- baseURL: string;
613
- model: string;
614
- } & {
615
- apiKey?: string | undefined;
616
- } & {
617
- max_tokens: number;
618
- top_p: number;
619
- temperature: number;
620
- frequency_penalty?: number | undefined;
621
- presence_penalty?: number | undefined;
622
- seed?: number | undefined;
623
- stop?: string[] | undefined;
624
- }>]>, undefined>, v.DescriptionAction<({
625
- name: string;
626
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
627
- } & {
628
- baseURL: string;
629
- model: string;
630
- } & {
631
- apiKey?: string | undefined;
632
- } & {
633
- max_tokens: number;
634
- top_p: number;
635
- temperature: number;
636
- frequency_penalty?: number | undefined;
637
- presence_penalty?: number | undefined;
638
- seed?: number | undefined;
639
- stop?: string[] | undefined;
640
- }) | undefined, "附加配置">]>;
641
- }, undefined>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
642
- extraOptions?: ({
643
- name: string;
644
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
645
- } & {
646
- baseURL: string;
647
- model: string;
648
- } & {
649
- apiKey?: string | undefined;
650
- } & {
651
- max_tokens: number;
652
- top_p: number;
653
- temperature: number;
654
- frequency_penalty?: number | undefined;
655
- presence_penalty?: number | undefined;
656
- seed?: number | undefined;
657
- stop?: string[] | undefined;
658
- }) | undefined;
659
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
660
- extraOptions?: ({
661
- name: string;
662
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
663
- } & {
664
- baseURL: string;
665
- model: string;
666
- } & {
667
- apiKey?: string | undefined;
668
- } & {
669
- max_tokens: number;
670
- top_p: number;
671
- temperature: number;
672
- frequency_penalty?: number | undefined;
673
- presence_penalty?: number | undefined;
674
- seed?: number | undefined;
675
- stop?: string[] | undefined;
676
- }) | undefined;
677
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
678
- extraOptions?: ({
679
- name: string;
680
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
681
- } & {
682
- baseURL: string;
683
- model: string;
684
- } & {
685
- apiKey?: string | undefined;
686
- } & {
687
- max_tokens: number;
688
- top_p: number;
689
- temperature: number;
690
- frequency_penalty?: number | undefined;
691
- presence_penalty?: number | undefined;
692
- seed?: number | undefined;
693
- stop?: string[] | undefined;
694
- }) | undefined;
695
- }>]>, undefined>, undefined>, v.DescriptionAction<{
696
- [x: string]: {
697
- extraOptions?: ({
698
- name: string;
699
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
700
- } & {
701
- baseURL: string;
702
- model: string;
703
- } & {
704
- apiKey?: string | undefined;
705
- } & {
706
- max_tokens: number;
707
- top_p: number;
708
- temperature: number;
709
- frequency_penalty?: number | undefined;
710
- presence_penalty?: number | undefined;
711
- seed?: number | undefined;
712
- stop?: string[] | undefined;
713
- }) | undefined;
714
- };
715
- } | undefined, "## 通用参数\n- `extraOptions`字段用于覆盖默认字段\n```json\n{\"厂商名(与vendor字段相同)\":{ \"extraOptions\":{\"temperature\":0.1,\"topP\":0.8,\"maxTokens\":8192,\"baseURL\":\"http://127.0.0.1:11434/v1\",\"apiKey\":\" \"} }\n```\n">, import("@piying/valibot-visit").DefineTypeAction<{
716
- [x: string]: {
717
- extraOptions?: ({
718
- name: string;
719
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
720
- } & {
721
- baseURL: string;
722
- model: string;
723
- } & {
724
- apiKey?: string | undefined;
725
- } & {
726
- max_tokens: number;
727
- top_p: number;
728
- temperature: number;
729
- frequency_penalty?: number | undefined;
730
- presence_penalty?: number | undefined;
731
- seed?: number | undefined;
732
- stop?: string[] | undefined;
733
- }) | undefined;
734
- };
735
- } | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
736
- [x: string]: {
737
- extraOptions?: ({
738
- name: string;
739
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
740
- } & {
741
- baseURL: string;
742
- model: string;
743
- } & {
744
- apiKey?: string | undefined;
745
- } & {
746
- max_tokens: number;
747
- top_p: number;
748
- temperature: number;
749
- frequency_penalty?: number | undefined;
750
- presence_penalty?: number | undefined;
751
- seed?: number | undefined;
752
- stop?: string[] | undefined;
753
- }) | undefined;
754
- };
755
- } | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<{
756
- [x: string]: {
757
- extraOptions?: ({
758
- name: string;
759
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
760
- } & {
761
- baseURL: string;
762
- model: string;
763
- } & {
764
- apiKey?: string | undefined;
765
- } & {
766
- max_tokens: number;
767
- top_p: number;
768
- temperature: number;
769
- frequency_penalty?: number | undefined;
770
- presence_penalty?: number | undefined;
771
- seed?: number | undefined;
772
- stop?: string[] | undefined;
773
- }) | undefined;
774
- };
775
- } | undefined, "厂商额外配置">]>;
776
- }, undefined>], undefined>, import("@piying/valibot-visit").VirtualGroupAction<{
777
- name: string;
778
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
779
- } & {
780
- baseURL: string;
781
- model: string;
782
- } & {
783
- apiKey?: string | undefined;
784
- } & {
785
- max_tokens: number;
786
- top_p: number;
787
- temperature: number;
788
- frequency_penalty?: number | undefined;
789
- presence_penalty?: number | undefined;
790
- seed?: number | undefined;
791
- stop?: string[] | undefined;
792
- } & {
793
- vendorOptions?: {
794
- [x: string]: {
795
- extraOptions?: ({
796
- name: string;
797
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
798
- } & {
799
- baseURL: string;
800
- model: string;
801
- } & {
802
- apiKey?: string | undefined;
803
- } & {
804
- max_tokens: number;
805
- top_p: number;
806
- temperature: number;
807
- frequency_penalty?: number | undefined;
808
- presence_penalty?: number | undefined;
809
- seed?: number | undefined;
810
- stop?: string[] | undefined;
811
- }) | undefined;
812
- };
813
- } | undefined;
814
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
815
- name: string;
816
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
817
- } & {
818
- baseURL: string;
819
- model: string;
820
- } & {
821
- apiKey?: string | undefined;
822
- } & {
823
- max_tokens: number;
824
- top_p: number;
825
- temperature: number;
826
- frequency_penalty?: number | undefined;
827
- presence_penalty?: number | undefined;
828
- seed?: number | undefined;
829
- stop?: string[] | undefined;
830
- } & {
831
- vendorOptions?: {
832
- [x: string]: {
833
- extraOptions?: ({
834
- name: string;
835
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
836
- } & {
837
- baseURL: string;
838
- model: string;
839
- } & {
840
- apiKey?: string | undefined;
841
- } & {
842
- max_tokens: number;
843
- top_p: number;
844
- temperature: number;
845
- frequency_penalty?: number | undefined;
846
- presence_penalty?: number | undefined;
847
- seed?: number | undefined;
848
- stop?: string[] | undefined;
849
- }) | undefined;
850
- };
851
- } | undefined;
852
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
853
- name: string;
854
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
855
- } & {
856
- baseURL: string;
857
- model: string;
858
- } & {
859
- apiKey?: string | undefined;
860
- } & {
861
- max_tokens: number;
862
- top_p: number;
863
- temperature: number;
864
- frequency_penalty?: number | undefined;
865
- presence_penalty?: number | undefined;
866
- seed?: number | undefined;
867
- stop?: string[] | undefined;
868
- } & {
869
- vendorOptions?: {
870
- [x: string]: {
871
- extraOptions?: ({
872
- name: string;
873
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
874
- } & {
875
- baseURL: string;
876
- model: string;
877
- } & {
878
- apiKey?: string | undefined;
879
- } & {
880
- max_tokens: number;
881
- top_p: number;
882
- temperature: number;
883
- frequency_penalty?: number | undefined;
884
- presence_penalty?: number | undefined;
885
- seed?: number | undefined;
886
- stop?: string[] | undefined;
887
- }) | undefined;
888
- };
889
- } | undefined;
890
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
891
- export declare const ChatParamsListDefine: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
892
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
893
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
894
- readonly enumOptions: {
895
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
896
- description: string;
897
- }[];
898
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
899
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
900
- name: string;
901
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
902
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
903
- name: string;
904
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
905
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
906
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
907
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
908
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
909
- baseURL: string;
910
- model: string;
911
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
912
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
913
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
914
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
915
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
916
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
917
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
918
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
919
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
920
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
921
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
922
- max_tokens: number;
923
- top_p: number;
924
- temperature: number;
925
- frequency_penalty?: number | undefined;
926
- presence_penalty?: number | undefined;
927
- seed?: number | undefined;
928
- stop?: string[] | undefined;
929
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
930
- max_tokens: number;
931
- top_p: number;
932
- temperature: number;
933
- frequency_penalty?: number | undefined;
934
- presence_penalty?: number | undefined;
935
- seed?: number | undefined;
936
- stop?: string[] | undefined;
937
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
938
- name: string;
939
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
940
- } & {
941
- baseURL: string;
942
- model: string;
943
- } & {
944
- apiKey?: string | undefined;
945
- } & {
946
- max_tokens: number;
947
- top_p: number;
948
- temperature: number;
949
- frequency_penalty?: number | undefined;
950
- presence_penalty?: number | undefined;
951
- seed?: number | undefined;
952
- stop?: string[] | undefined;
953
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
954
- name: string;
955
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
956
- } & {
957
- baseURL: string;
958
- model: string;
959
- } & {
960
- apiKey?: string | undefined;
961
- } & {
962
- max_tokens: number;
963
- top_p: number;
964
- temperature: number;
965
- frequency_penalty?: number | undefined;
966
- presence_penalty?: number | undefined;
967
- seed?: number | undefined;
968
- stop?: string[] | undefined;
969
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
970
- name: string;
971
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
972
- } & {
973
- baseURL: string;
974
- model: string;
975
- } & {
976
- apiKey?: string | undefined;
977
- } & {
978
- max_tokens: number;
979
- top_p: number;
980
- temperature: number;
981
- frequency_penalty?: number | undefined;
982
- presence_penalty?: number | undefined;
983
- seed?: number | undefined;
984
- stop?: string[] | undefined;
985
- }>]>, v.ObjectSchema<{
986
- readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
987
- /** @internal */
988
- readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
989
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
990
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
991
- readonly enumOptions: {
992
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
993
- description: string;
994
- }[];
995
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
996
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
997
- name: string;
998
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
999
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1000
- name: string;
1001
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1002
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
1003
- readonly entries: Omit<{
1004
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1005
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1006
- readonly enumOptions: {
1007
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1008
- description: string;
1009
- }[];
1010
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1011
- }, "name">;
1012
- readonly "~standard": v.StandardProps<{
1013
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1014
- }, {
1015
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1016
- }>;
1017
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1018
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1019
- }, v.PicklistIssue | v.ObjectIssue>;
1020
- readonly "~types"?: {
1021
- readonly input: {
1022
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1023
- };
1024
- readonly output: {
1025
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1026
- };
1027
- readonly issue: v.PicklistIssue | v.ObjectIssue;
1028
- } | undefined;
1029
- }, "entries" | "~standard" | "~run" | "~types"> & {
1030
- readonly entries: Omit<Omit<{
1031
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1032
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1033
- readonly enumOptions: {
1034
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1035
- description: string;
1036
- }[];
1037
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1038
- }, "name">, "vendor">;
1039
- readonly "~standard": v.StandardProps<{}, {}>;
1040
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
1041
- readonly "~types"?: {
1042
- readonly input: {};
1043
- readonly output: {};
1044
- readonly issue: v.ObjectIssue;
1045
- } | undefined;
1046
- }, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1047
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
1048
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
1049
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1050
- baseURL: string;
1051
- model: string;
1052
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
1053
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
1054
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1055
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
1056
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
1057
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
1058
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
1059
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
1060
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
1061
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
1062
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1063
- max_tokens: number;
1064
- top_p: number;
1065
- temperature: number;
1066
- frequency_penalty?: number | undefined;
1067
- presence_penalty?: number | undefined;
1068
- seed?: number | undefined;
1069
- stop?: string[] | undefined;
1070
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1071
- max_tokens: number;
1072
- top_p: number;
1073
- temperature: number;
1074
- frequency_penalty?: number | undefined;
1075
- presence_penalty?: number | undefined;
1076
- seed?: number | undefined;
1077
- stop?: string[] | undefined;
1078
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1079
- name: string;
1080
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1081
- } & {
1082
- baseURL: string;
1083
- model: string;
1084
- } & {
1085
- apiKey?: string | undefined;
1086
- } & {
1087
- max_tokens: number;
1088
- top_p: number;
1089
- temperature: number;
1090
- frequency_penalty?: number | undefined;
1091
- presence_penalty?: number | undefined;
1092
- seed?: number | undefined;
1093
- stop?: string[] | undefined;
1094
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1095
- name: string;
1096
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1097
- } & {
1098
- baseURL: string;
1099
- model: string;
1100
- } & {
1101
- apiKey?: string | undefined;
1102
- } & {
1103
- max_tokens: number;
1104
- top_p: number;
1105
- temperature: number;
1106
- frequency_penalty?: number | undefined;
1107
- presence_penalty?: number | undefined;
1108
- seed?: number | undefined;
1109
- stop?: string[] | undefined;
1110
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
1111
- name: string;
1112
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1113
- } & {
1114
- baseURL: string;
1115
- model: string;
1116
- } & {
1117
- apiKey?: string | undefined;
1118
- } & {
1119
- max_tokens: number;
1120
- top_p: number;
1121
- temperature: number;
1122
- frequency_penalty?: number | undefined;
1123
- presence_penalty?: number | undefined;
1124
- seed?: number | undefined;
1125
- stop?: string[] | undefined;
1126
- }>]>, undefined>, v.DescriptionAction<({
1127
- name: string;
1128
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1129
- } & {
1130
- baseURL: string;
1131
- model: string;
1132
- } & {
1133
- apiKey?: string | undefined;
1134
- } & {
1135
- max_tokens: number;
1136
- top_p: number;
1137
- temperature: number;
1138
- frequency_penalty?: number | undefined;
1139
- presence_penalty?: number | undefined;
1140
- seed?: number | undefined;
1141
- stop?: string[] | undefined;
1142
- }) | undefined, "附加配置">]>;
1143
- }, undefined>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1144
- extraOptions?: ({
1145
- name: string;
1146
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1147
- } & {
1148
- baseURL: string;
1149
- model: string;
1150
- } & {
1151
- apiKey?: string | undefined;
1152
- } & {
1153
- max_tokens: number;
1154
- top_p: number;
1155
- temperature: number;
1156
- frequency_penalty?: number | undefined;
1157
- presence_penalty?: number | undefined;
1158
- seed?: number | undefined;
1159
- stop?: string[] | undefined;
1160
- }) | undefined;
1161
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1162
- extraOptions?: ({
1163
- name: string;
1164
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1165
- } & {
1166
- baseURL: string;
1167
- model: string;
1168
- } & {
1169
- apiKey?: string | undefined;
1170
- } & {
1171
- max_tokens: number;
1172
- top_p: number;
1173
- temperature: number;
1174
- frequency_penalty?: number | undefined;
1175
- presence_penalty?: number | undefined;
1176
- seed?: number | undefined;
1177
- stop?: string[] | undefined;
1178
- }) | undefined;
1179
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
1180
- extraOptions?: ({
1181
- name: string;
1182
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1183
- } & {
1184
- baseURL: string;
1185
- model: string;
1186
- } & {
1187
- apiKey?: string | undefined;
1188
- } & {
1189
- max_tokens: number;
1190
- top_p: number;
1191
- temperature: number;
1192
- frequency_penalty?: number | undefined;
1193
- presence_penalty?: number | undefined;
1194
- seed?: number | undefined;
1195
- stop?: string[] | undefined;
1196
- }) | undefined;
1197
- }>]>, undefined>, undefined>, v.DescriptionAction<{
1198
- [x: string]: {
1199
- extraOptions?: ({
1200
- name: string;
1201
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1202
- } & {
1203
- baseURL: string;
1204
- model: string;
1205
- } & {
1206
- apiKey?: string | undefined;
1207
- } & {
1208
- max_tokens: number;
1209
- top_p: number;
1210
- temperature: number;
1211
- frequency_penalty?: number | undefined;
1212
- presence_penalty?: number | undefined;
1213
- seed?: number | undefined;
1214
- stop?: string[] | undefined;
1215
- }) | undefined;
1216
- };
1217
- } | undefined, "## 通用参数\n- `extraOptions`字段用于覆盖默认字段\n```json\n{\"厂商名(与vendor字段相同)\":{ \"extraOptions\":{\"temperature\":0.1,\"topP\":0.8,\"maxTokens\":8192,\"baseURL\":\"http://127.0.0.1:11434/v1\",\"apiKey\":\" \"} }\n```\n">, import("@piying/valibot-visit").DefineTypeAction<{
1218
- [x: string]: {
1219
- extraOptions?: ({
1220
- name: string;
1221
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1222
- } & {
1223
- baseURL: string;
1224
- model: string;
1225
- } & {
1226
- apiKey?: string | undefined;
1227
- } & {
1228
- max_tokens: number;
1229
- top_p: number;
1230
- temperature: number;
1231
- frequency_penalty?: number | undefined;
1232
- presence_penalty?: number | undefined;
1233
- seed?: number | undefined;
1234
- stop?: string[] | undefined;
1235
- }) | undefined;
1236
- };
1237
- } | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1238
- [x: string]: {
1239
- extraOptions?: ({
1240
- name: string;
1241
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1242
- } & {
1243
- baseURL: string;
1244
- model: string;
1245
- } & {
1246
- apiKey?: string | undefined;
1247
- } & {
1248
- max_tokens: number;
1249
- top_p: number;
1250
- temperature: number;
1251
- frequency_penalty?: number | undefined;
1252
- presence_penalty?: number | undefined;
1253
- seed?: number | undefined;
1254
- stop?: string[] | undefined;
1255
- }) | undefined;
1256
- };
1257
- } | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<{
1258
- [x: string]: {
1259
- extraOptions?: ({
1260
- name: string;
1261
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1262
- } & {
1263
- baseURL: string;
1264
- model: string;
1265
- } & {
1266
- apiKey?: string | undefined;
1267
- } & {
1268
- max_tokens: number;
1269
- top_p: number;
1270
- temperature: number;
1271
- frequency_penalty?: number | undefined;
1272
- presence_penalty?: number | undefined;
1273
- seed?: number | undefined;
1274
- stop?: string[] | undefined;
1275
- }) | undefined;
1276
- };
1277
- } | undefined, "厂商额外配置">]>;
1278
- }, undefined>], undefined>, import("@piying/valibot-visit").VirtualGroupAction<{
1279
- name: string;
1280
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1281
- } & {
1282
- baseURL: string;
1283
- model: string;
1284
- } & {
1285
- apiKey?: string | undefined;
1286
- } & {
1287
- max_tokens: number;
1288
- top_p: number;
1289
- temperature: number;
1290
- frequency_penalty?: number | undefined;
1291
- presence_penalty?: number | undefined;
1292
- seed?: number | undefined;
1293
- stop?: string[] | undefined;
1294
- } & {
1295
- vendorOptions?: {
1296
- [x: string]: {
1297
- extraOptions?: ({
1298
- name: string;
1299
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1300
- } & {
1301
- baseURL: string;
1302
- model: string;
1303
- } & {
1304
- apiKey?: string | undefined;
1305
- } & {
1306
- max_tokens: number;
1307
- top_p: number;
1308
- temperature: number;
1309
- frequency_penalty?: number | undefined;
1310
- presence_penalty?: number | undefined;
1311
- seed?: number | undefined;
1312
- stop?: string[] | undefined;
1313
- }) | undefined;
1314
- };
1315
- } | undefined;
1316
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1317
- name: string;
1318
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1319
- } & {
1320
- baseURL: string;
1321
- model: string;
1322
- } & {
1323
- apiKey?: string | undefined;
1324
- } & {
1325
- max_tokens: number;
1326
- top_p: number;
1327
- temperature: number;
1328
- frequency_penalty?: number | undefined;
1329
- presence_penalty?: number | undefined;
1330
- seed?: number | undefined;
1331
- stop?: string[] | undefined;
1332
- } & {
1333
- vendorOptions?: {
1334
- [x: string]: {
1335
- extraOptions?: ({
1336
- name: string;
1337
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1338
- } & {
1339
- baseURL: string;
1340
- model: string;
1341
- } & {
1342
- apiKey?: string | undefined;
1343
- } & {
1344
- max_tokens: number;
1345
- top_p: number;
1346
- temperature: number;
1347
- frequency_penalty?: number | undefined;
1348
- presence_penalty?: number | undefined;
1349
- seed?: number | undefined;
1350
- stop?: string[] | undefined;
1351
- }) | undefined;
1352
- };
1353
- } | undefined;
1354
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1355
- name: string;
1356
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1357
- } & {
1358
- baseURL: string;
1359
- model: string;
1360
- } & {
1361
- apiKey?: string | undefined;
1362
- } & {
1363
- max_tokens: number;
1364
- top_p: number;
1365
- temperature: number;
1366
- frequency_penalty?: number | undefined;
1367
- presence_penalty?: number | undefined;
1368
- seed?: number | undefined;
1369
- stop?: string[] | undefined;
1370
- } & {
1371
- vendorOptions?: {
1372
- [x: string]: {
1373
- extraOptions?: ({
1374
- name: string;
1375
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1376
- } & {
1377
- baseURL: string;
1378
- model: string;
1379
- } & {
1380
- apiKey?: string | undefined;
1381
- } & {
1382
- max_tokens: number;
1383
- top_p: number;
1384
- temperature: number;
1385
- frequency_penalty?: number | undefined;
1386
- presence_penalty?: number | undefined;
1387
- seed?: number | undefined;
1388
- stop?: string[] | undefined;
1389
- }) | undefined;
1390
- };
1391
- } | undefined;
1392
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, undefined>, import("@piying/valibot-visit").DefineTypeAction<({
1393
- name: string;
1394
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1395
- } & {
1396
- baseURL: string;
1397
- model: string;
1398
- } & {
1399
- apiKey?: string | undefined;
1400
- } & {
1401
- max_tokens: number;
1402
- top_p: number;
1403
- temperature: number;
1404
- frequency_penalty?: number | undefined;
1405
- presence_penalty?: number | undefined;
1406
- seed?: number | undefined;
1407
- stop?: string[] | undefined;
1408
- } & {
1409
- vendorOptions?: {
1410
- [x: string]: {
1411
- extraOptions?: ({
1412
- name: string;
1413
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1414
- } & {
1415
- baseURL: string;
1416
- model: string;
1417
- } & {
1418
- apiKey?: string | undefined;
1419
- } & {
1420
- max_tokens: number;
1421
- top_p: number;
1422
- temperature: number;
1423
- frequency_penalty?: number | undefined;
1424
- presence_penalty?: number | undefined;
1425
- seed?: number | undefined;
1426
- stop?: string[] | undefined;
1427
- }) | undefined;
1428
- };
1429
- } | undefined;
1430
- })[]>, v.DescriptionAction<({
1431
- name: string;
1432
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1433
- } & {
1434
- baseURL: string;
1435
- model: string;
1436
- } & {
1437
- apiKey?: string | undefined;
1438
- } & {
1439
- max_tokens: number;
1440
- top_p: number;
1441
- temperature: number;
1442
- frequency_penalty?: number | undefined;
1443
- presence_penalty?: number | undefined;
1444
- seed?: number | undefined;
1445
- stop?: string[] | undefined;
1446
- } & {
1447
- vendorOptions?: {
1448
- [x: string]: {
1449
- extraOptions?: ({
1450
- name: string;
1451
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1452
- } & {
1453
- baseURL: string;
1454
- model: string;
1455
- } & {
1456
- apiKey?: string | undefined;
1457
- } & {
1458
- max_tokens: number;
1459
- top_p: number;
1460
- temperature: number;
1461
- frequency_penalty?: number | undefined;
1462
- presence_penalty?: number | undefined;
1463
- seed?: number | undefined;
1464
- stop?: string[] | undefined;
1465
- }) | undefined;
1466
- };
1467
- } | undefined;
1468
- })[], "对话模型列表,目前用于切换使用">, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", ({
1469
- name: string;
1470
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1471
- } & {
1472
- baseURL: string;
1473
- model: string;
1474
- } & {
1475
- apiKey?: string | undefined;
1476
- } & {
1477
- max_tokens: number;
1478
- top_p: number;
1479
- temperature: number;
1480
- frequency_penalty?: number | undefined;
1481
- presence_penalty?: number | undefined;
1482
- seed?: number | undefined;
1483
- stop?: string[] | undefined;
1484
- } & {
1485
- vendorOptions?: {
1486
- [x: string]: {
1487
- extraOptions?: ({
1488
- name: string;
1489
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1490
- } & {
1491
- baseURL: string;
1492
- model: string;
1493
- } & {
1494
- apiKey?: string | undefined;
1495
- } & {
1496
- max_tokens: number;
1497
- top_p: number;
1498
- temperature: number;
1499
- frequency_penalty?: number | undefined;
1500
- presence_penalty?: number | undefined;
1501
- seed?: number | undefined;
1502
- stop?: string[] | undefined;
1503
- }) | undefined;
1504
- };
1505
- } | undefined;
1506
- })[], import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1507
- export type ChatModelOptions = v.InferOutput<typeof ChatParamsItemDefine>;
1508
- export type ChatModelOptionsInput = v.InferInput<typeof ChatParamsItemDefine>;
1509
- export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.IntersectSchema<[v.IntersectSchema<[Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1510
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1511
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1512
- readonly enumOptions: {
1513
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1514
- description: string;
1515
- }[];
1516
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1517
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1518
- name: string;
1519
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1520
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1521
- name: string;
1522
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1523
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
1524
- readonly entries: Omit<{
1525
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1526
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1527
- readonly enumOptions: {
1528
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1529
- description: string;
1530
- }[];
1531
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1532
- }, "name">;
1533
- readonly "~standard": v.StandardProps<{
1534
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1535
- }, {
1536
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1537
- }>;
1538
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1539
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1540
- }, v.PicklistIssue | v.ObjectIssue>;
1541
- readonly "~types"?: {
1542
- readonly input: {
1543
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1544
- };
1545
- readonly output: {
1546
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1547
- };
1548
- readonly issue: v.PicklistIssue | v.ObjectIssue;
1549
- } | undefined;
1550
- }, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1551
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
1552
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
1553
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1554
- baseURL: string;
1555
- model: string;
1556
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
1557
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
1558
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1559
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
1560
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
1561
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
1562
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
1563
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
1564
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
1565
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
1566
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1567
- max_tokens: number;
1568
- top_p: number;
1569
- temperature: number;
1570
- frequency_penalty?: number | undefined;
1571
- presence_penalty?: number | undefined;
1572
- seed?: number | undefined;
1573
- stop?: string[] | undefined;
1574
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1575
- max_tokens: number;
1576
- top_p: number;
1577
- temperature: number;
1578
- frequency_penalty?: number | undefined;
1579
- presence_penalty?: number | undefined;
1580
- seed?: number | undefined;
1581
- stop?: string[] | undefined;
1582
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, v.ObjectSchema<{
1583
- readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
1584
- /** @internal */
1585
- readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1586
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1587
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1588
- readonly enumOptions: {
1589
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1590
- description: string;
1591
- }[];
1592
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1593
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1594
- name: string;
1595
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1596
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1597
- name: string;
1598
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1599
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
1600
- readonly entries: Omit<{
1601
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1602
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1603
- readonly enumOptions: {
1604
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1605
- description: string;
1606
- }[];
1607
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1608
- }, "name">;
1609
- readonly "~standard": v.StandardProps<{
1610
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1611
- }, {
1612
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1613
- }>;
1614
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1615
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1616
- }, v.PicklistIssue | v.ObjectIssue>;
1617
- readonly "~types"?: {
1618
- readonly input: {
1619
- vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
1620
- };
1621
- readonly output: {
1622
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1623
- };
1624
- readonly issue: v.PicklistIssue | v.ObjectIssue;
1625
- } | undefined;
1626
- }, "entries" | "~standard" | "~run" | "~types"> & {
1627
- readonly entries: Omit<Omit<{
1628
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
1629
- readonly vendor: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<("deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude")[], undefined>, "openai">, v.DescriptionAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "大语言模型提供的厂商">, v.TitleAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", "对话厂商">, v.MetadataAction<"deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", {
1630
- readonly enumOptions: {
1631
- label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1632
- description: string;
1633
- }[];
1634
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude", import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1635
- }, "name">, "vendor">;
1636
- readonly "~standard": v.StandardProps<{}, {}>;
1637
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
1638
- readonly "~types"?: {
1639
- readonly input: {};
1640
- readonly output: {};
1641
- readonly issue: v.ObjectIssue;
1642
- } | undefined;
1643
- }, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1644
- readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
1645
- readonly model: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "qwen3:8b">, v.TitleAction<string, "模型">, v.DescriptionAction<string, "## 模型名\n### ollama模型推荐\n- `qwen3:8b`\n- `qwen3:14b`,`deepseek-r1:7b`,`deepseek-r1:14b`\n### 图片对话模型\n- `minicpm-v:8b`">]>;
1646
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1647
- baseURL: string;
1648
- model: string;
1649
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, v.ObjectSchema<{
1650
- readonly apiKey: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "本地部署默认可以不填">, v.TitleAction<string | undefined, "apiKey">]>;
1651
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1652
- readonly max_tokens: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 8192>, v.TitleAction<number, "max_tokens">]>;
1653
- readonly top_p: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NumberSchema<undefined>, 0.8>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "核采样(nucleus sampling)是温度采样的另一种替代方法,模型会考虑累积概率质量达到 top_p 的 token。例如,当 top_p 设为 0.1 时,仅考虑累积概率前 10% 的 token。\n\n我们通常建议调整 top_p 或温度参数,但不要同时调整两者。">, v.TitleAction<number, "top_p">]>;
1654
- readonly temperature: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2, undefined>]>, 0.1>, v.DescriptionAction<number, "采样温度应设置在0到2之间。较高的值(如0.8)会使输出更随机,而较低的值(如0.2)则会使输出更集中且确定。我们通常建议仅调整此参数或top_p,而不同时调整两者。">, v.TitleAction<number, "temperature">]>;
1655
- readonly frequency_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "取值范围为-2.0至2.0。正值会根据当前文本中已有标记的频率对新标记进行惩罚,从而降低模型逐字重复相同内容的概率。">, v.TitleAction<number | undefined, "frequency_penalty">]>;
1656
- readonly presence_penalty: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, -2, undefined>, v.MaxValueAction<number, 2, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "数值介于-2.0至2.0之间。正值会基于新标记是否已在当前文本中出现,对新标记施加惩罚,从而提升模型讨论新话题的可能性。">, v.TitleAction<number | undefined, "presence_penalty">]>;
1657
- readonly seed: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>]>, undefined>, v.DescriptionAction<number | undefined, "若已指定,系统将尽力确保采样具有确定性,即使用相同种子和参数的重复请求将返回相同结果。确定性无法保证,请通过 system_fingerprint 响应参数监控后端变化。">, v.TitleAction<number | undefined, "seed">]>;
1658
- readonly stop: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>]>, undefined>, v.MaxLengthAction<string[], 4, undefined>]>, undefined>, v.DescriptionAction<string[] | undefined, "最多可指定4个停止序列,API将在生成到该序列时停止,返回的文本中不包含该停止序列。">, import("@piying/valibot-visit").GroupControlAction<string[] | undefined>, import("@piying/valibot-visit").DefineTypeAction<string[] | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", string[] | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<string[] | undefined, "stop">]>;
1659
- }, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1660
- max_tokens: number;
1661
- top_p: number;
1662
- temperature: number;
1663
- frequency_penalty?: number | undefined;
1664
- presence_penalty?: number | undefined;
1665
- seed?: number | undefined;
1666
- stop?: string[] | undefined;
1667
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1668
- max_tokens: number;
1669
- top_p: number;
1670
- temperature: number;
1671
- frequency_penalty?: number | undefined;
1672
- presence_penalty?: number | undefined;
1673
- seed?: number | undefined;
1674
- stop?: string[] | undefined;
1675
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1676
- name: string;
1677
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1678
- } & {
1679
- baseURL: string;
1680
- model: string;
1681
- } & {
1682
- apiKey?: string | undefined;
1683
- } & {
1684
- max_tokens: number;
1685
- top_p: number;
1686
- temperature: number;
1687
- frequency_penalty?: number | undefined;
1688
- presence_penalty?: number | undefined;
1689
- seed?: number | undefined;
1690
- stop?: string[] | undefined;
1691
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1692
- name: string;
1693
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1694
- } & {
1695
- baseURL: string;
1696
- model: string;
1697
- } & {
1698
- apiKey?: string | undefined;
1699
- } & {
1700
- max_tokens: number;
1701
- top_p: number;
1702
- temperature: number;
1703
- frequency_penalty?: number | undefined;
1704
- presence_penalty?: number | undefined;
1705
- seed?: number | undefined;
1706
- stop?: string[] | undefined;
1707
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
1708
- name: string;
1709
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1710
- } & {
1711
- baseURL: string;
1712
- model: string;
1713
- } & {
1714
- apiKey?: string | undefined;
1715
- } & {
1716
- max_tokens: number;
1717
- top_p: number;
1718
- temperature: number;
1719
- frequency_penalty?: number | undefined;
1720
- presence_penalty?: number | undefined;
1721
- seed?: number | undefined;
1722
- stop?: string[] | undefined;
1723
- }>]>, undefined>, v.DescriptionAction<({
1724
- name: string;
1725
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1726
- } & {
1727
- baseURL: string;
1728
- model: string;
1729
- } & {
1730
- apiKey?: string | undefined;
1731
- } & {
1732
- max_tokens: number;
1733
- top_p: number;
1734
- temperature: number;
1735
- frequency_penalty?: number | undefined;
1736
- presence_penalty?: number | undefined;
1737
- seed?: number | undefined;
1738
- stop?: string[] | undefined;
1739
- }) | undefined, "附加配置">]>;
1740
- }, undefined>], undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1741
- extraOptions?: ({
1742
- name: string;
1743
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1744
- } & {
1745
- baseURL: string;
1746
- model: string;
1747
- } & {
1748
- apiKey?: string | undefined;
1749
- } & {
1750
- max_tokens: number;
1751
- top_p: number;
1752
- temperature: number;
1753
- frequency_penalty?: number | undefined;
1754
- presence_penalty?: number | undefined;
1755
- seed?: number | undefined;
1756
- stop?: string[] | undefined;
1757
- }) | undefined;
1758
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1759
- extraOptions?: ({
1760
- name: string;
1761
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1762
- } & {
1763
- baseURL: string;
1764
- model: string;
1765
- } & {
1766
- apiKey?: string | undefined;
1767
- } & {
1768
- max_tokens: number;
1769
- top_p: number;
1770
- temperature: number;
1771
- frequency_penalty?: number | undefined;
1772
- presence_penalty?: number | undefined;
1773
- seed?: number | undefined;
1774
- stop?: string[] | undefined;
1775
- }) | undefined;
1776
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
1777
- extraOptions?: ({
1778
- name: string;
1779
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1780
- } & {
1781
- baseURL: string;
1782
- model: string;
1783
- } & {
1784
- apiKey?: string | undefined;
1785
- } & {
1786
- max_tokens: number;
1787
- top_p: number;
1788
- temperature: number;
1789
- frequency_penalty?: number | undefined;
1790
- presence_penalty?: number | undefined;
1791
- seed?: number | undefined;
1792
- stop?: string[] | undefined;
1793
- }) | undefined;
1794
- }>]>, undefined>, undefined>, v.DescriptionAction<{
1795
- [x: string]: {
1796
- extraOptions?: ({
1797
- name: string;
1798
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1799
- } & {
1800
- baseURL: string;
1801
- model: string;
1802
- } & {
1803
- apiKey?: string | undefined;
1804
- } & {
1805
- max_tokens: number;
1806
- top_p: number;
1807
- temperature: number;
1808
- frequency_penalty?: number | undefined;
1809
- presence_penalty?: number | undefined;
1810
- seed?: number | undefined;
1811
- stop?: string[] | undefined;
1812
- }) | undefined;
1813
- };
1814
- } | undefined, "## 通用参数\n- `extraOptions`字段用于覆盖默认字段\n```json\n{\"厂商名(与vendor字段相同)\":{ \"extraOptions\":{\"temperature\":0.1,\"topP\":0.8,\"maxTokens\":8192,\"baseURL\":\"http://127.0.0.1:11434/v1\",\"apiKey\":\" \"} }\n```\n">, import("@piying/valibot-visit").DefineTypeAction<{
1815
- [x: string]: {
1816
- extraOptions?: ({
1817
- name: string;
1818
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1819
- } & {
1820
- baseURL: string;
1821
- model: string;
1822
- } & {
1823
- apiKey?: string | undefined;
1824
- } & {
1825
- max_tokens: number;
1826
- top_p: number;
1827
- temperature: number;
1828
- frequency_penalty?: number | undefined;
1829
- presence_penalty?: number | undefined;
1830
- seed?: number | undefined;
1831
- stop?: string[] | undefined;
1832
- }) | undefined;
1833
- };
1834
- } | undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1835
- [x: string]: {
1836
- extraOptions?: ({
1837
- name: string;
1838
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1839
- } & {
1840
- baseURL: string;
1841
- model: string;
1842
- } & {
1843
- apiKey?: string | undefined;
1844
- } & {
1845
- max_tokens: number;
1846
- top_p: number;
1847
- temperature: number;
1848
- frequency_penalty?: number | undefined;
1849
- presence_penalty?: number | undefined;
1850
- seed?: number | undefined;
1851
- stop?: string[] | undefined;
1852
- }) | undefined;
1853
- };
1854
- } | undefined, import("@piying/view-angular-core").AnyCoreSchemaHandle>, v.TitleAction<{
1855
- [x: string]: {
1856
- extraOptions?: ({
1857
- name: string;
1858
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1859
- } & {
1860
- baseURL: string;
1861
- model: string;
1862
- } & {
1863
- apiKey?: string | undefined;
1864
- } & {
1865
- max_tokens: number;
1866
- top_p: number;
1867
- temperature: number;
1868
- frequency_penalty?: number | undefined;
1869
- presence_penalty?: number | undefined;
1870
- seed?: number | undefined;
1871
- stop?: string[] | undefined;
1872
- }) | undefined;
1873
- };
1874
- } | undefined, "厂商额外配置">]>;
1875
- }, undefined>], undefined>, import("@piying/valibot-visit").VirtualGroupAction<{
1876
- name: string;
1877
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1878
- } & {
1879
- baseURL: string;
1880
- model: string;
1881
- } & {
1882
- apiKey?: string | undefined;
1883
- } & {
1884
- max_tokens: number;
1885
- top_p: number;
1886
- temperature: number;
1887
- frequency_penalty?: number | undefined;
1888
- presence_penalty?: number | undefined;
1889
- seed?: number | undefined;
1890
- stop?: string[] | undefined;
1891
- } & {
1892
- vendorOptions?: {
1893
- [x: string]: {
1894
- extraOptions?: ({
1895
- name: string;
1896
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1897
- } & {
1898
- baseURL: string;
1899
- model: string;
1900
- } & {
1901
- apiKey?: string | undefined;
1902
- } & {
1903
- max_tokens: number;
1904
- top_p: number;
1905
- temperature: number;
1906
- frequency_penalty?: number | undefined;
1907
- presence_penalty?: number | undefined;
1908
- seed?: number | undefined;
1909
- stop?: string[] | undefined;
1910
- }) | undefined;
1911
- };
1912
- } | undefined;
1913
- }>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1914
- name: string;
1915
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1916
- } & {
1917
- baseURL: string;
1918
- model: string;
1919
- } & {
1920
- apiKey?: string | undefined;
1921
- } & {
1922
- max_tokens: number;
1923
- top_p: number;
1924
- temperature: number;
1925
- frequency_penalty?: number | undefined;
1926
- presence_penalty?: number | undefined;
1927
- seed?: number | undefined;
1928
- stop?: string[] | undefined;
1929
- } & {
1930
- vendorOptions?: {
1931
- [x: string]: {
1932
- extraOptions?: ({
1933
- name: string;
1934
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1935
- } & {
1936
- baseURL: string;
1937
- model: string;
1938
- } & {
1939
- apiKey?: string | undefined;
1940
- } & {
1941
- max_tokens: number;
1942
- top_p: number;
1943
- temperature: number;
1944
- frequency_penalty?: number | undefined;
1945
- presence_penalty?: number | undefined;
1946
- seed?: number | undefined;
1947
- stop?: string[] | undefined;
1948
- }) | undefined;
1949
- };
1950
- } | undefined;
1951
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
1952
- name: string;
1953
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1954
- } & {
1955
- baseURL: string;
1956
- model: string;
1957
- } & {
1958
- apiKey?: string | undefined;
1959
- } & {
1960
- max_tokens: number;
1961
- top_p: number;
1962
- temperature: number;
1963
- frequency_penalty?: number | undefined;
1964
- presence_penalty?: number | undefined;
1965
- seed?: number | undefined;
1966
- stop?: string[] | undefined;
1967
- } & {
1968
- vendorOptions?: {
1969
- [x: string]: {
1970
- extraOptions?: ({
1971
- name: string;
1972
- vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
1973
- } & {
1974
- baseURL: string;
1975
- model: string;
1976
- } & {
1977
- apiKey?: string | undefined;
1978
- } & {
1979
- max_tokens: number;
1980
- top_p: number;
1981
- temperature: number;
1982
- frequency_penalty?: number | undefined;
1983
- presence_penalty?: number | undefined;
1984
- seed?: number | undefined;
1985
- stop?: string[] | undefined;
1986
- }) | undefined;
1987
- };
1988
- } | undefined;
1989
- }, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
1990
- export type CreateChatModelOptions = v.InferInput<typeof InputChatOptionsDefine>;