[]
        
立即下载
(Showing Draft Content)

GrapeCity.Forguncy.Commands.OpenAICallRequestParams

类 OpenAICallRequestParams

OpenAI请求参数。

继承
object
OpenAICallRequestParams
命名空间: GrapeCity.Forguncy.Commands
程序集: Forguncy.Commands.dll
语法
public class OpenAICallRequestParams

构造函数

OpenAICallRequestParams()

OpenAI请求参数。

声明
public OpenAICallRequestParams()

属性

Chats

对话内容。

声明
public IEnumerable<ChatMessageParam> Chats { get; set; }
属性值
类型 描述
System.Collections.Generic.IEnumerable<T><ChatMessageParam>

DataSources

数据源。

声明
public object DataSources { get; set; }
属性值
类型 描述
object

FunctionList

函数列表。

声明
public object FunctionList { get; set; }
属性值
类型 描述
object

ListviewValues

表格数据。

声明
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>>>

McpServices

可用的MCP服务列表

声明
public string[] McpServices { get; set; }
属性值
类型 描述
string[]

ModelName

活字格配置的OpenAI模型的名称。

声明
public string ModelName { get; set; }
属性值
类型 描述
string

ParamsValues

参数值列表。提示词、命令等包含的前端参数的值。

声明
public Dictionary<string, object> ParamsValues { get; set; }
属性值
类型 描述
System.Collections.Generic.Dictionary<TKey, TValue><string, object>

SystemPrompt

系统提示词。

声明
public string SystemPrompt { get; set; }
属性值
类型 描述
string

Timeout

超时

声明
public int Timeout { get; set; }
属性值
类型 描述
int

UserPrompt

用户提示词。

声明
public string UserPrompt { get; set; }
属性值
类型 描述
string