Uses of Interface
dev.langchain4j.data.message.Content
Packages that use Content
Package
Description
-
Uses of Content in dev.langchain4j.data.message
Classes in dev.langchain4j.data.message that implement ContentModifier and TypeClassDescriptionclassclassRepresents an image with a DetailLevel.classclassRepresents a text content.classMethods in dev.langchain4j.data.message that return types with arguments of type ContentModifier and TypeMethodDescriptionToolExecutionResultMessage.contents()Returns theContents of the tool execution result.UserMessage.contents()TheContents of the message.ContentType.getContentClass()Returns the class of the content type.Methods in dev.langchain4j.data.message with parameters of type ContentModifier and TypeMethodDescriptionUserMessage.Builder.addContent(Content content) Sets the contents of the tool execution result.static UserMessageCreate aUserMessagefrom contents.static UserMessageCreate aUserMessagefrom a name and contents.static UserMessageUserMessage.userMessage(Content... contents) Create aUserMessagefrom contents.static UserMessageUserMessage.userMessage(String name, Content... contents) Create aUserMessagefrom a name and contents.Method parameters in dev.langchain4j.data.message with type arguments of type ContentModifier and TypeMethodDescriptionSets the contents of the tool execution result.static UserMessageCreate aUserMessagefrom a name and contents.static UserMessageCreate aUserMessagefrom contents.static UserMessageUserMessage.userMessage(String name, List<Content> contents) Create aUserMessagefrom a name and contents.static UserMessageUserMessage.userMessage(List<Content> contents) Create aUserMessagefrom contents.Constructors in dev.langchain4j.data.message with parameters of type ContentModifierConstructorDescriptionUserMessage(Content... contents) Creates aUserMessagefrom one or multipleContents.UserMessage(String name, Content... contents) Creates aUserMessagefrom a name and one or multipleContents.Constructor parameters in dev.langchain4j.data.message with type arguments of type ContentModifierConstructorDescriptionUserMessage(String name, List<Content> contents) Creates aUserMessagefrom a name and a list ofContents.UserMessage(List<Content> contents) Creates aUserMessagefrom a list ofContents. -
Uses of Content in dev.langchain4j.mcp.client
Methods in dev.langchain4j.mcp.client that return Content -
Uses of Content in dev.langchain4j.observability.api.event
Methods in dev.langchain4j.observability.api.event that return types with arguments of type ContentModifier and TypeMethodDescriptionToolExecutedEvent.resultContents()Returns the contents of the tool execution result.ToolExecutedEvent.ToolExecutedEventBuilder.resultContents()Method parameters in dev.langchain4j.observability.api.event with type arguments of type ContentModifier and TypeMethodDescriptionToolExecutedEvent.ToolExecutedEventBuilder.resultContents(List<Content> resultContents) Sets the tool execution result contents. -
Uses of Content in dev.langchain4j.observability.event
Methods in dev.langchain4j.observability.event that return types with arguments of type Content -
Uses of Content in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return types with arguments of type ContentModifier and TypeMethodDescriptionToolExecution.resultContents()Returns the contents of the tool execution result.ToolExecutionResult.resultContents()Returns the contents of the tool execution result that will be sent to the LLM.Method parameters in dev.langchain4j.service.tool with type arguments of type ContentModifier and TypeMethodDescriptionToolExecutionResult.Builder.resultContents(List<Content> resultContents) Sets the contents of the tool execution result.