跳过导航链接
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractEventSourceListener - com.lzhpo.chatgpt.sse中的类
Abstract listener for Server-Sent Events.
AbstractEventSourceListener() - 类 的构造器com.lzhpo.chatgpt.sse.AbstractEventSourceListener
 
ACCESS_TERMINATED - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
ACCOUNT_DEACTIVATED - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
APPLICATION_JSON - 类 中的静态变量com.lzhpo.chatgpt.OpenAiConstant
The application/json.

B

BEARER - 类 中的静态变量com.lzhpo.chatgpt.OpenAiConstant
The Authorization value prefix.
billingCreditGrants() - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
billingCreditGrants() - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Query billing credit grants.
billingSubscription() - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
billingSubscription() - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Query billing subscription.
billingUsage(String, String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
billingUsage(String, String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Query billing usage.

C

cancelFineTune(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
cancelFineTune(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Cancel fine-tune by fineTuneId.
CancelFineTuneEvent - com.lzhpo.chatgpt.entity.finetunes中的类
 
CancelFineTuneEvent() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.CancelFineTuneEvent
 
CancelFineTuneResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
CancelFineTuneResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.CancelFineTuneResponse
 
ChatCompletionChoice - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionChoice() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionChoice
 
ChatCompletionFunction - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionFunction() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionFunction
 
ChatCompletionFunctionCall - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionFunctionCall() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionFunctionCall
 
ChatCompletionMessage - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionMessage() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionMessage
 
ChatCompletionParameter - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionParameter() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionParameter
 
ChatCompletionRequest - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionRequest() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionRequest
 
ChatCompletionResponse - com.lzhpo.chatgpt.entity.chat中的类
 
ChatCompletionResponse() - 类 的构造器com.lzhpo.chatgpt.entity.chat.ChatCompletionResponse
 
chatCompletions(ChatCompletionRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
chatCompletions(ChatCompletionRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create chat completion.
com.lzhpo.chatgpt - 程序包 com.lzhpo.chatgpt
 
com.lzhpo.chatgpt.apikey - 程序包 com.lzhpo.chatgpt.apikey
 
com.lzhpo.chatgpt.entity - 程序包 com.lzhpo.chatgpt.entity
 
com.lzhpo.chatgpt.entity.audio - 程序包 com.lzhpo.chatgpt.entity.audio
 
com.lzhpo.chatgpt.entity.billing - 程序包 com.lzhpo.chatgpt.entity.billing
 
com.lzhpo.chatgpt.entity.chat - 程序包 com.lzhpo.chatgpt.entity.chat
 
com.lzhpo.chatgpt.entity.completions - 程序包 com.lzhpo.chatgpt.entity.completions
 
com.lzhpo.chatgpt.entity.edit - 程序包 com.lzhpo.chatgpt.entity.edit
 
com.lzhpo.chatgpt.entity.embeddings - 程序包 com.lzhpo.chatgpt.entity.embeddings
 
com.lzhpo.chatgpt.entity.files - 程序包 com.lzhpo.chatgpt.entity.files
 
com.lzhpo.chatgpt.entity.finetunes - 程序包 com.lzhpo.chatgpt.entity.finetunes
 
com.lzhpo.chatgpt.entity.image - 程序包 com.lzhpo.chatgpt.entity.image
 
com.lzhpo.chatgpt.entity.model - 程序包 com.lzhpo.chatgpt.entity.model
 
com.lzhpo.chatgpt.entity.moderations - 程序包 com.lzhpo.chatgpt.entity.moderations
 
com.lzhpo.chatgpt.entity.users - 程序包 com.lzhpo.chatgpt.entity.users
 
com.lzhpo.chatgpt.exception - 程序包 com.lzhpo.chatgpt.exception
 
com.lzhpo.chatgpt.properties - 程序包 com.lzhpo.chatgpt.properties
 
com.lzhpo.chatgpt.sse - 程序包 com.lzhpo.chatgpt.sse
 
com.lzhpo.chatgpt.utils - 程序包 com.lzhpo.chatgpt.utils
 
CommonConfig - com.lzhpo.chatgpt.entity中的类
 
CommonConfig() - 类 的构造器com.lzhpo.chatgpt.entity.CommonConfig
 
CommonUsage - com.lzhpo.chatgpt.entity中的类
 
CommonUsage() - 类 的构造器com.lzhpo.chatgpt.entity.CommonUsage
 
CompletionChoice - com.lzhpo.chatgpt.entity.completions中的类
 
CompletionChoice() - 类 的构造器com.lzhpo.chatgpt.entity.completions.CompletionChoice
 
CompletionRequest - com.lzhpo.chatgpt.entity.completions中的类
 
CompletionRequest() - 类 的构造器com.lzhpo.chatgpt.entity.completions.CompletionRequest
 
CompletionResponse - com.lzhpo.chatgpt.entity.completions中的类
 
CompletionResponse() - 类 的构造器com.lzhpo.chatgpt.entity.completions.CompletionResponse
 
completions(CompletionRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
completions(CompletionRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
已过时。
CountDownLatchEventSourceListener - com.lzhpo.chatgpt.sse中的类
CountDownLatchEventSourceListener(CountDownLatch) - 类 的构造器com.lzhpo.chatgpt.sse.CountDownLatchEventSourceListener
 
create(String) - 类 中的静态方法com.lzhpo.chatgpt.entity.chat.ChatCompletionRequest
User content to create one chat request.
CreateAudioRequest - com.lzhpo.chatgpt.entity.audio中的类
 
CreateAudioRequest() - 类 的构造器com.lzhpo.chatgpt.entity.audio.CreateAudioRequest
 
CreateAudioResponse - com.lzhpo.chatgpt.entity.audio中的类
 
CreateAudioResponse() - 类 的构造器com.lzhpo.chatgpt.entity.audio.CreateAudioResponse
 
createFineTune(CreateFineTuneRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createFineTune(CreateFineTuneRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create fine-tune.
CreateFineTuneEvents - com.lzhpo.chatgpt.entity.finetunes中的类
 
CreateFineTuneEvents() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.CreateFineTuneEvents
 
CreateFineTuneRequest - com.lzhpo.chatgpt.entity.finetunes中的类
 
CreateFineTuneRequest() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.CreateFineTuneRequest
 
CreateFineTuneResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
CreateFineTuneResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.CreateFineTuneResponse
 
createImage(CreateImageRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createImage(CreateImageRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create image.
createImageEdit(Resource, Resource, CreateImageRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createImageEdit(Resource, Resource, CreateImageRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create image edit.
CreateImageRequest - com.lzhpo.chatgpt.entity.image中的类
 
CreateImageRequest() - 类 的构造器com.lzhpo.chatgpt.entity.image.CreateImageRequest
 
CreateImageResponse - com.lzhpo.chatgpt.entity.image中的类
 
CreateImageResponse() - 类 的构造器com.lzhpo.chatgpt.entity.image.CreateImageResponse
 
CreateImageResponseFormat - com.lzhpo.chatgpt.entity.image中的枚举
 
CreateImageSize - com.lzhpo.chatgpt.entity.image中的枚举
 
CreateImageUrl - com.lzhpo.chatgpt.entity.image中的类
 
CreateImageUrl() - 类 的构造器com.lzhpo.chatgpt.entity.image.CreateImageUrl
 
createImageVariation(Resource, CreateImageVariationRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createImageVariation(Resource, CreateImageVariationRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create image variation.
CreateImageVariationRequest - com.lzhpo.chatgpt.entity.image中的类
 
CreateImageVariationRequest() - 类 的构造器com.lzhpo.chatgpt.entity.image.CreateImageVariationRequest
 
createTranscription(Resource, CreateAudioRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createTranscription(Resource, CreateAudioRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create transcription.
createTranslation(Resource, CreateAudioRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
createTranslation(Resource, CreateAudioRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create translation.
CreditGrants - com.lzhpo.chatgpt.entity.billing中的类
 
CreditGrants() - 类 的构造器com.lzhpo.chatgpt.entity.billing.CreditGrants
 
CreditGrantsData - com.lzhpo.chatgpt.entity.billing中的类
 
CreditGrantsData() - 类 的构造器com.lzhpo.chatgpt.entity.billing.CreditGrantsData
 
CreditGrantsResponse - com.lzhpo.chatgpt.entity.billing中的类
 
CreditGrantsResponse() - 类 的构造器com.lzhpo.chatgpt.entity.billing.CreditGrantsResponse
 

D

DefaultOpenAiClient - com.lzhpo.chatgpt中的类
 
DefaultOpenAiClient() - 类 的构造器com.lzhpo.chatgpt.DefaultOpenAiClient
 
deleteFile(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
deleteFile(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Delete file by fileId.
DeleteFileResponse - com.lzhpo.chatgpt.entity.files中的类
 
DeleteFileResponse() - 类 的构造器com.lzhpo.chatgpt.entity.files.DeleteFileResponse
 
deleteFineTuneModel(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
deleteFineTuneModel(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Delete fine-tune model.
DeleteFineTuneModelResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
DeleteFineTuneModelResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.DeleteFineTuneModelResponse
 

E

EditChoice - com.lzhpo.chatgpt.entity.edit中的类
 
EditChoice() - 类 的构造器com.lzhpo.chatgpt.entity.edit.EditChoice
 
EditRequest - com.lzhpo.chatgpt.entity.edit中的类
 
EditRequest() - 类 的构造器com.lzhpo.chatgpt.entity.edit.EditRequest
 
EditResponse - com.lzhpo.chatgpt.entity.edit中的类
 
EditResponse() - 类 的构造器com.lzhpo.chatgpt.entity.edit.EditResponse
 
edits(EditRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
edits(EditRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create edit.
EmbeddingData - com.lzhpo.chatgpt.entity.embeddings中的类
 
EmbeddingData() - 类 的构造器com.lzhpo.chatgpt.entity.embeddings.EmbeddingData
 
EmbeddingRequest - com.lzhpo.chatgpt.entity.embeddings中的类
 
EmbeddingRequest() - 类 的构造器com.lzhpo.chatgpt.entity.embeddings.EmbeddingRequest
 
EmbeddingResponse - com.lzhpo.chatgpt.entity.embeddings中的类
 
EmbeddingResponse() - 类 的构造器com.lzhpo.chatgpt.entity.embeddings.EmbeddingResponse
 
embeddings(EmbeddingRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
embeddings(EmbeddingRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create embeddings.
EXPECTED_IMAGE_TYPE - 类 中的静态变量com.lzhpo.chatgpt.OpenAiConstant
The image type must be png type.

F

FineTuneEvent - com.lzhpo.chatgpt.entity.finetunes中的类
 
FineTuneEvent() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.FineTuneEvent
 
FineTuneFiles - com.lzhpo.chatgpt.entity.finetunes中的类
 
FineTuneFiles() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.FineTuneFiles
 

G

get() - 接口 中的方法com.lzhpo.chatgpt.apikey.OpenAiKeyProvider
Get the OpenAiKey.
getEncoding(ModelType) - 类 中的静态方法com.lzhpo.chatgpt.utils.TokenUtils
Returns the encoding that is used for the given model type.
getRegistry() - 类 中的静态方法com.lzhpo.chatgpt.utils.TokenUtils

H

hashKey(List<OpenAiKey>) - 类 中的静态方法com.lzhpo.chatgpt.apikey.OpenAiKeyWrapper
Hash openAiKeys.
Hyperparams - com.lzhpo.chatgpt.entity.finetunes中的类
 
Hyperparams() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.Hyperparams
 

I

IMAGE_PNG - 类 中的静态变量com.lzhpo.chatgpt.OpenAiConstant
The image/png.
INSUFFICIENT_QUOTA - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
intercept(Interceptor.Chain) - 类 中的方法com.lzhpo.chatgpt.exception.OpenAiErrorInterceptor
 
INVALID_API_KEY - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
InvalidedKeyEvent - com.lzhpo.chatgpt.exception中的类
 
InvalidedKeyEvent(Object, String, String) - 类 的构造器com.lzhpo.chatgpt.exception.InvalidedKeyEvent
 
invalidKey(String) - 类 中的方法com.lzhpo.chatgpt.apikey.OpenAiKeyWrapper
Remove invalid api keys, support automatic key rotation.

J

JsonUtils - com.lzhpo.chatgpt.utils中的类
 
JsonUtils() - 类 的构造器com.lzhpo.chatgpt.utils.JsonUtils
 

L

ListFileData - com.lzhpo.chatgpt.entity.files中的类
 
ListFileData() - 类 的构造器com.lzhpo.chatgpt.entity.files.ListFileData
 
ListFileResponse - com.lzhpo.chatgpt.entity.files中的类
 
ListFileResponse() - 类 的构造器com.lzhpo.chatgpt.entity.files.ListFileResponse
 
listFiles() - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
listFiles() - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
List files.
ListFineTuneData - com.lzhpo.chatgpt.entity.finetunes中的类
 
ListFineTuneData() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.ListFineTuneData
 
ListFineTuneEventData - com.lzhpo.chatgpt.entity.finetunes中的类
 
ListFineTuneEventData() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.ListFineTuneEventData
 
ListFineTuneEventResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
ListFineTuneEventResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.ListFineTuneEventResponse
 
listFineTuneEvents(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
listFineTuneEvents(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
List fine-tune events.
ListFineTuneResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
ListFineTuneResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.ListFineTuneResponse
 
listFineTunes() - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
listFineTunes() - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
List fine-tunes.
ListModelsResponse - com.lzhpo.chatgpt.entity.model中的类
 
ListModelsResponse() - 类 的构造器com.lzhpo.chatgpt.entity.model.ListModelsResponse
 

M

MAX_IMAGE_SIZE - 类 中的静态变量com.lzhpo.chatgpt.OpenAiConstant
The image must be less than 4MB.
ModelPermission - com.lzhpo.chatgpt.entity.model中的类
 
ModelPermission() - 类 的构造器com.lzhpo.chatgpt.entity.model.ModelPermission
 
models() - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
models() - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
List models.
ModerationCategory - com.lzhpo.chatgpt.entity.moderations中的类
 
ModerationCategory() - 类 的构造器com.lzhpo.chatgpt.entity.moderations.ModerationCategory
 
ModerationCategoryScore - com.lzhpo.chatgpt.entity.moderations中的类
 
ModerationCategoryScore() - 类 的构造器com.lzhpo.chatgpt.entity.moderations.ModerationCategoryScore
 
ModerationRequest - com.lzhpo.chatgpt.entity.moderations中的类
 
ModerationRequest() - 类 的构造器com.lzhpo.chatgpt.entity.moderations.ModerationRequest
 
ModerationResponse - com.lzhpo.chatgpt.entity.moderations中的类
 
ModerationResponse() - 类 的构造器com.lzhpo.chatgpt.entity.moderations.ModerationResponse
 
ModerationResult - com.lzhpo.chatgpt.entity.moderations中的类
 
ModerationResult() - 类 的构造器com.lzhpo.chatgpt.entity.moderations.ModerationResult
 
moderations(ModerationRequest) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
moderations(ModerationRequest) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create moderation.

N

NoAvailableKeyEvent - com.lzhpo.chatgpt.exception中的类
 
NoAvailableKeyEvent(Object, List<String>) - 类 的构造器com.lzhpo.chatgpt.exception.NoAvailableKeyEvent
 

O

okHttpClient(List<Interceptor>) - 类 中的方法com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
onClosed(EventSource) - 类 中的方法com.lzhpo.chatgpt.sse.AbstractEventSourceListener
 
onClosed(EventSource) - 类 中的方法com.lzhpo.chatgpt.sse.CountDownLatchEventSourceListener
 
onEvent(EventSource, String, String, String) - 类 中的方法com.lzhpo.chatgpt.sse.AbstractEventSourceListener
 
onEvent(EventSource, String, String, String) - 类 中的方法com.lzhpo.chatgpt.sse.SseEventSourceListener
 
onEvent(EventSource, String, String, String) - 类 中的方法com.lzhpo.chatgpt.sse.WebSocketEventSourceListener
 
onFailure(EventSource, Throwable, Response) - 类 中的方法com.lzhpo.chatgpt.sse.AbstractEventSourceListener
 
onFailure(EventSource, Throwable, Response) - 类 中的方法com.lzhpo.chatgpt.sse.CountDownLatchEventSourceListener
 
onOpen(EventSource, Response) - 类 中的方法com.lzhpo.chatgpt.sse.AbstractEventSourceListener
 
OpenAiAutoConfiguration - com.lzhpo.chatgpt中的类
 
OpenAiAutoConfiguration() - 类 的构造器com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
OpenAiClient - com.lzhpo.chatgpt中的接口
 
OpenAiConstant - com.lzhpo.chatgpt中的类
 
OpenAiConstant() - 类 的构造器com.lzhpo.chatgpt.OpenAiConstant
 
OpenAiError - com.lzhpo.chatgpt.exception中的类
Define the OpenAI response error.
OpenAiError() - 类 的构造器com.lzhpo.chatgpt.exception.OpenAiError
 
OpenAiErrorCode - com.lzhpo.chatgpt.exception中的类
 
OpenAiErrorCode() - 类 的构造器com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
OpenAiErrorDetail - com.lzhpo.chatgpt.exception中的类
The OpenAI response error detail.
OpenAiErrorDetail() - 类 的构造器com.lzhpo.chatgpt.exception.OpenAiErrorDetail
 
OpenAiErrorInterceptor - com.lzhpo.chatgpt.exception中的类
 
OpenAiErrorInterceptor() - 类 的构造器com.lzhpo.chatgpt.exception.OpenAiErrorInterceptor
 
openAiErrorInterceptor(OpenAiKeyWrapper) - 类 中的方法com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
OpenAiException - com.lzhpo.chatgpt.exception中的异常错误
 
OpenAiException(String) - 异常错误 的构造器com.lzhpo.chatgpt.exception.OpenAiException
 
OpenAiException(String, Throwable) - 异常错误 的构造器com.lzhpo.chatgpt.exception.OpenAiException
 
OpenAiException(Throwable) - 异常错误 的构造器com.lzhpo.chatgpt.exception.OpenAiException
 
OpenAiKey - com.lzhpo.chatgpt.apikey中的类
 
OpenAiKey() - 类 的构造器com.lzhpo.chatgpt.apikey.OpenAiKey
 
OpenAiKeyProvider - com.lzhpo.chatgpt.apikey中的接口
 
openAiKeyProvider() - 类 中的方法com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
OpenAiKeyWrapper - com.lzhpo.chatgpt.apikey中的类
 
OpenAiKeyWrapper() - 类 的构造器com.lzhpo.chatgpt.apikey.OpenAiKeyWrapper
 
openAiKeyWrapper(OpenAiKeyProvider) - 类 中的方法com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
OpenAiProperties - com.lzhpo.chatgpt.properties中的类
 
OpenAiProperties() - 类 的构造器com.lzhpo.chatgpt.properties.OpenAiProperties
 
OpenAiProxy - com.lzhpo.chatgpt.properties中的类
 
OpenAiProxy() - 类 的构造器com.lzhpo.chatgpt.properties.OpenAiProxy
 
openAiService(OkHttpClient, OpenAiKeyWrapper, ObjectProvider<UriTemplateHandler>) - 类 中的方法com.lzhpo.chatgpt.OpenAiAutoConfiguration
 
OpenAiUrl - com.lzhpo.chatgpt.properties中的枚举
 

P

parse(JsonNode, Class<T>) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Parse the JsonNode into an object of the specified type.
parse(String, Class<T>) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Parse the json string into an object of the specified type.
parseArray(String, Class<T>) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Convert json content into a collection of required objects

R

retrieveFile(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
retrieveFile(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Retrieve file by fileId
RetrieveFileResponse - com.lzhpo.chatgpt.entity.files中的类
 
RetrieveFileResponse() - 类 的构造器com.lzhpo.chatgpt.entity.files.RetrieveFileResponse
 
RetrieveFineTuneResponse - com.lzhpo.chatgpt.entity.finetunes中的类
 
RetrieveFineTuneResponse() - 类 的构造器com.lzhpo.chatgpt.entity.finetunes.RetrieveFineTuneResponse
 
retrieveFineTunes(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
retrieveFineTunes(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Retrieve fine-tune.
retrieveModel(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
retrieveModel(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Retrieve model by modelId.
RetrieveModelResponse - com.lzhpo.chatgpt.entity.model中的类
 
RetrieveModelResponse() - 类 的构造器com.lzhpo.chatgpt.entity.model.RetrieveModelResponse
 
ROTATION_ERROR_TYPES_OR_CODES - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 
ROTATION_HTTP_CODES - 类 中的静态变量com.lzhpo.chatgpt.exception.OpenAiErrorCode
 

S

setMapper(ObjectMapper) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Replace the default JsonUtils.mapper.
SseEventSourceListener - com.lzhpo.chatgpt.sse中的类
SseEmitter with Server-Sent Events.
SseEventSourceListener(SseEmitter) - 类 的构造器com.lzhpo.chatgpt.sse.SseEventSourceListener
 
streamChatCompletions(ChatCompletionRequest, EventSourceListener) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
streamChatCompletions(ChatCompletionRequest, EventSourceListener) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Create stream chat completion.
streamCompletions(CompletionRequest, EventSourceListener) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
streamCompletions(CompletionRequest, EventSourceListener) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
SubscriptionAddress - com.lzhpo.chatgpt.entity.billing中的类
 
SubscriptionAddress() - 类 的构造器com.lzhpo.chatgpt.entity.billing.SubscriptionAddress
 
SubscriptionPlan - com.lzhpo.chatgpt.entity.billing中的类
 
SubscriptionPlan() - 类 的构造器com.lzhpo.chatgpt.entity.billing.SubscriptionPlan
 
SubscriptionResponse - com.lzhpo.chatgpt.entity.billing中的类
 
SubscriptionResponse() - 类 的构造器com.lzhpo.chatgpt.entity.billing.SubscriptionResponse
 

T

toJsonNode(String) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Parses the specified JSON string to a JsonNode
toJsonPrettyString(T) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Object to json string and format and beautify
toJsonString(Object) - 类 中的静态方法com.lzhpo.chatgpt.utils.JsonUtils
Serializes the specified object to Json text.
tokens(ModelType, String) - 类 中的静态方法com.lzhpo.chatgpt.utils.TokenUtils
Encodes the content into a list of token ids and returns the amount of tokens.
tokens(String, String) - 类 中的静态方法com.lzhpo.chatgpt.utils.TokenUtils
Encodes the content into a list of token ids and returns the amount of tokens.
tokens(String, List<ChatCompletionMessage>) - 类 中的静态方法com.lzhpo.chatgpt.utils.TokenUtils
Encodes the messages into a list of token ids and returns the amount of tokens.
TokenUtils - com.lzhpo.chatgpt.utils中的类
How_to_count_tokens_with_tiktoken {@code def num_tokens_from_messages(messages, model="gpt-3.5-turbo-0301"): """Returns the number of tokens used by a list of messages."""
TokenUtils() - 类 的构造器com.lzhpo.chatgpt.utils.TokenUtils
 

U

uploadFile(Resource, String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
uploadFile(Resource, String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Upload file.
UploadFileResponse - com.lzhpo.chatgpt.entity.files中的类
 
UploadFileResponse() - 类 的构造器com.lzhpo.chatgpt.entity.files.UploadFileResponse
 
UsageDailyCosts - com.lzhpo.chatgpt.entity.billing中的类
 
UsageDailyCosts() - 类 的构造器com.lzhpo.chatgpt.entity.billing.UsageDailyCosts
 
UsageLineItems - com.lzhpo.chatgpt.entity.billing中的类
 
UsageLineItems() - 类 的构造器com.lzhpo.chatgpt.entity.billing.UsageLineItems
 
UsageResponse - com.lzhpo.chatgpt.entity.billing中的类
 
UsageResponse() - 类 的构造器com.lzhpo.chatgpt.entity.billing.UsageResponse
 
UserData - com.lzhpo.chatgpt.entity.users中的类
 
UserData() - 类 的构造器com.lzhpo.chatgpt.entity.users.UserData
 
UserInfo - com.lzhpo.chatgpt.entity.users中的类
 
UserInfo() - 类 的构造器com.lzhpo.chatgpt.entity.users.UserInfo
 
UserMembers - com.lzhpo.chatgpt.entity.users中的类
 
UserMembers() - 类 的构造器com.lzhpo.chatgpt.entity.users.UserMembers
 
UserResponse - com.lzhpo.chatgpt.entity.users中的类
 
UserResponse() - 类 的构造器com.lzhpo.chatgpt.entity.users.UserResponse
 
users(String) - 类 中的方法com.lzhpo.chatgpt.DefaultOpenAiClient
 
users(String) - 接口 中的方法com.lzhpo.chatgpt.OpenAiClient
Get users.

V

valueOf(String) - 枚举 中的静态方法com.lzhpo.chatgpt.entity.image.CreateImageResponseFormat
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.lzhpo.chatgpt.entity.image.CreateImageSize
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.lzhpo.chatgpt.properties.OpenAiUrl
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.lzhpo.chatgpt.entity.image.CreateImageResponseFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.lzhpo.chatgpt.entity.image.CreateImageSize
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.lzhpo.chatgpt.properties.OpenAiUrl
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

WebSocketEventSourceListener - com.lzhpo.chatgpt.sse中的类
WebSocket with Server-Sent Events.
WebSocketEventSourceListener(Session) - 类 的构造器com.lzhpo.chatgpt.sse.WebSocketEventSourceListener
 
wrap() - 类 中的方法com.lzhpo.chatgpt.apikey.OpenAiKeyWrapper
Wrap the OpenAiKeyProvider.get() result, in order to make api keys has weight random power.
A B C D E F G H I J L M N O P R S T U V W 
跳过导航链接

Copyright © 2023. All rights reserved.