Class PdfChatGpt
信息
表示 PdfChatGpt 插件。
[Obsolete("该类将很快被删除。请使用 PdfManager 类。")]
public static class PdfChatGpt继承
继承的成员
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
注释
Documentize.PdfChatGpt 用于直接向 ChatGPT 发送请求 或通过添加 PDF 文件源并将回复保存到输出源。
方法
Process(IPluginOptions)
该方法没有同步版本。请改用 ProcessAsync 方法。
public static ResultContainer Process(IPluginOptions options)参数
optionsIPluginOptions: 包含 PdfChatGpt 指令的选项对象。
返回值
ResultContainer : #### 异常
ProcessAsync(IPluginOptions)
使用指定参数启动 PdfChatGpt 处理。
public static Task<resultcontainer> ProcessAsync(IPluginOptions options)参数
optionsIPluginOptions: 包含 PdfChatGpt 指令的选项对象。
返回值
表示异步操作的任务对象。
异常
ArgumentException : InvalidOperationException
命名空间: Documentize 程序集: Documentize.dll