Uses of Interface
dev.langchain4j.model.chat.listener.ChatModelListener
Packages that use ChatModelListener
Package
Description
AWS Bedrock integration for LangChain4j.
GitHub Models integration for LangChain4j.
-
Uses of ChatModelListener in dev.langchain4j.micrometer.metrics.listeners
Classes in dev.langchain4j.micrometer.metrics.listeners that implement ChatModelListenerModifier and TypeClassDescriptionclassAChatModelListenerthat uses a MicrometerMeterRegistryto collect metrics about chat model interactions following OpenTelemetry Semantic Conventions for Generative AI. -
Uses of ChatModelListener in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionAnthropicChatModel.listeners()AnthropicStreamingChatModel.listeners()Methods in dev.langchain4j.model.anthropic with parameters of type ChatModelListenerModifier and TypeMethodDescriptionAnthropicChatModel.AnthropicChatModelBuilder.listeners(ChatModelListener... listeners) AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder.listeners(ChatModelListener... listeners) Method parameters in dev.langchain4j.model.anthropic with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionAnthropicChatModel.AnthropicChatModelBuilder.listeners(List<ChatModelListener> listeners) AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionAzureOpenAiChatModel.listeners()AzureOpenAiStreamingChatModel.listeners()Method parameters in dev.langchain4j.model.azure with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionAzureOpenAiChatModel.Builder.listeners(List<ChatModelListener> listeners) AzureOpenAiStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.bedrock
Fields in dev.langchain4j.model.bedrock with type parameters of type ChatModelListenerModifier and TypeFieldDescriptionprotected final List<ChatModelListener> AbstractBedrockChatModel.listenersprotected final List<ChatModelListener> AbstractBedrockChatModel.listenersMethods in dev.langchain4j.model.bedrock that return types with arguments of type ChatModelListener -
Uses of ChatModelListener in dev.langchain4j.model.chat
Methods in dev.langchain4j.model.chat that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptiondefault List<ChatModelListener> ChatModel.listeners()default List<ChatModelListener> StreamingChatModel.listeners() -
Uses of ChatModelListener in dev.langchain4j.model.github
Methods in dev.langchain4j.model.github that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionGitHubModelsChatModel.listeners()Deprecated, for removal: This API element is subject to removal in a future version.GitHubModelsStreamingChatModel.listeners()Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in dev.langchain4j.model.github with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionGitHubModelsChatModel.Builder.listeners(List<ChatModelListener> listeners) GitHubModelsStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.google.genai
Methods in dev.langchain4j.model.google.genai that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionGoogleGenAiChatModel.listeners()GoogleGenAiStreamingChatModel.listeners()Method parameters in dev.langchain4j.model.google.genai with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionGoogleGenAiChatModel.Builder.listeners(List<ChatModelListener> listeners) GoogleGenAiStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.googleai
Fields in dev.langchain4j.model.googleai with type parameters of type ChatModelListenerModifier and TypeFieldDescriptionprotected final List<ChatModelListener> BaseGeminiChatModel.listenersprotected final List<ChatModelListener> BaseGeminiChatModel.listenersMethods in dev.langchain4j.model.googleai that return types with arguments of type ChatModelListener -
Uses of ChatModelListener in dev.langchain4j.model.mistralai
Methods in dev.langchain4j.model.mistralai that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionMistralAiChatModel.listeners()MistralAiStreamingChatModel.listeners()Method parameters in dev.langchain4j.model.mistralai with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionMistralAiChatModel.MistralAiChatModelBuilder.listeners(List<ChatModelListener> listeners) MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.ollama
Fields in dev.langchain4j.model.ollama with type parameters of type ChatModelListenerModifier and TypeFieldDescriptionprotected List<ChatModelListener> OllamaBaseChatModel.listenersprotected List<ChatModelListener> OllamaBaseChatModel.listenersMethods in dev.langchain4j.model.ollama that return types with arguments of type ChatModelListener -
Uses of ChatModelListener in dev.langchain4j.model.openai
Methods in dev.langchain4j.model.openai that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiChatModel.listeners()OpenAiResponsesChatModel.listeners()OpenAiResponsesStreamingChatModel.listeners()OpenAiStreamingChatModel.listeners()Methods in dev.langchain4j.model.openai with parameters of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiChatModel.OpenAiChatModelBuilder.listeners(ChatModelListener... listeners) OpenAiResponsesChatModel.Builder.listeners(ChatModelListener... listeners) OpenAiResponsesStreamingChatModel.Builder.listeners(ChatModelListener... listeners) OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder.listeners(ChatModelListener... listeners) Method parameters in dev.langchain4j.model.openai with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiChatModel.OpenAiChatModelBuilder.listeners(List<ChatModelListener> listeners) OpenAiResponsesChatModel.Builder.listeners(List<ChatModelListener> listeners) OpenAiResponsesStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.openaiofficial
Fields in dev.langchain4j.model.openaiofficial with type parameters of type ChatModelListenerModifier and TypeFieldDescriptionprotected List<ChatModelListener> OpenAiOfficialBaseChatModel.listenersprotected List<ChatModelListener> OpenAiOfficialBaseChatModel.listenersMethods in dev.langchain4j.model.openaiofficial that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiOfficialResponsesChatModel.listeners()OpenAiOfficialResponsesStreamingChatModel.listeners()Methods in dev.langchain4j.model.openaiofficial with parameters of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiOfficialResponsesChatModel.Builder.listeners(ChatModelListener... listeners) OpenAiOfficialResponsesStreamingChatModel.Builder.listeners(ChatModelListener... listeners) Method parameters in dev.langchain4j.model.openaiofficial with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionOpenAiOfficialChatModel.Builder.listeners(List<ChatModelListener> listeners) OpenAiOfficialResponsesChatModel.Builder.listeners(List<ChatModelListener> listeners) OpenAiOfficialResponsesStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) OpenAiOfficialStreamingChatModel.Builder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.vertexai.anthropic
Methods in dev.langchain4j.model.vertexai.anthropic that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionVertexAiAnthropicChatModel.listeners()VertexAiAnthropicStreamingChatModel.listeners()Method parameters in dev.langchain4j.model.vertexai.anthropic with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionVertexAiAnthropicChatModel.VertexAiAnthropicChatModelBuilder.listeners(List<ChatModelListener> listeners) VertexAiAnthropicStreamingChatModel.VertexAiAnthropicStreamingChatModelBuilder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.vertexai.gemini
Methods in dev.langchain4j.model.vertexai.gemini that return types with arguments of type ChatModelListenerModifier and TypeMethodDescriptionVertexAiGeminiChatModel.listeners()VertexAiGeminiStreamingChatModel.listeners()Method parameters in dev.langchain4j.model.vertexai.gemini with type arguments of type ChatModelListenerModifier and TypeMethodDescriptionVertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder.listeners(List<ChatModelListener> listeners) VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder.listeners(List<ChatModelListener> listeners) -
Uses of ChatModelListener in dev.langchain4j.model.watsonx
Fields in dev.langchain4j.model.watsonx with type parameters of type ChatModelListenerModifier and TypeFieldDescriptionprotected final List<ChatModelListener> WatsonxChat.listenersprotected final List<ChatModelListener> WatsonxChat.listenersMethods in dev.langchain4j.model.watsonx that return types with arguments of type ChatModelListener -
Uses of ChatModelListener in dev.langchain4j.observation.listener
Classes in dev.langchain4j.observation.listener that implement ChatModelListenerModifier and TypeClassDescriptionclassWill use observations and micrometer metrics to generate telemetry based on theChatModelListenerlifecycle.