Uses of Class
dyntabs.ai.ConversationBuilder
Packages that use ConversationBuilder
-
Uses of ConversationBuilder in dyntabs.ai
Methods in dyntabs.ai that return ConversationBuilderModifier and TypeMethodDescriptionstatic ConversationBuilderEasyAI.chat()Starts building a newConversationfor simple chat.ConversationBuilder.withApiKey(String apiKey) Overrides the API key from configuration.ConversationBuilder.withBaseUrl(String baseUrl) Overrides the API base URL.ConversationBuilder.withChatLanguageModel(dev.langchain4j.model.chat.ChatLanguageModel model) Injects an externally created ChatLanguageModel.ConversationBuilder.withMaxTokens(int maxTokens) Limits the maximum number of tokens in the AI response.ConversationBuilder.withMemory(int maxMessages) Enables conversation memory.Overrides the model name from configuration.ConversationBuilder.withProvider(String provider) Overrides the AI provider.ConversationBuilder.withSystemMessage(String systemMessage) Sets a system message that defines the AI's behavior and personality.ConversationBuilder.withTemperature(double temperature) Sets the temperature (creativity) of the AI responses.