Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

apiHost(String) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
apiHost(String) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
apiHost(String) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
apiHost(String) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
apiKey(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
apiKey(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
apiKey(List<String>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
apiKey(List<String>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
apply(List<String>) - Method in class com.unfbx.chatgpt.function.KeyRandomStrategy
 
apply(List<String>) - Method in class com.unfbx.chatgpt.function.KeyRandomStrategy
 
apply(T) - Method in interface com.unfbx.chatgpt.function.KeyStrategyFunction
Applies this function to the given argument.
apply(T) - Method in interface com.unfbx.chatgpt.function.KeyStrategyFunction
Applies this function to the given argument.
Arg() - Constructor for class com.unfbx.chatgpt.plugin.PluginAbstract.Arg
 
Arg() - Constructor for class com.unfbx.chatgpt.plugin.PluginAbstract.Arg
 
auth(String, Request) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
auth(String, Request) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
auth(String, Request) - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
默认的鉴权处理方法
auth(String, Request) - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
默认的鉴权处理方法
authInterceptor(OpenAiAuthInterceptor) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
authInterceptor(OpenAiAuthInterceptor) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
authInterceptor(OpenAiAuthInterceptor) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
authInterceptor(OpenAiAuthInterceptor) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 

B

BaseException - Exception in com.unfbx.chatgpt.exception
描述: 异常
BaseException - Exception in com.unfbx.chatgpt.exception
描述: 异常
BaseException(IError) - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BaseException(String) - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BaseException() - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BaseException(IError) - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BaseException(String) - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BaseException() - Constructor for exception com.unfbx.chatgpt.exception.BaseException
 
BillingUsage - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗信息
BillingUsage - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗信息
BillingUsage() - Constructor for class com.unfbx.chatgpt.entity.billing.BillingUsage
 
BillingUsage() - Constructor for class com.unfbx.chatgpt.entity.billing.BillingUsage
 
billingUsage(LocalDate, LocalDate) - Method in interface com.unfbx.chatgpt.OpenAiApi
账户调用接口消耗金额信息查询 totalUsage = 账户总使用金额(美分)
billingUsage(LocalDate, LocalDate) - Method in interface com.unfbx.chatgpt.OpenAiApi
账户调用接口消耗金额信息查询 totalUsage = 账户总使用金额(美分)
billingUsage(LocalDate, LocalDate) - Method in class com.unfbx.chatgpt.OpenAiClient
账户调用接口消耗金额信息查询 最多查询100天
billingUsage(LocalDate, LocalDate) - Method in class com.unfbx.chatgpt.OpenAiClient
账户调用接口消耗金额信息查询 最多查询100天
billingUsage(LocalDate, LocalDate) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
账户调用接口消耗金额信息查询 最多查询100天
billingUsage(LocalDate, LocalDate) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
账户调用接口消耗金额信息查询 最多查询100天
build() - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
build() - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
build() - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
build() - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
build() - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
build() - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
builder() - Static method in class com.unfbx.chatgpt.entity.chat.Message
 
Builder() - Constructor for class com.unfbx.chatgpt.entity.chat.Message.Builder
 
builder() - Static method in class com.unfbx.chatgpt.entity.chat.Message
 
Builder() - Constructor for class com.unfbx.chatgpt.entity.chat.Message.Builder
 
builder() - Static method in class com.unfbx.chatgpt.OpenAiClient
构造器
Builder() - Constructor for class com.unfbx.chatgpt.OpenAiClient.Builder
 
builder() - Static method in class com.unfbx.chatgpt.OpenAiClient
构造器
Builder() - Constructor for class com.unfbx.chatgpt.OpenAiClient.Builder
 
builder() - Static method in class com.unfbx.chatgpt.OpenAiStreamClient
构造
Builder() - Constructor for class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
builder() - Static method in class com.unfbx.chatgpt.OpenAiStreamClient
构造
Builder() - Constructor for class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 

C

cancelFineTune(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
取消微调作业
cancelFineTune(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
取消微调作业
cancelFineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
取消微调作业
cancelFineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
取消微调作业
Categories - Class in com.unfbx.chatgpt.entity.moderations
描述:
Categories - Class in com.unfbx.chatgpt.entity.moderations
描述:
Categories() - Constructor for class com.unfbx.chatgpt.entity.moderations.Categories
 
Categories() - Constructor for class com.unfbx.chatgpt.entity.moderations.Categories
 
CategoryScores - Class in com.unfbx.chatgpt.entity.moderations
描述:
CategoryScores - Class in com.unfbx.chatgpt.entity.moderations
描述:
CategoryScores() - Constructor for class com.unfbx.chatgpt.entity.moderations.CategoryScores
 
CategoryScores() - Constructor for class com.unfbx.chatgpt.entity.moderations.CategoryScores
 
ChatChoice - Class in com.unfbx.chatgpt.entity.chat
描述:
ChatChoice - Class in com.unfbx.chatgpt.entity.chat
描述:
ChatChoice() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatChoice
 
ChatChoice() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatChoice
 
ChatCompletion - Class in com.unfbx.chatgpt.entity.chat
描述: chat模型参数
ChatCompletion - Class in com.unfbx.chatgpt.entity.chat
描述: chat模型参数
ChatCompletion() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatCompletion
 
ChatCompletion() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatCompletion
 
chatCompletion(ChatCompletion) - Method in interface com.unfbx.chatgpt.OpenAiApi
最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
chatCompletion(ChatCompletion) - Method in interface com.unfbx.chatgpt.OpenAiApi
最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
chatCompletion(ChatCompletion) - Method in class com.unfbx.chatgpt.OpenAiClient
最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
chatCompletion(List<Message>) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版
chatCompletion(ChatCompletion) - Method in class com.unfbx.chatgpt.OpenAiClient
最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
chatCompletion(List<Message>) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版
ChatCompletion.Model - Enum in com.unfbx.chatgpt.entity.chat
最新模型参考官方文档: 官方稳定模型列表
ChatCompletion.Model - Enum in com.unfbx.chatgpt.entity.chat
最新模型参考官方文档: 官方稳定模型列表
ChatCompletionResponse - Class in com.unfbx.chatgpt.entity.chat
描述: chat答案类
ChatCompletionResponse - Class in com.unfbx.chatgpt.entity.chat
描述: chat答案类
ChatCompletionResponse() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatCompletionResponse
 
ChatCompletionResponse() - Constructor for class com.unfbx.chatgpt.entity.chat.ChatCompletionResponse
 
chatCompletionWithPlugin(ChatCompletion, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
chatCompletionWithPlugin(List<Message>, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
chatCompletionWithPlugin(List<Message>, String, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话
chatCompletionWithPlugin(ChatCompletion, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
chatCompletionWithPlugin(List<Message>, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
chatCompletionWithPlugin(List<Message>, String, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiClient
插件问答简易版 默认取messages最后一个元素构建插件对话
ChatGPTUrl - Enum in com.unfbx.chatgpt.config
描述: api地址
ChatGPTUrl - Enum in com.unfbx.chatgpt.config
描述: api地址
Choice - Class in com.unfbx.chatgpt.entity.common
描述:
Choice - Class in com.unfbx.chatgpt.entity.common
描述:
Choice() - Constructor for class com.unfbx.chatgpt.entity.common.Choice
 
Choice() - Constructor for class com.unfbx.chatgpt.entity.common.Choice
 
code() - Method in enum com.unfbx.chatgpt.exception.CommonError
 
code() - Method in enum com.unfbx.chatgpt.exception.CommonError
 
code() - Method in interface com.unfbx.chatgpt.exception.IError
 
code() - Method in interface com.unfbx.chatgpt.exception.IError
 
com.unfbx.chatgpt - package com.unfbx.chatgpt
 
com.unfbx.chatgpt.config - package com.unfbx.chatgpt.config
 
com.unfbx.chatgpt.constant - package com.unfbx.chatgpt.constant
 
com.unfbx.chatgpt.entity.billing - package com.unfbx.chatgpt.entity.billing
 
com.unfbx.chatgpt.entity.chat - package com.unfbx.chatgpt.entity.chat
 
com.unfbx.chatgpt.entity.common - package com.unfbx.chatgpt.entity.common
 
com.unfbx.chatgpt.entity.completions - package com.unfbx.chatgpt.entity.completions
 
com.unfbx.chatgpt.entity.edits - package com.unfbx.chatgpt.entity.edits
 
com.unfbx.chatgpt.entity.embeddings - package com.unfbx.chatgpt.entity.embeddings
 
com.unfbx.chatgpt.entity.engines - package com.unfbx.chatgpt.entity.engines
 
com.unfbx.chatgpt.entity.files - package com.unfbx.chatgpt.entity.files
 
com.unfbx.chatgpt.entity.fineTune - package com.unfbx.chatgpt.entity.fineTune
 
com.unfbx.chatgpt.entity.images - package com.unfbx.chatgpt.entity.images
 
com.unfbx.chatgpt.entity.models - package com.unfbx.chatgpt.entity.models
 
com.unfbx.chatgpt.entity.moderations - package com.unfbx.chatgpt.entity.moderations
 
com.unfbx.chatgpt.entity.whisper - package com.unfbx.chatgpt.entity.whisper
 
com.unfbx.chatgpt.exception - package com.unfbx.chatgpt.exception
 
com.unfbx.chatgpt.function - package com.unfbx.chatgpt.function
 
com.unfbx.chatgpt.interceptor - package com.unfbx.chatgpt.interceptor
 
com.unfbx.chatgpt.plugin - package com.unfbx.chatgpt.plugin
 
com.unfbx.chatgpt.sse - package com.unfbx.chatgpt.sse
 
com.unfbx.chatgpt.utils - package com.unfbx.chatgpt.utils
 
CommonError - Enum in com.unfbx.chatgpt.exception
描述: 错误
CommonError - Enum in com.unfbx.chatgpt.exception
描述: 错误
Completion - Class in com.unfbx.chatgpt.entity.completions
描述: 问题类
Completion - Class in com.unfbx.chatgpt.entity.completions
描述: 问题类
Completion() - Constructor for class com.unfbx.chatgpt.entity.completions.Completion
 
Completion() - Constructor for class com.unfbx.chatgpt.entity.completions.Completion
 
Completion.Model - Enum in com.unfbx.chatgpt.entity.completions
 
Completion.Model - Enum in com.unfbx.chatgpt.entity.completions
 
CompletionResponse - Class in com.unfbx.chatgpt.entity.completions
描述: 答案类
CompletionResponse - Class in com.unfbx.chatgpt.entity.completions
描述: 答案类
CompletionResponse() - Constructor for class com.unfbx.chatgpt.entity.completions.CompletionResponse
 
CompletionResponse() - Constructor for class com.unfbx.chatgpt.entity.completions.CompletionResponse
 
completions(Completion) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本问答 Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
completions(Completion) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本问答 Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
completions(Completion) - Method in class com.unfbx.chatgpt.OpenAiClient
问答接口
completions(String) - Method in class com.unfbx.chatgpt.OpenAiClient
问答接口-简易版
completions(Completion) - Method in class com.unfbx.chatgpt.OpenAiClient
问答接口
completions(String) - Method in class com.unfbx.chatgpt.OpenAiClient
问答接口-简易版
ConsoleEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: sse
ConsoleEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: sse
ConsoleEventSourceListener() - Constructor for class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
ConsoleEventSourceListener() - Constructor for class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
content(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
content(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
content(T) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
content(T) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
creditGrants() - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
creditGrants() - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
creditGrants() - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
creditGrants() - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
creditGrants() - Method in class com.unfbx.chatgpt.OpenAiStreamClient
Deprecated.
creditGrants() - Method in class com.unfbx.chatgpt.OpenAiStreamClient
Deprecated.
CreditGrantsResponse - Class in com.unfbx.chatgpt.entity.billing
描述:余额查询接口返回值
CreditGrantsResponse - Class in com.unfbx.chatgpt.entity.billing
描述:余额查询接口返回值
CreditGrantsResponse() - Constructor for class com.unfbx.chatgpt.entity.billing.CreditGrantsResponse
 
CreditGrantsResponse() - Constructor for class com.unfbx.chatgpt.entity.billing.CreditGrantsResponse
 

D

DailyCost - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗列表
DailyCost - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗列表
DailyCost() - Constructor for class com.unfbx.chatgpt.entity.billing.DailyCost
 
DailyCost() - Constructor for class com.unfbx.chatgpt.entity.billing.DailyCost
 
Datum - Class in com.unfbx.chatgpt.entity.billing
描述:
Datum - Class in com.unfbx.chatgpt.entity.billing
描述:
Datum() - Constructor for class com.unfbx.chatgpt.entity.billing.Datum
 
Datum() - Constructor for class com.unfbx.chatgpt.entity.billing.Datum
 
decode(Encoding, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding和encoded数组反推text信息
decode(EncodingType, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过EncodingType和encoded编码数组,反推字符串文本
decode(String, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称和encoded编码数组,反推字符串文本
decode(Encoding, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding和encoded数组反推text信息
decode(EncodingType, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过EncodingType和encoded编码数组,反推字符串文本
decode(String, List<Integer>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称和encoded编码数组,反推字符串文本
DefaultOpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:请求增加header apikey
DefaultOpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:请求增加header apikey
DefaultOpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
请求头处理
DefaultOpenAiAuthInterceptor(Map) - Constructor for class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
构造方法
DefaultOpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
请求头处理
DefaultOpenAiAuthInterceptor(Map) - Constructor for class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
构造方法
DefaultPluginEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: 插件开发返回信息收集sse监听器
DefaultPluginEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: 插件开发返回信息收集sse监听器
DefaultPluginEventSourceListener(CountDownLatch) - Constructor for class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
DefaultPluginEventSourceListener(CountDownLatch) - Constructor for class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
deleteFile(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
删除文件
deleteFile(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
删除文件
deleteFile(String) - Method in class com.unfbx.chatgpt.OpenAiClient
删除文件
deleteFile(String) - Method in class com.unfbx.chatgpt.OpenAiClient
删除文件
deleteFineTuneModel(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
删除微调作业模型 Delete a fine-tuned model.
deleteFineTuneModel(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
删除微调作业模型 Delete a fine-tuned model.
deleteFineTuneModel(String) - Method in class com.unfbx.chatgpt.OpenAiClient
删除微调作业模型 Delete a fine-tuned model.
deleteFineTuneModel(String) - Method in class com.unfbx.chatgpt.OpenAiClient
删除微调作业模型 Delete a fine-tuned model.
DeleteResponse - Class in com.unfbx.chatgpt.entity.common
描述:
DeleteResponse - Class in com.unfbx.chatgpt.entity.common
描述:
DeleteResponse() - Constructor for class com.unfbx.chatgpt.entity.common.DeleteResponse
 
DeleteResponse() - Constructor for class com.unfbx.chatgpt.entity.common.DeleteResponse
 
DynamicKeyOpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:动态处理key的鉴权拦截器
DynamicKeyOpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:动态处理key的鉴权拦截器
DynamicKeyOpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
请求头处理
DynamicKeyOpenAiAuthInterceptor(Map) - Constructor for class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
构造方法
DynamicKeyOpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
请求头处理
DynamicKeyOpenAiAuthInterceptor(Map) - Constructor for class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
构造方法

E

Edit - Class in com.unfbx.chatgpt.entity.edits
描述:
Edit - Class in com.unfbx.chatgpt.entity.edits
描述:
Edit() - Constructor for class com.unfbx.chatgpt.entity.edits.Edit
 
Edit() - Constructor for class com.unfbx.chatgpt.entity.edits.Edit
 
edit(Edit) - Method in class com.unfbx.chatgpt.OpenAiClient
文本修改
edit(Edit) - Method in class com.unfbx.chatgpt.OpenAiClient
文本修改
Edit.Model - Enum in com.unfbx.chatgpt.entity.edits
 
Edit.Model - Enum in com.unfbx.chatgpt.entity.edits
 
editImages(MultipartBody.Part, MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates an edited or extended image given an original image and a prompt.
editImages(MultipartBody.Part, MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates an edited or extended image given an original image and a prompt.
editImages(File, String) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
editImages(File, ImageEdit) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
editImages(File, File, ImageEdit) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
editImages(File, String) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
editImages(File, ImageEdit) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
editImages(File, File, ImageEdit) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an edited or extended image given an original image and a prompt.
EditResponse - Class in com.unfbx.chatgpt.entity.edits
描述:
EditResponse - Class in com.unfbx.chatgpt.entity.edits
描述:
EditResponse() - Constructor for class com.unfbx.chatgpt.entity.edits.EditResponse
 
EditResponse() - Constructor for class com.unfbx.chatgpt.entity.edits.EditResponse
 
edits(Edit) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates a new edit for the provided input, instruction, and parameters.
edits(Edit) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates a new edit for the provided input, instruction, and parameters.
Embedding - Class in com.unfbx.chatgpt.entity.embeddings
描述:
Embedding - Class in com.unfbx.chatgpt.entity.embeddings
描述:
Embedding() - Constructor for class com.unfbx.chatgpt.entity.embeddings.Embedding
 
Embedding() - Constructor for class com.unfbx.chatgpt.entity.embeddings.Embedding
 
Embedding.Model - Enum in com.unfbx.chatgpt.entity.embeddings
 
Embedding.Model - Enum in com.unfbx.chatgpt.entity.embeddings
 
EmbeddingResponse - Class in com.unfbx.chatgpt.entity.embeddings
描述:
EmbeddingResponse - Class in com.unfbx.chatgpt.entity.embeddings
描述:
EmbeddingResponse() - Constructor for class com.unfbx.chatgpt.entity.embeddings.EmbeddingResponse
 
EmbeddingResponse() - Constructor for class com.unfbx.chatgpt.entity.embeddings.EmbeddingResponse
 
embeddings(Embedding) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本向量计算
embeddings(Embedding) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本向量计算
embeddings(String) - Method in class com.unfbx.chatgpt.OpenAiClient
向量计算:单文本
embeddings(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient
向量计算:集合文本
embeddings(Embedding) - Method in class com.unfbx.chatgpt.OpenAiClient
文本转换向量
embeddings(String) - Method in class com.unfbx.chatgpt.OpenAiClient
向量计算:单文本
embeddings(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient
向量计算:集合文本
embeddings(Embedding) - Method in class com.unfbx.chatgpt.OpenAiClient
文本转换向量
encode(Encoding, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding和text获取编码数组
encode(EncodingType, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取encode的编码数组
encode(String, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取encode的编码数组,通过模型名称
encode(Encoding, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding和text获取编码数组
encode(EncodingType, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取encode的编码数组
encode(String, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取encode的编码数组,通过模型名称
Engine - Class in com.unfbx.chatgpt.entity.engines
描述:
Engine - Class in com.unfbx.chatgpt.entity.engines
描述:
Engine() - Constructor for class com.unfbx.chatgpt.entity.engines.Engine
 
Engine() - Constructor for class com.unfbx.chatgpt.entity.engines.Engine
 
engine(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
engine(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
engine(String) - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
engine(String) - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
engines() - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
engines() - Method in interface com.unfbx.chatgpt.OpenAiApi
Deprecated.
engines() - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
engines() - Method in class com.unfbx.chatgpt.OpenAiClient
Deprecated.
Error() - Constructor for class com.unfbx.chatgpt.entity.common.OpenAiResponse.Error
 
Error() - Constructor for class com.unfbx.chatgpt.entity.common.OpenAiResponse.Error
 
Event - Class in com.unfbx.chatgpt.entity.fineTune
 
Event - Class in com.unfbx.chatgpt.entity.fineTune
 
Event() - Constructor for class com.unfbx.chatgpt.entity.fineTune.Event
 
Event() - Constructor for class com.unfbx.chatgpt.entity.fineTune.Event
 

F

File - Class in com.unfbx.chatgpt.entity.files
描述:
File - Class in com.unfbx.chatgpt.entity.files
描述:
File() - Constructor for class com.unfbx.chatgpt.entity.files.File
 
File() - Constructor for class com.unfbx.chatgpt.entity.files.File
 
files() - Method in interface com.unfbx.chatgpt.OpenAiApi
Returns a list of files that belong to the user's organization.
files() - Method in interface com.unfbx.chatgpt.OpenAiApi
Returns a list of files that belong to the user's organization.
files() - Method in class com.unfbx.chatgpt.OpenAiClient
获取文件列表
files() - Method in class com.unfbx.chatgpt.OpenAiClient
获取文件列表
FineTune - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTune - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTune() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTune
 
FineTune() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTune
 
fineTune(FineTune) - Method in interface com.unfbx.chatgpt.OpenAiApi
创建微调作业
fineTune(FineTune) - Method in interface com.unfbx.chatgpt.OpenAiApi
创建微调作业
fineTune(FineTune) - Method in class com.unfbx.chatgpt.OpenAiClient
创建微调模型
fineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
创建微调模型
fineTune(FineTune) - Method in class com.unfbx.chatgpt.OpenAiClient
创建微调模型
fineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
创建微调模型
FineTune.Model - Enum in com.unfbx.chatgpt.entity.fineTune
 
FineTune.Model - Enum in com.unfbx.chatgpt.entity.fineTune
 
FineTuneDeleteResponse - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTuneDeleteResponse - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTuneDeleteResponse() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTuneDeleteResponse
 
FineTuneDeleteResponse() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTuneDeleteResponse
 
fineTuneEvents(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
微调作业事件列表
fineTuneEvents(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
微调作业事件列表
fineTuneEvents(String) - Method in class com.unfbx.chatgpt.OpenAiClient
微调作业事件列表
fineTuneEvents(String) - Method in class com.unfbx.chatgpt.OpenAiClient
微调作业事件列表
FineTuneResponse - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTuneResponse - Class in com.unfbx.chatgpt.entity.fineTune
 
FineTuneResponse() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTuneResponse
 
FineTuneResponse() - Constructor for class com.unfbx.chatgpt.entity.fineTune.FineTuneResponse
 
fineTunes() - Method in interface com.unfbx.chatgpt.OpenAiApi
微调作业集合
fineTunes() - Method in interface com.unfbx.chatgpt.OpenAiApi
微调作业集合
fineTunes() - Method in class com.unfbx.chatgpt.OpenAiClient
微调模型列表
fineTunes() - Method in class com.unfbx.chatgpt.OpenAiClient
微调模型列表
func(R) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
func(R) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
FunctionCall - Class in com.unfbx.chatgpt.entity.chat
描述:函数调用返回值
FunctionCall - Class in com.unfbx.chatgpt.entity.chat
描述:函数调用返回值
FunctionCall() - Constructor for class com.unfbx.chatgpt.entity.chat.FunctionCall
 
FunctionCall() - Constructor for class com.unfbx.chatgpt.entity.chat.FunctionCall
 
functionCall(FunctionCall) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
functionCall(FunctionCall) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
Functions - Class in com.unfbx.chatgpt.entity.chat
描述:方法参数实体类,实例数据如下
Functions - Class in com.unfbx.chatgpt.entity.chat
描述:方法参数实体类,实例数据如下
Functions() - Constructor for class com.unfbx.chatgpt.entity.chat.Functions
 
Functions() - Constructor for class com.unfbx.chatgpt.entity.chat.Functions
 

G

genImages(Image) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates an image given a prompt.
genImages(Image) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates an image given a prompt.
genImages(String) - Method in class com.unfbx.chatgpt.OpenAiClient
根据描述生成图片
genImages(Image) - Method in class com.unfbx.chatgpt.OpenAiClient
根据描述生成图片
genImages(String) - Method in class com.unfbx.chatgpt.OpenAiClient
根据描述生成图片
genImages(Image) - Method in class com.unfbx.chatgpt.OpenAiClient
根据描述生成图片
getArguments() - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
getArguments() - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
getArguments() - Method in class com.unfbx.chatgpt.sse.PluginEventSourceListener
 
getArguments() - Method in class com.unfbx.chatgpt.sse.PluginEventSourceListener
 
getEncoding(EncodingType) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取一个Encoding对象,通过Encoding类型
getEncoding(String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取一个Encoding对象,通过模型名称
getEncoding(EncodingType) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取一个Encoding对象,通过Encoding类型
getEncoding(String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取一个Encoding对象,通过模型名称
getKey() - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
获取请求key
getKey() - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
获取请求key
getModelTypeByName(String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取modelType
getModelTypeByName(String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
获取modelType
Grants - Class in com.unfbx.chatgpt.entity.billing
描述:
Grants - Class in com.unfbx.chatgpt.entity.billing
描述:
Grants() - Constructor for class com.unfbx.chatgpt.entity.billing.Grants
 
Grants() - Constructor for class com.unfbx.chatgpt.entity.billing.Grants
 

H

HyperParam - Class in com.unfbx.chatgpt.entity.fineTune
 
HyperParam - Class in com.unfbx.chatgpt.entity.fineTune
 
HyperParam() - Constructor for class com.unfbx.chatgpt.entity.fineTune.HyperParam
 
HyperParam() - Constructor for class com.unfbx.chatgpt.entity.fineTune.HyperParam
 

I

IError - Interface in com.unfbx.chatgpt.exception
描述:
IError - Interface in com.unfbx.chatgpt.exception
描述:
Image - Class in com.unfbx.chatgpt.entity.images
描述:
Image - Class in com.unfbx.chatgpt.entity.images
描述:
Image() - Constructor for class com.unfbx.chatgpt.entity.images.Image
 
Image() - Constructor for class com.unfbx.chatgpt.entity.images.Image
 
ImageEdit - Class in com.unfbx.chatgpt.entity.images
描述:
ImageEdit - Class in com.unfbx.chatgpt.entity.images
描述:
ImageEdit() - Constructor for class com.unfbx.chatgpt.entity.images.ImageEdit
 
ImageEdit() - Constructor for class com.unfbx.chatgpt.entity.images.ImageEdit
 
ImageResponse - Class in com.unfbx.chatgpt.entity.images
描述:
ImageResponse - Class in com.unfbx.chatgpt.entity.images
描述:
ImageResponse() - Constructor for class com.unfbx.chatgpt.entity.images.ImageResponse
 
ImageResponse() - Constructor for class com.unfbx.chatgpt.entity.images.ImageResponse
 
ImageVariations - Class in com.unfbx.chatgpt.entity.images
描述:
ImageVariations - Class in com.unfbx.chatgpt.entity.images
描述:
ImageVariations() - Constructor for class com.unfbx.chatgpt.entity.images.ImageVariations
 
ImageVariations() - Constructor for class com.unfbx.chatgpt.entity.images.ImageVariations
 
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
拦截器鉴权
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
拦截器鉴权
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.OpenAiResponseInterceptor
 
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.OpenAiResponseInterceptor
 
Item - Class in com.unfbx.chatgpt.entity.embeddings
 
Item - Class in com.unfbx.chatgpt.entity.embeddings
 
Item() - Constructor for class com.unfbx.chatgpt.entity.embeddings.Item
 
Item() - Constructor for class com.unfbx.chatgpt.entity.embeddings.Item
 
Item - Class in com.unfbx.chatgpt.entity.images
描述:
Item - Class in com.unfbx.chatgpt.entity.images
描述:
Item() - Constructor for class com.unfbx.chatgpt.entity.images.Item
 
Item() - Constructor for class com.unfbx.chatgpt.entity.images.Item
 

K

KeyRandomStrategy - Class in com.unfbx.chatgpt.function
描述:随机策略
KeyRandomStrategy - Class in com.unfbx.chatgpt.function
描述:随机策略
KeyRandomStrategy() - Constructor for class com.unfbx.chatgpt.function.KeyRandomStrategy
 
KeyRandomStrategy() - Constructor for class com.unfbx.chatgpt.function.KeyRandomStrategy
 
keyStrategy(KeyStrategyFunction) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
keyStrategy(KeyStrategyFunction) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
keyStrategy(KeyStrategyFunction) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
keyStrategy(KeyStrategyFunction) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
KeyStrategyFunction<T,R> - Interface in com.unfbx.chatgpt.function
描述:key 的获取策略 jdk默认实现
KeyStrategyFunction<T,R> - Interface in com.unfbx.chatgpt.function
描述:key 的获取策略 jdk默认实现

L

LineItem - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗列表
LineItem - Class in com.unfbx.chatgpt.entity.billing
描述:金额消耗列表
LineItem() - Constructor for class com.unfbx.chatgpt.entity.billing.LineItem
 
LineItem() - Constructor for class com.unfbx.chatgpt.entity.billing.LineItem
 
log(String) - Method in class com.unfbx.chatgpt.interceptor.OpenAILogger
 
log(String) - Method in class com.unfbx.chatgpt.interceptor.OpenAILogger
 

M

Message - Class in com.unfbx.chatgpt.entity.chat
描述:
Message - Class in com.unfbx.chatgpt.entity.chat
描述:
Message(String, String, String, FunctionCall) - Constructor for class com.unfbx.chatgpt.entity.chat.Message
构造函数
Message() - Constructor for class com.unfbx.chatgpt.entity.chat.Message
 
Message(String, String, String, FunctionCall) - Constructor for class com.unfbx.chatgpt.entity.chat.Message
构造函数
Message() - Constructor for class com.unfbx.chatgpt.entity.chat.Message
 
Message.Builder - Class in com.unfbx.chatgpt.entity.chat
 
Message.Builder - Class in com.unfbx.chatgpt.entity.chat
 
Message.Role - Enum in com.unfbx.chatgpt.entity.chat
 
Message.Role - Enum in com.unfbx.chatgpt.entity.chat
 
Model - Class in com.unfbx.chatgpt.entity.models
描述:
Model - Class in com.unfbx.chatgpt.entity.models
描述:
Model() - Constructor for class com.unfbx.chatgpt.entity.models.Model
 
Model() - Constructor for class com.unfbx.chatgpt.entity.models.Model
 
model(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
models 返回的数据id
model(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
models 返回的数据id
model(String) - Method in class com.unfbx.chatgpt.OpenAiClient
openAi模型详细信息
model(String) - Method in class com.unfbx.chatgpt.OpenAiClient
openAi模型详细信息
ModelResponse - Class in com.unfbx.chatgpt.entity.models
描述:
ModelResponse - Class in com.unfbx.chatgpt.entity.models
描述:
ModelResponse() - Constructor for class com.unfbx.chatgpt.entity.models.ModelResponse
 
ModelResponse() - Constructor for class com.unfbx.chatgpt.entity.models.ModelResponse
 
models() - Method in interface com.unfbx.chatgpt.OpenAiApi
模型列表
models() - Method in interface com.unfbx.chatgpt.OpenAiApi
模型列表
models() - Method in class com.unfbx.chatgpt.OpenAiClient
openAi模型列表
models() - Method in class com.unfbx.chatgpt.OpenAiClient
openAi模型列表
Moderation - Class in com.unfbx.chatgpt.entity.moderations
描述:文本审核,敏感词鉴别
Moderation - Class in com.unfbx.chatgpt.entity.moderations
描述:文本审核,敏感词鉴别
Moderation() - Constructor for class com.unfbx.chatgpt.entity.moderations.Moderation
 
Moderation() - Constructor for class com.unfbx.chatgpt.entity.moderations.Moderation
 
Moderation.Model - Enum in com.unfbx.chatgpt.entity.moderations
 
Moderation.Model - Enum in com.unfbx.chatgpt.entity.moderations
 
ModerationResponse - Class in com.unfbx.chatgpt.entity.moderations
描述:
ModerationResponse - Class in com.unfbx.chatgpt.entity.moderations
描述:
ModerationResponse() - Constructor for class com.unfbx.chatgpt.entity.moderations.ModerationResponse
 
ModerationResponse() - Constructor for class com.unfbx.chatgpt.entity.moderations.ModerationResponse
 
moderations(Moderation) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本审核
moderations(Moderation) - Method in interface com.unfbx.chatgpt.OpenAiApi
文本审核
moderations(String) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
moderations(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
moderations(Moderation) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
moderations(String) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
moderations(List<String>) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
moderations(Moderation) - Method in class com.unfbx.chatgpt.OpenAiClient
文本审核
msg() - Method in enum com.unfbx.chatgpt.exception.CommonError
 
msg() - Method in enum com.unfbx.chatgpt.exception.CommonError
 
msg() - Method in interface com.unfbx.chatgpt.exception.IError
 
msg() - Method in interface com.unfbx.chatgpt.exception.IError
 

N

name(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
name(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
 
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
 
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
所有的key都失效后,自定义预警配置 不配置直接return
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
所有的key都失效后,自定义预警配置 不配置直接return
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
所有的key都失效后,自定义预警配置 可以通过warringConfig配置参数实现飞书、钉钉、企业微信、邮箱预警等
noHaveActiveKeyWarring() - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
所有的key都失效后,自定义预警配置 可以通过warringConfig配置参数实现飞书、钉钉、企业微信、邮箱预警等

O

okHttpClient(OkHttpClient) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
okHttpClient(OkHttpClient) - Method in class com.unfbx.chatgpt.OpenAiClient.Builder
 
okHttpClient(OkHttpClient) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
okHttpClient(OkHttpClient) - Method in class com.unfbx.chatgpt.OpenAiStreamClient.Builder
 
onClosed(EventSource) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onClosed(EventSource) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onClosed(EventSource) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onClosed(EventSource) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
key失效或者禁用后的处理逻辑 默认不处理
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.DefaultOpenAiAuthInterceptor
key失效或者禁用后的处理逻辑 默认不处理
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.DynamicKeyOpenAiAuthInterceptor
 
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
自定义apiKeys的处理逻辑
onErrorDealApiKeys(String) - Method in class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
自定义apiKeys的处理逻辑
onEvent(EventSource, String, String, String) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onEvent(EventSource, String, String, String) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onEvent(EventSource, String, String, String) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onEvent(EventSource, String, String, String) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onFailure(EventSource, Throwable, Response) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onFailure(EventSource, Throwable, Response) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onFailure(EventSource, Throwable, Response) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onFailure(EventSource, Throwable, Response) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onOpen(EventSource, Response) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onOpen(EventSource, Response) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onOpen(EventSource, Response) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
onOpen(EventSource, Response) - Method in class com.unfbx.chatgpt.sse.DefaultPluginEventSourceListener
 
OPENAI_HOST - Static variable in class com.unfbx.chatgpt.constant.OpenAIConst
 
OPENAI_HOST - Static variable in class com.unfbx.chatgpt.constant.OpenAIConst
 
OpenAiApi - Interface in com.unfbx.chatgpt
描述: open ai官方api接口
OpenAiApi - Interface in com.unfbx.chatgpt
描述: open ai官方api接口
OpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
 
OpenAiAuthInterceptor - Class in com.unfbx.chatgpt.interceptor
 
OpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
 
OpenAiAuthInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAiAuthInterceptor
 
OpenAiClient - Class in com.unfbx.chatgpt
描述: open ai 客户端
OpenAiClient - Class in com.unfbx.chatgpt
描述: open ai 客户端
OpenAiClient.Builder - Class in com.unfbx.chatgpt
 
OpenAiClient.Builder - Class in com.unfbx.chatgpt
 
OpenAIConst - Class in com.unfbx.chatgpt.constant
描述:
OpenAIConst - Class in com.unfbx.chatgpt.constant
描述:
OpenAIConst() - Constructor for class com.unfbx.chatgpt.constant.OpenAIConst
 
OpenAIConst() - Constructor for class com.unfbx.chatgpt.constant.OpenAIConst
 
OpenAILogger - Class in com.unfbx.chatgpt.interceptor
描述: 日志
OpenAILogger - Class in com.unfbx.chatgpt.interceptor
描述: 日志
OpenAILogger() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAILogger
 
OpenAILogger() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAILogger
 
OpenAiResponse<T> - Class in com.unfbx.chatgpt.entity.common
描述:
OpenAiResponse<T> - Class in com.unfbx.chatgpt.entity.common
描述:
OpenAiResponse() - Constructor for class com.unfbx.chatgpt.entity.common.OpenAiResponse
 
OpenAiResponse() - Constructor for class com.unfbx.chatgpt.entity.common.OpenAiResponse
 
OpenAiResponse.Error - Class in com.unfbx.chatgpt.entity.common
 
OpenAiResponse.Error - Class in com.unfbx.chatgpt.entity.common
 
OpenAiResponseInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:openai 返回值处理Interceptor
OpenAiResponseInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:openai 返回值处理Interceptor
OpenAiResponseInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAiResponseInterceptor
 
OpenAiResponseInterceptor() - Constructor for class com.unfbx.chatgpt.interceptor.OpenAiResponseInterceptor
 
OpenAiStreamClient - Class in com.unfbx.chatgpt
描述: open ai 客户端
OpenAiStreamClient - Class in com.unfbx.chatgpt
描述: open ai 客户端
OpenAiStreamClient.Builder - Class in com.unfbx.chatgpt
 
OpenAiStreamClient.Builder - Class in com.unfbx.chatgpt
 

P

Parameters - Class in com.unfbx.chatgpt.entity.chat
描述:方法参数类,扩展参数可以继承Parameters自己实现 参考:
Parameters - Class in com.unfbx.chatgpt.entity.chat
描述:方法参数类,扩展参数可以继承Parameters自己实现 参考:
Parameters() - Constructor for class com.unfbx.chatgpt.entity.chat.Parameters
 
Parameters() - Constructor for class com.unfbx.chatgpt.entity.chat.Parameters
 
Permission - Class in com.unfbx.chatgpt.entity.models
描述:
Permission - Class in com.unfbx.chatgpt.entity.models
描述:
Permission() - Constructor for class com.unfbx.chatgpt.entity.models.Permission
 
Permission() - Constructor for class com.unfbx.chatgpt.entity.models.Permission
 
Plan - Class in com.unfbx.chatgpt.entity.billing
描述:
Plan - Class in com.unfbx.chatgpt.entity.billing
描述:
Plan() - Constructor for class com.unfbx.chatgpt.entity.billing.Plan
 
Plan() - Constructor for class com.unfbx.chatgpt.entity.billing.Plan
 
PluginAbstract<R extends PluginParam,T> - Class in com.unfbx.chatgpt.plugin
 
PluginAbstract<R extends PluginParam,T> - Class in com.unfbx.chatgpt.plugin
 
PluginAbstract(Class<?>) - Constructor for class com.unfbx.chatgpt.plugin.PluginAbstract
 
PluginAbstract(Class<?>) - Constructor for class com.unfbx.chatgpt.plugin.PluginAbstract
 
PluginAbstract.Arg - Class in com.unfbx.chatgpt.plugin
 
PluginAbstract.Arg - Class in com.unfbx.chatgpt.plugin
 
PluginEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: 插件开发返回信息收集sse监听器
PluginEventSourceListener - Class in com.unfbx.chatgpt.sse
描述: 插件开发返回信息收集sse监听器
PluginEventSourceListener() - Constructor for class com.unfbx.chatgpt.sse.PluginEventSourceListener
 
PluginEventSourceListener() - Constructor for class com.unfbx.chatgpt.sse.PluginEventSourceListener
 
PluginParam - Class in com.unfbx.chatgpt.plugin
 
PluginParam - Class in com.unfbx.chatgpt.plugin
 
PluginParam() - Constructor for class com.unfbx.chatgpt.plugin.PluginParam
 
PluginParam() - Constructor for class com.unfbx.chatgpt.plugin.PluginParam
 

R

ResponseFormat - Enum in com.unfbx.chatgpt.entity.images
描述:
ResponseFormat - Enum in com.unfbx.chatgpt.entity.images
描述:
Result - Class in com.unfbx.chatgpt.entity.moderations
描述:
Result - Class in com.unfbx.chatgpt.entity.moderations
描述:
Result() - Constructor for class com.unfbx.chatgpt.entity.moderations.Result
 
Result() - Constructor for class com.unfbx.chatgpt.entity.moderations.Result
 
retrieveFile(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索文件
retrieveFile(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索文件
retrieveFile(String) - Method in class com.unfbx.chatgpt.OpenAiClient
检索文件
retrieveFile(String) - Method in class com.unfbx.chatgpt.OpenAiClient
检索文件
retrieveFileContent(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索文件内容 ###不对免费用户开放### ###不对免费用户开放### ###不对免费用户开放###
retrieveFileContent(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索文件内容 ###不对免费用户开放### ###不对免费用户开放### ###不对免费用户开放###
retrieveFineTune(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索微调作业
retrieveFineTune(String) - Method in interface com.unfbx.chatgpt.OpenAiApi
检索微调作业
retrieveFineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
检索微调作业
retrieveFineTune(String) - Method in class com.unfbx.chatgpt.OpenAiClient
检索微调作业
role(Message.Role) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
role(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
role(Message.Role) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 
role(String) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 

S

setArgs(List<PluginAbstract.Arg>) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
setArgs(List<PluginAbstract.Arg>) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
setBatchSize(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setBatchSize(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setClassificationBetas(List) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setClassificationBetas(List) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setClassificationNClasses(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setClassificationNClasses(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setComputeClassificationMetrics(boolean) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setComputeClassificationMetrics(boolean) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setInput(String) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setInput(String) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setInput(List<String>) - Method in class com.unfbx.chatgpt.entity.moderations.Moderation
 
setInput(List<String>) - Method in class com.unfbx.chatgpt.entity.moderations.Moderation
 
setInstruction(String) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setInstruction(String) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setLearningRateMultiplier(Double) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setLearningRateMultiplier(Double) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setModel(Edit.Model) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setModel(Edit.Model) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setModel(Embedding.Model) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
setModel(Embedding.Model) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
setModel(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setModel(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setModel(Moderation.Model) - Method in class com.unfbx.chatgpt.entity.moderations.Moderation
 
setModel(Moderation.Model) - Method in class com.unfbx.chatgpt.entity.moderations.Moderation
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setN(Integer) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setN_epochs(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setN_epochs(Integer) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setPrompt(String) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setPrompt(String) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setPrompt(String) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setPrompt(String) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setPromptLossWeight(Double) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setPromptLossWeight(Double) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setRequired(List<String>) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
setRequired(List<String>) - Method in class com.unfbx.chatgpt.plugin.PluginAbstract
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setResponseFormat(ResponseFormat) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setSize(SizeEnum) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setSuffix(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setSuffix(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setTemperature(double) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setTemperature(double) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setTopP(Double) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setTopP(Double) - Method in class com.unfbx.chatgpt.entity.edits.Edit
 
setTrainingFile(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setTrainingFile(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.Image
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.ImageEdit
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setUser(String) - Method in class com.unfbx.chatgpt.entity.images.ImageVariations
 
setValidationFile(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
setValidationFile(String) - Method in class com.unfbx.chatgpt.entity.fineTune.FineTune
 
SizeEnum - Enum in com.unfbx.chatgpt.entity.images
描述:
SizeEnum - Enum in com.unfbx.chatgpt.entity.images
描述:
speechToTextTranscriptions(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音转文字
speechToTextTranscriptions(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音转文字
speechToTextTranscriptions(File, Transcriptions) - Method in class com.unfbx.chatgpt.OpenAiClient
语音转文字
speechToTextTranscriptions(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音转文字
speechToTextTranscriptions(File, Transcriptions) - Method in class com.unfbx.chatgpt.OpenAiClient
语音转文字
speechToTextTranscriptions(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音转文字
speechToTextTranslations(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File, Translations) - Method in class com.unfbx.chatgpt.OpenAiClient
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File, Translations) - Method in class com.unfbx.chatgpt.OpenAiClient
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音翻译:目前仅支持翻译为英文
streamChatCompletion(ChatCompletion, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
流式输出,最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
streamChatCompletion(List<Message>, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
流式输出,最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
streamChatCompletion(ChatCompletion, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
流式输出,最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
streamChatCompletion(List<Message>, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
流式输出,最新版的GPT-3.5 chat completion 更加贴近官方网站的问答模型
streamChatCompletionWithPlugin(ChatCompletion, EventSourceListener, PluginEventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(ChatCompletion, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(List<Message>, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(List<Message>, String, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话
streamChatCompletionWithPlugin(ChatCompletion, EventSourceListener, PluginEventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(ChatCompletion, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(List<Message>, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话 默认模型:ChatCompletion.Model.GPT_3_5_TURBO_16K_0613
streamChatCompletionWithPlugin(List<Message>, String, EventSourceListener, PluginAbstract<R, T>) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
插件问答简易版 默认取messages最后一个元素构建插件对话
streamCompletions(Completion, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
问答接口 stream 形式
streamCompletions(String, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
问答接口-简易版
streamCompletions(Completion, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
问答接口 stream 形式
streamCompletions(String, EventSourceListener) - Method in class com.unfbx.chatgpt.OpenAiStreamClient
问答接口-简易版
Subscription - Class in com.unfbx.chatgpt.entity.billing
描述:账户信息
Subscription - Class in com.unfbx.chatgpt.entity.billing
描述:账户信息
Subscription() - Constructor for class com.unfbx.chatgpt.entity.billing.Subscription
 
Subscription() - Constructor for class com.unfbx.chatgpt.entity.billing.Subscription
 
subscription() - Method in interface com.unfbx.chatgpt.OpenAiApi
账户信息查询:里面包含总金额(美元)等信息
subscription() - Method in interface com.unfbx.chatgpt.OpenAiApi
账户信息查询:里面包含总金额(美元)等信息
subscription() - Method in class com.unfbx.chatgpt.OpenAiClient
账户信息查询:里面包含总金额等信息
subscription() - Method in class com.unfbx.chatgpt.OpenAiClient
账户信息查询:里面包含总金额等信息
subscription() - Method in class com.unfbx.chatgpt.OpenAiStreamClient
账户信息查询:里面包含总金额等信息
subscription() - Method in class com.unfbx.chatgpt.OpenAiStreamClient
账户信息查询:里面包含总金额等信息

T

TikTokensUtil - Class in com.unfbx.chatgpt.utils
描述:token计算工具类
TikTokensUtil - Class in com.unfbx.chatgpt.utils
描述:token计算工具类
TikTokensUtil() - Constructor for class com.unfbx.chatgpt.utils.TikTokensUtil
 
TikTokensUtil() - Constructor for class com.unfbx.chatgpt.utils.TikTokensUtil
 
tokens() - Method in class com.unfbx.chatgpt.entity.chat.ChatCompletion
获取当前参数的tokens数
tokens() - Method in class com.unfbx.chatgpt.entity.chat.ChatCompletion
获取当前参数的tokens数
tokens() - Method in class com.unfbx.chatgpt.entity.completions.Completion
获取当前参数的tokens数
tokens() - Method in class com.unfbx.chatgpt.entity.completions.Completion
获取当前参数的tokens数
tokens(Encoding, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding计算text信息的tokens
tokens(EncodingType, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
计算指定字符串的tokens,通过EncodingType
tokens(String, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称, 计算指定字符串的tokens
tokens(String, List<Message>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称计算messages获取编码数组 参考官方的处理逻辑: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
tokens(Encoding, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过Encoding计算text信息的tokens
tokens(EncodingType, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
计算指定字符串的tokens,通过EncodingType
tokens(String, String) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称, 计算指定字符串的tokens
tokens(String, List<Message>) - Static method in class com.unfbx.chatgpt.utils.TikTokensUtil
通过模型名称计算messages获取编码数组 参考官方的处理逻辑: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
TrainingFile - Class in com.unfbx.chatgpt.entity.fineTune
 
TrainingFile - Class in com.unfbx.chatgpt.entity.fineTune
 
TrainingFile() - Constructor for class com.unfbx.chatgpt.entity.fineTune.TrainingFile
 
TrainingFile() - Constructor for class com.unfbx.chatgpt.entity.fineTune.TrainingFile
 
Transcriptions - Class in com.unfbx.chatgpt.entity.whisper
 
Transcriptions - Class in com.unfbx.chatgpt.entity.whisper
 
Transcriptions() - Constructor for class com.unfbx.chatgpt.entity.whisper.Transcriptions
 
Transcriptions() - Constructor for class com.unfbx.chatgpt.entity.whisper.Transcriptions
 
Translations - Class in com.unfbx.chatgpt.entity.whisper
 
Translations - Class in com.unfbx.chatgpt.entity.whisper
 
Translations() - Constructor for class com.unfbx.chatgpt.entity.whisper.Translations
 
Translations() - Constructor for class com.unfbx.chatgpt.entity.whisper.Translations
 

U

uploadFile(MultipartBody.Part, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
上传文件
uploadFile(MultipartBody.Part, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
上传文件
uploadFile(String, File) - Method in class com.unfbx.chatgpt.OpenAiClient
上传文件
uploadFile(File) - Method in class com.unfbx.chatgpt.OpenAiClient
上传文件
uploadFile(String, File) - Method in class com.unfbx.chatgpt.OpenAiClient
上传文件
uploadFile(File) - Method in class com.unfbx.chatgpt.OpenAiClient
上传文件
UploadFileResponse - Class in com.unfbx.chatgpt.entity.files
描述:
UploadFileResponse - Class in com.unfbx.chatgpt.entity.files
描述:
UploadFileResponse() - Constructor for class com.unfbx.chatgpt.entity.files.UploadFileResponse
 
UploadFileResponse() - Constructor for class com.unfbx.chatgpt.entity.files.UploadFileResponse
 
Usage - Class in com.unfbx.chatgpt.entity.common
描述:
Usage - Class in com.unfbx.chatgpt.entity.common
描述:
Usage() - Constructor for class com.unfbx.chatgpt.entity.common.Usage
 
Usage() - Constructor for class com.unfbx.chatgpt.entity.common.Usage
 

V

valueOf(String) - Static method in enum com.unfbx.chatgpt.config.ChatGPTUrl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.config.ChatGPTUrl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.chat.ChatCompletion.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.chat.ChatCompletion.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.chat.Message.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.chat.Message.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.completions.Completion.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.completions.Completion.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.edits.Edit.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.edits.Edit.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.embeddings.Embedding.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.embeddings.Embedding.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.fineTune.FineTune.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.fineTune.FineTune.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.images.ResponseFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.images.ResponseFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.images.SizeEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.images.SizeEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.moderations.Moderation.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.moderations.Moderation.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.ResponseFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.ResponseFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.exception.CommonError
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.unfbx.chatgpt.exception.CommonError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.unfbx.chatgpt.config.ChatGPTUrl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.config.ChatGPTUrl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.chat.ChatCompletion.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.chat.ChatCompletion.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.chat.Message.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.chat.Message.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.completions.Completion.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.completions.Completion.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.edits.Edit.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.edits.Edit.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.embeddings.Embedding.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.embeddings.Embedding.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.fineTune.FineTune.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.fineTune.FineTune.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.images.ResponseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.images.ResponseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.images.SizeEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.images.SizeEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.moderations.Moderation.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.moderations.Moderation.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.ResponseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.entity.whisper.Whisper.ResponseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.exception.CommonError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.unfbx.chatgpt.exception.CommonError
Returns an array containing the constants of this enum type, in the order they are declared.
variationsImages(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates a variation of a given image.
variationsImages(MultipartBody.Part, Map<String, RequestBody>) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates a variation of a given image.
variationsImages(File, ImageVariations) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates a variation of a given image.
variationsImages(File) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates a variation of a given image.
variationsImages(File, ImageVariations) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates a variation of a given image.
variationsImages(File) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates a variation of a given image.

W

Whisper - Class in com.unfbx.chatgpt.entity.whisper
描述:语音转文字
Whisper - Class in com.unfbx.chatgpt.entity.whisper
描述:语音转文字
Whisper() - Constructor for class com.unfbx.chatgpt.entity.whisper.Whisper
 
Whisper() - Constructor for class com.unfbx.chatgpt.entity.whisper.Whisper
 
Whisper.Model - Enum in com.unfbx.chatgpt.entity.whisper
 
Whisper.Model - Enum in com.unfbx.chatgpt.entity.whisper
 
Whisper.ResponseFormat - Enum in com.unfbx.chatgpt.entity.whisper
 
Whisper.ResponseFormat - Enum in com.unfbx.chatgpt.entity.whisper
 
WhisperResponse - Class in com.unfbx.chatgpt.entity.whisper
描述:
WhisperResponse - Class in com.unfbx.chatgpt.entity.whisper
描述:
WhisperResponse() - Constructor for class com.unfbx.chatgpt.entity.whisper.WhisperResponse
 
WhisperResponse() - Constructor for class com.unfbx.chatgpt.entity.whisper.WhisperResponse
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2023 grt1228. All rights reserved.