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.
askQuestion(String) - Method in class com.unfbx.chatgpt.ChatGPTClient
Deprecated.
askQuestion(String) - Method in class com.unfbx.chatgpt.ChatGPTClient
Deprecated.

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
 
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
 
ChatGPTClient - Class in com.unfbx.chatgpt
描述: chatgpt客户端 已经弃用,请使用下面的实现方式:
ChatGPTClient - Class in com.unfbx.chatgpt
描述: chatgpt客户端 已经弃用,请使用下面的实现方式:
ChatGPTClient(String) - Constructor for class com.unfbx.chatgpt.ChatGPTClient
 
ChatGPTClient(String) - Constructor for class com.unfbx.chatgpt.ChatGPTClient
 
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.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
 
creditGrants() - Method in interface com.unfbx.chatgpt.OpenAiApi
余额查询
creditGrants() - Method in interface com.unfbx.chatgpt.OpenAiApi
余额查询
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

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编码数组,反推字符串文本
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
 

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
Creates an embedding vector representing the input text.
embeddings(Embedding) - Method in interface com.unfbx.chatgpt.OpenAiApi
Creates an embedding vector representing the input text.
embeddings(String) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an embedding vector representing the input text.
embeddings(Embedding) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an embedding vector representing the input text.
embeddings(String) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an embedding vector representing the input text.
embeddings(Embedding) - Method in class com.unfbx.chatgpt.OpenAiClient
Creates an embedding vector representing the input text.
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
微调模型列表

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
根据描述生成图片
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对象,通过模型名称
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

HeaderAuthorizationInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:请求增加header apikey
HeaderAuthorizationInterceptor - Class in com.unfbx.chatgpt.interceptor
描述:请求增加header apikey
HeaderAuthorizationInterceptor(List<String>, KeyStrategyFunction<List<String>, String>) - Constructor for class com.unfbx.chatgpt.interceptor.HeaderAuthorizationInterceptor
请求头处理
HeaderAuthorizationInterceptor(List<String>, KeyStrategyFunction<List<String>, String>) - Constructor for class com.unfbx.chatgpt.interceptor.HeaderAuthorizationInterceptor
请求头处理
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.HeaderAuthorizationInterceptor
 
intercept(Interceptor.Chain) - Method in class com.unfbx.chatgpt.interceptor.HeaderAuthorizationInterceptor
 
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

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) - Constructor for class com.unfbx.chatgpt.entity.chat.Message
构造函数
Message() - Constructor for class com.unfbx.chatgpt.entity.chat.Message
 
Message(String, String, String) - 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
 

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
 
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
 
onFailure(EventSource, Throwable, Response) - Method in class com.unfbx.chatgpt.sse.ConsoleEventSourceListener
 
onFailure(EventSource, Throwable, 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.ConsoleEventSourceListener
 
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接口
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

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
 

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(Message.Role) - Method in class com.unfbx.chatgpt.entity.chat.Message.Builder
 

S

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(String) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
setInput(String) - Method in class com.unfbx.chatgpt.entity.embeddings.Embedding
 
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
 
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, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音转文字
speechToTextTranscriptions(MultipartBody.Part, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音转文字
speechToTextTranscriptions(File, Whisper.Model) - Method in class com.unfbx.chatgpt.OpenAiClient
语音转文字
speechToTextTranscriptions(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音转文字
speechToTextTranscriptions(File, Whisper.Model) - Method in class com.unfbx.chatgpt.OpenAiClient
语音转文字
speechToTextTranscriptions(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音转文字
speechToTextTranslations(MultipartBody.Part, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(MultipartBody.Part, RequestBody) - Method in interface com.unfbx.chatgpt.OpenAiApi
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File, Whisper.Model) - Method in class com.unfbx.chatgpt.OpenAiClient
语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File) - Method in class com.unfbx.chatgpt.OpenAiClient
简易版 语音翻译:目前仅支持翻译为英文
speechToTextTranslations(File, Whisper.Model) - 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 更加贴近官方网站的问答模型
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
问答接口-简易版

T

TikTokensUtil - Class in com.unfbx.chatgpt.utils
描述:
TikTokensUtil - Class in com.unfbx.chatgpt.utils
描述:
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
 

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.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.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
 
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.