A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W 

C

Capability - class in dev.langchain4j.model.chat
Represents a capability of a ChatLanguageModel or StreamingChatLanguageModel.
chat(kotlin.Array) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(kotlin.Array) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(dev.langchain4j.model.chat.request.ChatRequest) - function in dev.langchain4j.model.chat.ChatLanguageModel
This is the main API to interact with the chat model.
chat(dev.langchain4j.model.chat.request.ChatRequest) - function in dev.langchain4j.model.chat.ChatLanguageModel
This is the main API to interact with the chat model.
chat(java.lang.String) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(java.lang.String) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(java.util.List) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(java.util.List) - function in dev.langchain4j.model.chat.ChatLanguageModel
 
chat(dev.langchain4j.model.chat.request.ChatRequest,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
This is the main API to interact with the chat model.
chat(dev.langchain4j.model.chat.request.ChatRequest,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
This is the main API to interact with the chat model.
chat(java.lang.String,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
 
chat(java.lang.String,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
 
chat(java.util.List,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
 
chat(java.util.List,dev.langchain4j.model.chat.response.StreamingChatResponseHandler) - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
 
ChatLanguageModel - class in dev.langchain4j.model.chat
Represents a language model that has a chat API.
chatLanguageModel(dev.langchain4j.model.chat.ChatLanguageModel) - function in dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
chatLanguageModel(dev.langchain4j.model.chat.ChatLanguageModel) - function in dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
 
chatLanguageModel(dev.langchain4j.model.chat.ChatLanguageModel) - function in dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
ChatMemory - class in dev.langchain4j.memory
Represents the memory (history) of a chat conversation.
chatMemory() - function in dev.langchain4j.rag.query.Metadata
 
chatMemoryId() - function in dev.langchain4j.rag.query.Metadata
 
ChatMemoryStore - class in dev.langchain4j.store.memory.chat
Represents a store for the ChatMemory state.
ChatMessage - class in dev.langchain4j.data.message
Represents a chat message.
chatMessage() - function in dev.langchain4j.rag.AugmentationRequest
 
chatMessage() - function in dev.langchain4j.rag.AugmentationResult
 
chatMessage(dev.langchain4j.data.message.ChatMessage) - function in dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
 
ChatMessageDeserializer - class in dev.langchain4j.data.message
A deserializer for ChatMessage objects.
ChatMessageJsonCodec - class in dev.langchain4j.data.message
A codec for serializing and deserializing ChatMessage objects to and from JSON.
ChatMessageJsonCodecFactory - class in dev.langchain4j.spi.data.message
A factory for creating ChatMessageJsonCodec objects.
ChatMessageSerializer - class in dev.langchain4j.data.message
 
ChatMessageType - class in dev.langchain4j.data.message
The type of content, e.g.
ChatModelErrorContext - class in dev.langchain4j.model.chat.listener
The error context.
ChatModelListener - class in dev.langchain4j.model.chat.listener
A ChatLanguageModel listener that listens for requests, responses and errors.
ChatModelRequest - class in dev.langchain4j.model.chat.listener
A request to the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
ChatModelRequest.ChatModelRequestBuilder - class in dev.langchain4j.model.chat.listener.ChatModelRequest
 
ChatModelRequestContext - class in dev.langchain4j.model.chat.listener
The request context.
ChatModelResponse - class in dev.langchain4j.model.chat.listener
A response from the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
ChatModelResponse.ChatModelResponseBuilder - class in dev.langchain4j.model.chat.listener.ChatModelResponse
 
ChatModelResponseContext - class in dev.langchain4j.model.chat.listener
The response context.
chatRequest() - function in dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
chatRequest() - function in dev.langchain4j.model.chat.listener.ChatModelRequestContext
 
chatRequest() - function in dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
ChatRequest - class in dev.langchain4j.model.chat.request
 
ChatRequest.Builder - class in dev.langchain4j.model.chat.request.ChatRequest
 
ChatRequestParameters - class in dev.langchain4j.model.chat.request
Represents common chat request parameters supported by most LLM providers.
chatResponse() - function in dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
ChatResponse - class in dev.langchain4j.model.chat.response
 
ChatResponse.Builder - class in dev.langchain4j.model.chat.response.ChatResponse
 
ChatResponseMetadata - class in dev.langchain4j.model.chat.response
Represents common chat response metadata supported by most LLM providers.
ChatResponseMetadata.Builder - class in dev.langchain4j.model.chat.response.ChatResponseMetadata
 
clear() - function in dev.langchain4j.memory.ChatMemory
Clears the chat memory.
CodeExecutionEngine - class in dev.langchain4j.code
Interface for executing code.
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.ContainsString
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
comparisonValue() - function in dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
comparisonValues() - function in dev.langchain4j.store.embedding.filter.comparison.IsIn
 
comparisonValues() - function in dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
CompressingQueryTransformer - class in dev.langchain4j.rag.query.transformer
A QueryTransformer that leverages a ChatLanguageModel to condense a given Query along with a chat memory (previous conversation history) into a concise Query.
CompressingQueryTransformer.CompressingQueryTransformerBuilder - class in dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
containsKey(java.lang.String) - function in dev.langchain4j.data.document.Metadata
Check whether this Metadata contains a given key.
containsString(java.lang.String) - function in dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
ContainsString - class in dev.langchain4j.store.embedding.filter.comparison
A filter that checks if the value of a metadata key contains a specific string.
Content - class in dev.langchain4j.data.message
Abstract base interface for message content.
content() - function in dev.langchain4j.model.output.Response
Get the content.
Content - class in dev.langchain4j.rag.content
Represents content relevant to a user Query with the potential to enhance and ground the LLM's response.
content() - function in dev.langchain4j.web.search.WebSearchOrganicResult
Returns the content scraped from the web page.
CONTENT_FILTER - enum entry in dev.langchain4j.model.output.FinishReason

The call finished signalling a need for content filtering.

contentAggregator(dev.langchain4j.rag.content.aggregator.ContentAggregator) - function in dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
ContentAggregator - class in dev.langchain4j.rag.content.aggregator
Aggregates all Contents retrieved from all ContentRetrievers using all Querys.
contentInjector(dev.langchain4j.rag.content.injector.ContentInjector) - function in dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
ContentInjector - class in dev.langchain4j.rag.content.injector
Injects given Contents into a given UserMessage.
ContentMetadata - class in dev.langchain4j.rag.content
 
contentRetriever(dev.langchain4j.rag.content.retriever.ContentRetriever) - function in dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
ContentRetriever - class in dev.langchain4j.rag.content.retriever
Retrieves Contents from an underlying data source using a given Query.
contents() - function in dev.langchain4j.data.message.UserMessage
The contents of the message.
contents() - function in dev.langchain4j.rag.AugmentationResult
 
contents(java.util.List) - function in dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
 
ContentType - class in dev.langchain4j.data.message
The type of content, e.g.
copy() - function in dev.langchain4j.data.document.Metadata
Copies the metadata.
copyIfNotNull(java.util.List) - function in dev.langchain4j.internal.Utils
Returns an (unmodifiable) copy of the provided list.
copyIfNotNull(java.util.Map) - function in dev.langchain4j.internal.Utils
Returns an (unmodifiable) copy of the provided map.
copyIfNotNull(java.util.Set) - function in dev.langchain4j.internal.Utils
Returns an (unmodifiable) copy of the provided set.
CosineSimilarity - class in dev.langchain4j.store.embedding
Utility class for calculating cosine similarity between two vectors.
create() - function in dev.langchain4j.spi.data.document.parser.DocumentParserFactory
 
create() - function in dev.langchain4j.spi.data.document.splitter.DocumentSplitterFactory
 
create() - function in dev.langchain4j.spi.data.message.ChatMessageJsonCodecFactory
Creates a new ChatMessageJsonCodec object.
create() - function in dev.langchain4j.spi.json.JsonCodecFactory
Create a new Json.JsonCodec.
create() - function in dev.langchain4j.spi.model.embedding.EmbeddingModelFactory
 
create(dev.langchain4j.spi.prompt.PromptTemplateFactory.Input) - function in dev.langchain4j.spi.prompt.PromptTemplateFactory
Create a new prompt template.
CUSTOM - enum entry in dev.langchain4j.data.message.ChatMessageType

A custom message.

CustomMessage - class in dev.langchain4j.data.message
Represents a custom message.
customMessage(java.util.Map) - function in dev.langchain4j.data.message.CustomMessage
Creates a new custom message.
CustomMimeTypesFileTypeDetector - class in dev.langchain4j.internal
Utility class to guess the mime-type of a file from its path or URI.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W