Uses of Record Class
ai.optfor.springopenaiapi.model.ChatMessage
Packages that use ChatMessage
Package
Description
-
Uses of ChatMessage in ai.optfor.springopenaiapi
Method parameters in ai.optfor.springopenaiapi with type arguments of type ChatMessageModifier and TypeMethodDescriptionOpenAIApi.chat(LLMModel model, List<ChatMessage> chats, int maxTokens, double temperature, boolean jsonMode, String openaiKey) reactor.core.publisher.Flux<String>OpenAIApi.streamingChat(LLMModel model, List<ChatMessage> messages, Integer maxTokens, double temperature, String openaiKey) -
Uses of ChatMessage in ai.optfor.springopenaiapi.enums
Methods in ai.optfor.springopenaiapi.enums that return ChatMessage -
Uses of ChatMessage in ai.optfor.springopenaiapi.model
Methods in ai.optfor.springopenaiapi.model that return ChatMessageModifier and TypeMethodDescriptionChatChoice.delta()Returns the value of thedeltarecord component.ChatChoice.message()Returns the value of themessagerecord component.static ChatMessageMethods in ai.optfor.springopenaiapi.model that return types with arguments of type ChatMessageModifier and TypeMethodDescriptionChatCompletionRequest.messages()Returns the value of themessagesrecord component.Constructors in ai.optfor.springopenaiapi.model with parameters of type ChatMessageModifierConstructorDescriptionChatChoice(int index, ChatMessage message, ChatMessage delta, String finish_reason) Creates an instance of aChatChoicerecord class.Constructor parameters in ai.optfor.springopenaiapi.model with type arguments of type ChatMessageModifierConstructorDescriptionChatCompletionRequest(String model, List<ChatMessage> messages, double temperature, int max_tokens, ResponseFormat response_format, boolean stream) Creates an instance of aChatCompletionRequestrecord class.