@shenghuabi/openai 1.0.1 → 1.0.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.
- package/chat/options.define.d.ts +214 -43
- package/package.json +11 -10
package/chat/options.define.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const ChatItemDefine: v.SchemaWithPipe<readonly [v.IntersectSchem
|
|
|
69
69
|
}>]>;
|
|
70
70
|
export declare const VendorOptionsDefine: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
|
|
71
71
|
/** @internal */
|
|
72
|
-
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
72
|
+
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
73
73
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
74
74
|
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", {
|
|
75
75
|
readonly enumOptions: {
|
|
@@ -80,7 +80,51 @@ export declare const VendorOptionsDefine: v.SchemaWithPipe<readonly [v.OptionalS
|
|
|
80
80
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
81
81
|
name: string;
|
|
82
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
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>,
|
|
83
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
84
|
+
readonly entries: Omit<{
|
|
85
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
86
|
+
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", {
|
|
87
|
+
readonly enumOptions: {
|
|
88
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
89
|
+
description: string;
|
|
90
|
+
}[];
|
|
91
|
+
}>, 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>]>;
|
|
92
|
+
}, "name">;
|
|
93
|
+
readonly "~standard": v.StandardProps<{
|
|
94
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
97
|
+
}>;
|
|
98
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
99
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
100
|
+
}, v.PicklistIssue | v.ObjectIssue>;
|
|
101
|
+
readonly "~types"?: {
|
|
102
|
+
readonly input: {
|
|
103
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
104
|
+
};
|
|
105
|
+
readonly output: {
|
|
106
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
107
|
+
};
|
|
108
|
+
readonly issue: v.PicklistIssue | v.ObjectIssue;
|
|
109
|
+
} | undefined;
|
|
110
|
+
}, "entries" | "~standard" | "~run" | "~types"> & {
|
|
111
|
+
readonly entries: Omit<Omit<{
|
|
112
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
113
|
+
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", {
|
|
114
|
+
readonly enumOptions: {
|
|
115
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
116
|
+
description: string;
|
|
117
|
+
}[];
|
|
118
|
+
}>, 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>]>;
|
|
119
|
+
}, "name">, "vendor">;
|
|
120
|
+
readonly "~standard": v.StandardProps<{}, {}>;
|
|
121
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
|
|
122
|
+
readonly "~types"?: {
|
|
123
|
+
readonly input: {};
|
|
124
|
+
readonly output: {};
|
|
125
|
+
readonly issue: v.ObjectIssue;
|
|
126
|
+
} | undefined;
|
|
127
|
+
}, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
84
128
|
readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
|
|
85
129
|
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`">]>;
|
|
86
130
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
@@ -340,7 +384,7 @@ export declare const ChatParamsItemDefine: v.SchemaWithPipe<readonly [v.Intersec
|
|
|
340
384
|
}>]>, v.ObjectSchema<{
|
|
341
385
|
readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
|
|
342
386
|
/** @internal */
|
|
343
|
-
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
387
|
+
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
344
388
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
345
389
|
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", {
|
|
346
390
|
readonly enumOptions: {
|
|
@@ -351,7 +395,51 @@ export declare const ChatParamsItemDefine: v.SchemaWithPipe<readonly [v.Intersec
|
|
|
351
395
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
352
396
|
name: string;
|
|
353
397
|
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
354
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>,
|
|
398
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
399
|
+
readonly entries: Omit<{
|
|
400
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
401
|
+
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", {
|
|
402
|
+
readonly enumOptions: {
|
|
403
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
404
|
+
description: string;
|
|
405
|
+
}[];
|
|
406
|
+
}>, 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>]>;
|
|
407
|
+
}, "name">;
|
|
408
|
+
readonly "~standard": v.StandardProps<{
|
|
409
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
410
|
+
}, {
|
|
411
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
412
|
+
}>;
|
|
413
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
414
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
415
|
+
}, v.PicklistIssue | v.ObjectIssue>;
|
|
416
|
+
readonly "~types"?: {
|
|
417
|
+
readonly input: {
|
|
418
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
419
|
+
};
|
|
420
|
+
readonly output: {
|
|
421
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
422
|
+
};
|
|
423
|
+
readonly issue: v.PicklistIssue | v.ObjectIssue;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}, "entries" | "~standard" | "~run" | "~types"> & {
|
|
426
|
+
readonly entries: Omit<Omit<{
|
|
427
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
428
|
+
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", {
|
|
429
|
+
readonly enumOptions: {
|
|
430
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
431
|
+
description: string;
|
|
432
|
+
}[];
|
|
433
|
+
}>, 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>]>;
|
|
434
|
+
}, "name">, "vendor">;
|
|
435
|
+
readonly "~standard": v.StandardProps<{}, {}>;
|
|
436
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
|
|
437
|
+
readonly "~types"?: {
|
|
438
|
+
readonly input: {};
|
|
439
|
+
readonly output: {};
|
|
440
|
+
readonly issue: v.ObjectIssue;
|
|
441
|
+
} | undefined;
|
|
442
|
+
}, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
355
443
|
readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
|
|
356
444
|
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`">]>;
|
|
357
445
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
@@ -688,7 +776,7 @@ export declare const ChatParamsListDefine: v.SchemaWithPipe<readonly [v.ArraySch
|
|
|
688
776
|
}>]>, v.ObjectSchema<{
|
|
689
777
|
readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
|
|
690
778
|
/** @internal */
|
|
691
|
-
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
779
|
+
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
692
780
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
693
781
|
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", {
|
|
694
782
|
readonly enumOptions: {
|
|
@@ -699,7 +787,51 @@ export declare const ChatParamsListDefine: v.SchemaWithPipe<readonly [v.ArraySch
|
|
|
699
787
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
700
788
|
name: string;
|
|
701
789
|
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
702
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>,
|
|
790
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
791
|
+
readonly entries: Omit<{
|
|
792
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
793
|
+
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", {
|
|
794
|
+
readonly enumOptions: {
|
|
795
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
796
|
+
description: string;
|
|
797
|
+
}[];
|
|
798
|
+
}>, 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>]>;
|
|
799
|
+
}, "name">;
|
|
800
|
+
readonly "~standard": v.StandardProps<{
|
|
801
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
802
|
+
}, {
|
|
803
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
804
|
+
}>;
|
|
805
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
806
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
807
|
+
}, v.PicklistIssue | v.ObjectIssue>;
|
|
808
|
+
readonly "~types"?: {
|
|
809
|
+
readonly input: {
|
|
810
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
811
|
+
};
|
|
812
|
+
readonly output: {
|
|
813
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
814
|
+
};
|
|
815
|
+
readonly issue: v.PicklistIssue | v.ObjectIssue;
|
|
816
|
+
} | undefined;
|
|
817
|
+
}, "entries" | "~standard" | "~run" | "~types"> & {
|
|
818
|
+
readonly entries: Omit<Omit<{
|
|
819
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
820
|
+
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", {
|
|
821
|
+
readonly enumOptions: {
|
|
822
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
823
|
+
description: string;
|
|
824
|
+
}[];
|
|
825
|
+
}>, 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>]>;
|
|
826
|
+
}, "name">, "vendor">;
|
|
827
|
+
readonly "~standard": v.StandardProps<{}, {}>;
|
|
828
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
|
|
829
|
+
readonly "~types"?: {
|
|
830
|
+
readonly input: {};
|
|
831
|
+
readonly output: {};
|
|
832
|
+
readonly issue: v.ObjectIssue;
|
|
833
|
+
} | undefined;
|
|
834
|
+
}, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
703
835
|
readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
|
|
704
836
|
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`">]>;
|
|
705
837
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
@@ -1082,7 +1214,7 @@ export declare const ChatParamsListDefine: v.SchemaWithPipe<readonly [v.ArraySch
|
|
|
1082
1214
|
})[], import("@piying/view-angular-core").AnyCoreSchemaHandle>]>;
|
|
1083
1215
|
export type ChatModelOptions = v.InferOutput<typeof ChatParamsItemDefine>;
|
|
1084
1216
|
export type ChatModelOptionsInput = v.InferInput<typeof ChatParamsItemDefine>;
|
|
1085
|
-
export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.IntersectSchema<[v.
|
|
1217
|
+
export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.IntersectSchema<[v.IntersectSchema<[Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1086
1218
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
1087
1219
|
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", {
|
|
1088
1220
|
readonly enumOptions: {
|
|
@@ -1093,7 +1225,34 @@ export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.Inters
|
|
|
1093
1225
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
1094
1226
|
name: string;
|
|
1095
1227
|
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1096
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>,
|
|
1228
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
1229
|
+
readonly entries: Omit<{
|
|
1230
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
1231
|
+
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", {
|
|
1232
|
+
readonly enumOptions: {
|
|
1233
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1234
|
+
description: string;
|
|
1235
|
+
}[];
|
|
1236
|
+
}>, 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>]>;
|
|
1237
|
+
}, "name">;
|
|
1238
|
+
readonly "~standard": v.StandardProps<{
|
|
1239
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
1240
|
+
}, {
|
|
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
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1244
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1245
|
+
}, v.PicklistIssue | v.ObjectIssue>;
|
|
1246
|
+
readonly "~types"?: {
|
|
1247
|
+
readonly input: {
|
|
1248
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
1249
|
+
};
|
|
1250
|
+
readonly output: {
|
|
1251
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1252
|
+
};
|
|
1253
|
+
readonly issue: v.PicklistIssue | v.ObjectIssue;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
}, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1097
1256
|
readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
|
|
1098
1257
|
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`">]>;
|
|
1099
1258
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
@@ -1117,42 +1276,10 @@ export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.Inters
|
|
|
1117
1276
|
presence_penalty?: number | undefined;
|
|
1118
1277
|
seed?: number | undefined;
|
|
1119
1278
|
stop?: string[] | undefined;
|
|
1120
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>,
|
|
1121
|
-
name: string;
|
|
1122
|
-
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1123
|
-
} & {
|
|
1124
|
-
baseURL: string;
|
|
1125
|
-
model: string;
|
|
1126
|
-
} & {
|
|
1127
|
-
apiKey?: string | undefined;
|
|
1128
|
-
} & {
|
|
1129
|
-
max_tokens: number;
|
|
1130
|
-
top_p: number;
|
|
1131
|
-
temperature: number;
|
|
1132
|
-
frequency_penalty?: number | undefined;
|
|
1133
|
-
presence_penalty?: number | undefined;
|
|
1134
|
-
seed?: number | undefined;
|
|
1135
|
-
stop?: string[] | undefined;
|
|
1136
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>, import("@piying/valibot-visit").VirtualGroupAction<{
|
|
1137
|
-
name: string;
|
|
1138
|
-
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1139
|
-
} & {
|
|
1140
|
-
baseURL: string;
|
|
1141
|
-
model: string;
|
|
1142
|
-
} & {
|
|
1143
|
-
apiKey?: string | undefined;
|
|
1144
|
-
} & {
|
|
1145
|
-
max_tokens: number;
|
|
1146
|
-
top_p: number;
|
|
1147
|
-
temperature: number;
|
|
1148
|
-
frequency_penalty?: number | undefined;
|
|
1149
|
-
presence_penalty?: number | undefined;
|
|
1150
|
-
seed?: number | undefined;
|
|
1151
|
-
stop?: string[] | undefined;
|
|
1152
|
-
}>]>, v.ObjectSchema<{
|
|
1279
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>], undefined>, v.ObjectSchema<{
|
|
1153
1280
|
readonly vendorOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.IntersectSchema<[v.ObjectSchema<{
|
|
1154
1281
|
/** @internal */
|
|
1155
|
-
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1282
|
+
readonly extraOptions: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.IntersectSchema<[Omit<Omit<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1156
1283
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
1157
1284
|
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", {
|
|
1158
1285
|
readonly enumOptions: {
|
|
@@ -1163,7 +1290,51 @@ export declare const InputChatOptionsDefine: v.SchemaWithPipe<readonly [v.Inters
|
|
|
1163
1290
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
|
1164
1291
|
name: string;
|
|
1165
1292
|
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1166
|
-
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>,
|
|
1293
|
+
}, import("@piying/view-angular-core").AnyCoreSchemaHandle>]>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
1294
|
+
readonly entries: Omit<{
|
|
1295
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
1296
|
+
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", {
|
|
1297
|
+
readonly enumOptions: {
|
|
1298
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1299
|
+
description: string;
|
|
1300
|
+
}[];
|
|
1301
|
+
}>, 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>]>;
|
|
1302
|
+
}, "name">;
|
|
1303
|
+
readonly "~standard": v.StandardProps<{
|
|
1304
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
1305
|
+
}, {
|
|
1306
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1307
|
+
}>;
|
|
1308
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1309
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1310
|
+
}, v.PicklistIssue | v.ObjectIssue>;
|
|
1311
|
+
readonly "~types"?: {
|
|
1312
|
+
readonly input: {
|
|
1313
|
+
vendor?: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude" | undefined;
|
|
1314
|
+
};
|
|
1315
|
+
readonly output: {
|
|
1316
|
+
vendor: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1317
|
+
};
|
|
1318
|
+
readonly issue: v.PicklistIssue | v.ObjectIssue;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
}, "entries" | "~standard" | "~run" | "~types"> & {
|
|
1321
|
+
readonly entries: Omit<Omit<{
|
|
1322
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TitleAction<string, "配置名">]>;
|
|
1323
|
+
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", {
|
|
1324
|
+
readonly enumOptions: {
|
|
1325
|
+
label: "deepseek" | "openai" | "360" | "azure" | "moonshot" | "baichuan" | "minimax" | "mistralai" | "groq" | "lingyiwanwu" | "stepfun" | "together.ai" | "volcengine" | "novita" | "siliconflow" | "tongyi" | "zhipu" | "spark" | "hunyuan" | "gemini" | "claude";
|
|
1326
|
+
description: string;
|
|
1327
|
+
}[];
|
|
1328
|
+
}>, 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>]>;
|
|
1329
|
+
}, "name">, "vendor">;
|
|
1330
|
+
readonly "~standard": v.StandardProps<{}, {}>;
|
|
1331
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{}, v.ObjectIssue>;
|
|
1332
|
+
readonly "~types"?: {
|
|
1333
|
+
readonly input: {};
|
|
1334
|
+
readonly output: {};
|
|
1335
|
+
readonly issue: v.ObjectIssue;
|
|
1336
|
+
} | undefined;
|
|
1337
|
+
}, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1167
1338
|
readonly baseURL: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "http://127.0.0.1:11434/v1">, v.TitleAction<string, "地址">, v.DescriptionAction<string, "openai兼容接口">]>;
|
|
1168
1339
|
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`">]>;
|
|
1169
1340
|
}, undefined>, import("@piying/valibot-visit").RawConfigAction<"viewRawConfig", {
|
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shenghuabi/openai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "模板",
|
|
5
5
|
"author": "wszgrcy",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"type": "module",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"valibot": "^1.1.0",
|
|
10
|
-
"static-injector": "^6.1.2",
|
|
11
|
-
"yaml": "^2.8.1",
|
|
12
|
-
"dayjs": "^1.11.13",
|
|
13
|
-
"@cyia/vfs2": "^1.5.2",
|
|
14
9
|
"@cyia/util": "^1.5.2",
|
|
15
|
-
"@
|
|
16
|
-
"
|
|
10
|
+
"@cyia/vfs2": "^1.5.2",
|
|
11
|
+
"@piying/view-angular-core": "1.6.1",
|
|
12
|
+
"@piying/valibot-visit": "1.3.11",
|
|
13
|
+
"dayjs": "^1.11.13",
|
|
14
|
+
"rxjs": "^7.8.2",
|
|
15
|
+
"static-injector": "^6.1.2",
|
|
16
|
+
"valibot": "^1.1.0",
|
|
17
|
+
"yaml": "^2.8.1"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@anthropic-ai/sdk": "^0.60.0",
|
|
20
21
|
"@google/generative-ai": "^0.24.1",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
22
|
+
"es-toolkit": "^1.46.1",
|
|
23
|
+
"openai": "^5.23.2"
|
|
23
24
|
},
|
|
24
25
|
"overrides": {},
|
|
25
26
|
"exports": {
|