Index

A B C D F G H I M Q R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addCustomHeader(String, String) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Adds a custom HTTP header.
addDocuments(List<Document>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge
Adds documents to the Haystack knowledge base.

B

baseUrl(String) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sets the HayStack base URL.
build() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Builds the HayStackConfig instance.
build() - Method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge.Builder
 
build() - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding.Builder
 
builder() - Static method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
builder() - Static method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge
 
Builder() - Constructor for class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
 
Builder() - Constructor for class io.agentscope.core.rag.integration.haystack.HayStackKnowledge.Builder
 
Builder() - Constructor for class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding.Builder
 
ByteStream - Class in io.agentscope.core.rag.integration.haystack.model
 
ByteStream() - Constructor for class io.agentscope.core.rag.integration.haystack.model.ByteStream
 

C

client(HayStackClient) - Method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge.Builder
 
config(HayStackConfig) - Method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge.Builder
 
convertToDocument(HayStackDocument) - Static method in class io.agentscope.core.rag.integration.haystack.HayStackDocumentConverter
Converts a single HayStack chunk to a Document.
convertToDocuments(List<HayStackDocument>) - Static method in class io.agentscope.core.rag.integration.haystack.HayStackDocumentConverter
Converts a list of HayStackDocuments to Documents.
customHeaders(Map<String, String>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sets custom HTTP headers.

D

DEFAULT_SUCCESS_CODE - Static variable in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
documents(List<HayStackDocument>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
 

F

filterPolicy(FilterPolicy) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Policy to determine how filters are applied in retrievers interacting with document stores.
FilterPolicy - Enum Class in io.agentscope.core.rag.integration.haystack
Policy to determine how filters are applied in retrievers interacting with document stores.
filters(Map<String, Object>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
A dictionary with filters to narrow down the retriever's search space in the document store.

G

getBaseUrl() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getBlob() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getCode() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
getContent() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getContextDocuments() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
getContextWindows() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
getCustomHeaders() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getData() - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
getDocuments() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getDocuments() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
getEmbedding() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getError() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
getErrorCode() - Method in exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
getFilterPolicy() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getFilters() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getGroupBy() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getGroupSize() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getId() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getIndices() - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding
 
getMaxRetries() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getMeta() - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
getMeta() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getMimeType() - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
getPolicy() - Method in enum class io.agentscope.core.rag.integration.haystack.FilterPolicy
 
getQueryEmbedding() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getQuerySparseEmbedding() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getRetrievedDocuments() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getReturnEmbedding() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getScaleScore() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getScore() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getScoreThreshold() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getSparseEmbedding() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
getStatusCode() - Method in exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
getSuccessCode() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getTimeout() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getTopK() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
getValues() - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding
 
getWindowSize() - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig
 
groupBy(String) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Payload field to group by, must be a string or number field.
groupSize(Integer) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Maximum amount of points to return per group.

H

HayStackApiException - Exception in io.agentscope.core.rag.integration.haystack.exception
Exception thrown when HayStack API call fails.
HayStackApiException(String) - Constructor for exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
HayStackApiException(String, int) - Constructor for exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
HayStackApiException(String, int, String) - Constructor for exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
HayStackApiException(String, int, Throwable) - Constructor for exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
HayStackApiException(String, Throwable) - Constructor for exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
HayStackClient - Class in io.agentscope.core.rag.integration.haystack
Client for interacting with HayStack Knowledge Base API.
HayStackClient(HayStackConfig) - Constructor for class io.agentscope.core.rag.integration.haystack.HayStackClient
 
HayStackConfig - Class in io.agentscope.core.rag.integration.haystack
Configuration for HayStack integration.
HayStackConfig.Builder - Class in io.agentscope.core.rag.integration.haystack
 
HayStackDocument - Class in io.agentscope.core.rag.integration.haystack.model
 
HayStackDocument() - Constructor for class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
HayStackDocumentConverter - Class in io.agentscope.core.rag.integration.haystack
Converter for transforming HayStack API responses to AgentScope Document objects.
HayStackKnowledge - Class in io.agentscope.core.rag.integration.haystack
HayStack RAG Knowledge Base implementation.
HayStackKnowledge.Builder - Class in io.agentscope.core.rag.integration.haystack
 
HayStackResponse - Class in io.agentscope.core.rag.integration.haystack.model
HayStack RAG API response model.
HayStackResponse() - Constructor for class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 

I

indices(List<Integer>) - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding.Builder
List of indices of non-zero elements in the embedding.
io.agentscope.core.rag.integration.haystack - package io.agentscope.core.rag.integration.haystack
 
io.agentscope.core.rag.integration.haystack.exception - package io.agentscope.core.rag.integration.haystack.exception
 
io.agentscope.core.rag.integration.haystack.model - package io.agentscope.core.rag.integration.haystack.model
 

M

maxRetries(Integer) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sets the maximum number of retries for failed requests.
MERGE - Enum constant in enum class io.agentscope.core.rag.integration.haystack.FilterPolicy
Runtime filters are merged with init filters, with runtime filters overwriting init values.

Q

queryEmbedding(List<Float>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Use vector retrieval from the vector store.
querySparseEmbedding(SparseEmbedding) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sparse Embedding of the query.

R

REPLACE - Enum constant in enum class io.agentscope.core.rag.integration.haystack.FilterPolicy
Runtime filters replace init filters during retriever run invocation.
retrieve(String, RetrieveConfig) - Method in class io.agentscope.core.rag.integration.haystack.HayStackKnowledge
Retrieve documents from the HayStack knowledge base.
retrieve(String, Integer, Double) - Method in class io.agentscope.core.rag.integration.haystack.HayStackClient
Retrieve documents from HayStack knowledge base.
retrievedDocuments(List<HayStackDocument>) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
The documents must include `metadata` indicating their origin and position:
returnEmbedding(Boolean) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Whether to return the embedding of the retrieved Documents.

S

scaleScore(Boolean) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Whether to scale the scores of the retrieved documents or not
scoreThreshold(Double) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
A minimal score threshold for the result.
setBlob(ByteStream) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setCode(Integer) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
setContent(String) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setContextDocuments(List<HayStackDocument>) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
setContextWindows(List<String>) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
setData(List<Integer>) - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
setDocuments(List<HayStackDocument>) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
setEmbedding(List<Double>) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setError(String) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
setId(String) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setMeta(Map<String, Object>) - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
setMeta(Map<String, Object>) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setMimeType(String) - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
setScore(Double) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
setSparseEmbedding(SparseEmbedding) - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
SparseEmbedding - Class in io.agentscope.core.rag.integration.haystack.model
 
SparseEmbedding.Builder - Class in io.agentscope.core.rag.integration.haystack.model
 
successCode(Integer) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sets the HayStack API success code.

T

timeout(Duration) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
Sets the HTTP timeout.
topK(Integer) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
The maximum number of documents to return.
toString() - Method in exception io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
 
toString() - Method in class io.agentscope.core.rag.integration.haystack.model.ByteStream
 
toString() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackDocument
 
toString() - Method in class io.agentscope.core.rag.integration.haystack.model.HayStackResponse
 
toString() - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding
 

V

valueOf(String) - Static method in enum class io.agentscope.core.rag.integration.haystack.FilterPolicy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.agentscope.core.rag.integration.haystack.FilterPolicy
Returns an array containing the constants of this enum class, in the order they are declared.
values(List<Float>) - Method in class io.agentscope.core.rag.integration.haystack.model.SparseEmbedding.Builder
List of values of non-zero elements in the embedding.

W

windowSize(Integer) - Method in class io.agentscope.core.rag.integration.haystack.HayStackConfig.Builder
The number of adjacent documents to include on each side of the retrieved document can be configured using the `window_size` parameter.
A B C D F G H I M Q R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form