A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
S
- safeSearch() - function in dev.langchain4j.web.search.WebSearchRequest
- Get the safe search flag.
- safeSearch(java.lang.Boolean) - function in dev.langchain4j.web.search.WebSearchRequest.Builder
- Set the safe search flag.
- score(dev.langchain4j.data.segment.TextSegment,java.lang.String) - function in dev.langchain4j.model.scoring.ScoringModel
- Scores a given TextSegment against a given query.
- score(java.lang.String,java.lang.String) - function in dev.langchain4j.model.scoring.ScoringModel
- Scores a given text against a given query.
- SCORE - enum entry in dev.langchain4j.rag.content.ContentMetadata
- score() - function in dev.langchain4j.store.embedding.EmbeddingMatch
- Returns the relevance score (derivative of cosine distance) of this embedding compared to a reference embedding during a search.
- scoreAll(java.util.List,java.lang.String) - function in dev.langchain4j.model.scoring.ScoringModel
- Scores all provided TextSegments against a given query.
- ScoringModel - class in dev.langchain4j.model.scoring
- Represents a model capable of scoring a text against a query.
- scoringModel(dev.langchain4j.model.scoring.ScoringModel) - function in dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
- search(dev.langchain4j.store.embedding.EmbeddingSearchRequest) - function in dev.langchain4j.store.embedding.EmbeddingStore
- Searches for the most similar (closest in the embedding space) Embeddings.
- search(dev.langchain4j.web.search.WebSearchRequest) - function in dev.langchain4j.web.search.WebSearchEngine
- Performs a search request on the web search engine and returns the search results.
- search(java.lang.String) - function in dev.langchain4j.web.search.WebSearchEngine
- Performs a search query on the web search engine and returns the search results.
- searchInformation() - function in dev.langchain4j.web.search.WebSearchResults
- Gets the information about the web search.
- searchMetadata() - function in dev.langchain4j.web.search.WebSearchResults
- Gets the metadata associated with the web search.
- searchTerms() - function in dev.langchain4j.web.search.WebSearchRequest
- Get the search terms.
- searchTerms(java.lang.String) - function in dev.langchain4j.web.search.WebSearchRequest.Builder
- Set the search terms.
- searchWeb(java.lang.String) - function in dev.langchain4j.web.search.WebSearchTool
- Runs a search query on the web search engine and returns a pretty-string representation of the search results.
- ServiceHelper - class in dev.langchain4j.spi
- Utility wrapper around
ServiceLoader.load()
. - setStackTrace(kotlin.Array) - function in java.lang.Throwable
- singleText() - function in dev.langchain4j.data.message.UserMessage
- Returns text from a single TextContent.
- sleep(int) - function in dev.langchain4j.internal.RetryUtils.RetryPolicy
- This method sleeps for a given attempt.
- snippet() - function in dev.langchain4j.web.search.WebSearchOrganicResult
- Returns the snippet associated with the web page.
- split(dev.langchain4j.data.document.Document) - function in dev.langchain4j.data.document.DocumentSplitter
- Splits a single Document into a list of TextSegment objects.
- splitAll(java.util.List) - function in dev.langchain4j.data.document.DocumentSplitter
- Splits a list of Documents into a list of TextSegment objects.
- startIndex() - function in dev.langchain4j.web.search.WebSearchRequest
- Get the start index for search results.
- startIndex(java.lang.Integer) - function in dev.langchain4j.web.search.WebSearchRequest.Builder
- Set the start index for search results.
- startPage() - function in dev.langchain4j.web.search.WebSearchRequest
- Get the start page number for search results.
- startPage(java.lang.Integer) - function in dev.langchain4j.web.search.WebSearchRequest.Builder
- Set the start page number for search results.
- statusCode() - function in dev.langchain4j.exception.HttpException
- STOP - enum entry in dev.langchain4j.model.output.FinishReason
The model call finished because the model decided the request was done.
- stopSequences() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- stopSequences() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- stopSequences(kotlin.Array) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- stopSequences(java.util.List) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- StreamingChatLanguageModel - class in dev.langchain4j.model.chat
- Represents a language model that has a chat API and can stream a response one token at a time.
- StreamingChatResponseHandler - class in dev.langchain4j.model.chat.response
- TODO review all javadoc in this class Represents a handler for streaming a response from a StreamingChatLanguageModel.
- StreamingLanguageModel - class in dev.langchain4j.model.language
- Represents a language model that has a simple text interface (as opposed to a chat interface) and can stream a response one token at a time.
- StreamingResponseHandler - class in dev.langchain4j.model
- Represents a handler for streaming responses from a language model.
- StructuredPrompt - class in dev.langchain4j.model.input.structured
- Represents a structured prompt.
- StructuredPrompt.Util - class in dev.langchain4j.model.input.structured.StructuredPrompt
- Utility class for StructuredPrompt.
- StructuredPromptFactory - class in dev.langchain4j.spi.prompt.structured
- Represents a factory for structured prompts.
- StructuredPromptProcessor - class in dev.langchain4j.model.input.structured
- Utility class for structured prompts.
- sum(dev.langchain4j.model.output.TokenUsage,dev.langchain4j.model.output.TokenUsage) - function in dev.langchain4j.model.output.TokenUsage
- Adds two token usages.
- supportedCapabilities() - function in dev.langchain4j.model.chat.ChatLanguageModel
- supportedCapabilities() - function in dev.langchain4j.model.chat.ChatLanguageModel
- supportedCapabilities() - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
- supportedCapabilities() - function in dev.langchain4j.model.chat.StreamingChatLanguageModel
- SYSTEM - enum entry in dev.langchain4j.data.message.ChatMessageType
A message from the system, typically defined by a developer.
- SystemMessage - class in dev.langchain4j.data.message
- Represents a system message, typically defined by a developer.
- systemMessage(java.lang.String) - function in dev.langchain4j.data.message.SystemMessage
- Creates a new system message.