[]
OpenAI请求参数。
public class OpenAICallRequestParams
OpenAI请求参数。
public OpenAICallRequestParams()
对话内容。
public IEnumerable<ChatMessageParam> Chats { get; set; }
| 类型 | 描述 |
|---|---|
| System.Collections.Generic.IEnumerable<T><ChatMessageParam> |
数据源。
public object DataSources { get; set; }
| 类型 | 描述 |
|---|---|
| object |
函数列表。
public object FunctionList { get; set; }
| 类型 | 描述 |
|---|---|
| object |
表格数据。
public Dictionary<string, List<Dictionary<string, object>>> ListviewValues { get; set; }
| 类型 | 描述 |
|---|---|
| System.Collections.Generic.Dictionary<TKey, TValue><string, System.Collections.Generic.List<T><System.Collections.Generic.Dictionary<TKey, TValue><string, object>>> |
可用的MCP服务列表
public string[] McpServices { get; set; }
| 类型 | 描述 |
|---|---|
| string[] |
活字格配置的OpenAI模型的名称。
public string ModelName { get; set; }
| 类型 | 描述 |
|---|---|
| string |
参数值列表。提示词、命令等包含的前端参数的值。
public Dictionary<string, object> ParamsValues { get; set; }
| 类型 | 描述 |
|---|---|
| System.Collections.Generic.Dictionary<TKey, TValue><string, object> |
系统提示词。
public string SystemPrompt { get; set; }
| 类型 | 描述 |
|---|---|
| string |
超时
public int Timeout { get; set; }
| 类型 | 描述 |
|---|---|
| int |
用户提示词。
public string UserPrompt { get; set; }
| 类型 | 描述 |
|---|---|
| string |