Index

A B C D E F G I J L M O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractChunkingReader - Class in io.agentscope.core.rag.reader
Abstract base class for readers that support text chunking.
AbstractChunkingReader(int, SplitStrategy, int) - Constructor for class io.agentscope.core.rag.reader.AbstractChunkingReader
Creates a new AbstractChunkingReader with the specified configuration.
add(List<Document>) - Method in class io.agentscope.core.rag.store.ElasticsearchStore
Adds a list of documents to the Elasticsearch index.
add(List<Document>) - Method in class io.agentscope.core.rag.store.InMemoryStore
 
add(List<Document>) - Method in class io.agentscope.core.rag.store.MilvusStore
 
add(List<Document>) - Method in class io.agentscope.core.rag.store.PgVectorStore
 
add(List<Document>) - Method in class io.agentscope.core.rag.store.QdrantStore
 
add(List<Document>) - Method in interface io.agentscope.core.rag.store.VDBStoreBase
Adds multiple documents to the store.
addDocuments(List<Document>) - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge
 
addInterceptor(Interceptor) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Adds an OkHttp interceptor (for logging, authentication, etc.).
apiKey(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Sets the API key for DashScope authentication.
apiKey(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Sets the API key for DashScope authentication.
apiKey(String) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Sets the API key for OpenAI authentication.
apiKey(String) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets the API key for authentication.
applyTimeoutAndRetry(Mono<double[]>, ExecutionConfig, String, String, Logger) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Applies timeout and retry configuration to a single embedding Mono.
applyTimeoutAndRetry(Mono<T>, ExecutionConfig, String, String, Logger, String) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Applies timeout and retry configuration to an embedding Mono.
applyTimeoutAndRetryBatch(Mono<List<double[]>>, ExecutionConfig, String, String, Logger) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Applies timeout and retry configuration to a batch embedding Mono.
asString() - Method in class io.agentscope.core.rag.reader.ReaderInput
Gets the input content as a string.

B

baseUrl(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Sets a custom base URL for DashScope API.
baseUrl(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Sets a custom base URL for DashScope API.
baseUrl(String) - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Sets the base URL for Ollama API.
baseUrl(String) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Sets a custom base URL for OpenAI API.
build() - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Builds the DashScopeMultiModalEmbedding instance.
build() - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Builds the DashScopeTextEmbedding instance.
build() - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Builds the OllamaTextEmbedding instance.
build() - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Builds the OpenAITextEmbedding instance.
build() - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge.Builder
Builds a new SimpleKnowledge instance.
build() - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Builds the ExternalApiReader instance.
build() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto.SearchDocumentDtoBuilder
Build a SearchDocumentDto instance.
build() - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Builds the ElasticsearchStore instance.
build() - Method in class io.agentscope.core.rag.store.InMemoryStore.Builder
Builds a new InMemoryStore instance.
build() - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Builds a new MilvusStore instance.
build() - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Builds a new PgVectorStore instance.
build() - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Builds a new QdrantStore instance.
builder() - Static method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding
Creates a new builder for DashScopeMultiModalEmbedding.
builder() - Static method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding
Creates a new builder for DashScopeTextEmbedding.
builder() - Static method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding
Creates a new builder for OllamaTextEmbedding.
builder() - Static method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding
Creates a new builder for OpenAITextEmbedding.
builder() - Static method in class io.agentscope.core.rag.knowledge.SimpleKnowledge
Creates a new builder for SimpleKnowledge.
builder() - Static method in class io.agentscope.core.rag.reader.ExternalApiReader
Creates Builder instance.
builder() - Static method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Create a SearchDocumentDto Builder instance.
builder() - Static method in class io.agentscope.core.rag.store.ElasticsearchStore
Creates a new builder for ElasticsearchStore.
builder() - Static method in class io.agentscope.core.rag.store.InMemoryStore
Creates a new builder for InMemoryStore.
builder() - Static method in class io.agentscope.core.rag.store.MilvusStore
Creates a new builder for constructing MilvusStore instances.
builder() - Static method in class io.agentscope.core.rag.store.PgVectorStore
Creates a new builder for constructing PgVectorStore instances.
builder() - Static method in class io.agentscope.core.rag.store.QdrantStore
Creates a new builder for constructing QdrantStore instances.
Builder() - Constructor for class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
 
Builder() - Constructor for class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
 
Builder() - Constructor for class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
 
Builder() - Constructor for class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
 
Builder() - Constructor for class io.agentscope.core.rag.reader.ExternalApiReader.Builder
 
buildRequest(String, OkHttpClient) - Method in interface io.agentscope.core.rag.reader.ExternalApiReader.RequestBuilder
Builds HTTP request based on file path.
bytesToHex(byte[]) - Static method in class io.agentscope.core.rag.reader.ReaderUtils
Converts byte array to hexadecimal string.

C

CHARACTER - Enum constant in enum class io.agentscope.core.rag.reader.SplitStrategy
Split text by character count.
checkCompatibility(boolean) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets whether to check client-server compatibility.
chunkSize - Variable in class io.agentscope.core.rag.reader.AbstractChunkingReader
 
chunkSize(int) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the chunk size.
chunkText(String, int, SplitStrategy, int) - Static method in class io.agentscope.core.rag.reader.TextChunker
Chunks text according to the specified strategy.
clear() - Method in class io.agentscope.core.rag.store.InMemoryStore
Clears all documents from the store.
close() - Method in class io.agentscope.core.rag.store.ElasticsearchStore
 
close() - Method in class io.agentscope.core.rag.store.MilvusStore
Closes the Milvus client and releases all resources.
close() - Method in class io.agentscope.core.rag.store.PgVectorStore
Closes the PostgreSQL connection and releases all resources.
close() - Method in class io.agentscope.core.rag.store.QdrantStore
Closes the Qdrant client and releases all resources.
collectionName(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the collection name.
collectionName(String) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets the collection name.
connectionTimeoutMs(long) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the connection timeout in milliseconds.
connectTimeout(Duration) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the connection timeout.
connectTimeoutMs(long) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the connection timeout in milliseconds.
convertDoubleListToArray(List<Double>) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Converts a List of Double values to a double array.
convertFloatArrayToDoubleArray(float[]) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Converts a float array to a double array.
convertFloatListToDoubleArray(List<Float>) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Converts a List of Float values to a double array.
COSINE - Enum constant in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Cosine distance - use <=> operator
create(String, String, int) - Static method in class io.agentscope.core.rag.store.MilvusStore
Deprecated, for removal: This API element is subject to removal in a future version.
create(String, String, String, String, int) - Static method in class io.agentscope.core.rag.store.PgVectorStore
Creates a new PgVectorStore with minimal configuration.

D

DashScopeMultiModalEmbedding - Class in io.agentscope.core.embedding.dashscope
DashScope Multi-Modal Embedding Model implementation.
DashScopeMultiModalEmbedding(String, String, int, ExecutionConfig, String) - Constructor for class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding
Creates a new DashScope multi-modal embedding model instance.
DashScopeMultiModalEmbedding.Builder - Class in io.agentscope.core.embedding.dashscope
Builder for DashScopeMultiModalEmbedding.
DashScopeTextEmbedding - Class in io.agentscope.core.embedding.dashscope
DashScope Text Embedding Model implementation.
DashScopeTextEmbedding(String, String, int, ExecutionConfig, String) - Constructor for class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding
Creates a new DashScope text embedding model instance.
DashScopeTextEmbedding.Builder - Class in io.agentscope.core.embedding.dashscope
Builder for DashScopeTextEmbedding.
databaseName(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the database name.
databaseProperties(Map<String, String>) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the database properties.
delete(String) - Method in class io.agentscope.core.rag.store.ElasticsearchStore
Deletes a document from the Elasticsearch index by its ID.
delete(String) - Method in class io.agentscope.core.rag.store.InMemoryStore
 
delete(String) - Method in class io.agentscope.core.rag.store.MilvusStore
 
delete(String) - Method in class io.agentscope.core.rag.store.PgVectorStore
 
delete(String) - Method in class io.agentscope.core.rag.store.QdrantStore
 
delete(String) - Method in interface io.agentscope.core.rag.store.VDBStoreBase
Deletes a document from the store (optional).
dimensions(int) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Sets the dimension of embedding vectors.
dimensions(int) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Sets the dimension of embedding vectors.
dimensions(int) - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Sets the dimension of embedding vectors.
dimensions(int) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Sets the dimension of embedding vectors.
dimensions(int) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets the vector dimensions.
dimensions(int) - Method in class io.agentscope.core.rag.store.InMemoryStore.Builder
Sets the vector dimensions.
dimensions(int) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the vector dimensions.
dimensions(int) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the vector dimensions.
dimensions(int) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets the vector dimensions.
disableSslVerification(boolean) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets whether to disable SSL verification.
distanceType(PgVectorStore.DistanceType) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the distance type for vector similarity search.

E

ElasticsearchStore - Class in io.agentscope.core.rag.store
Elasticsearch vector database store implementation.
ElasticsearchStore.Builder - Class in io.agentscope.core.rag.store
Builder for ElasticsearchStore.
embed(ContentBlock) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding
 
embed(ContentBlock) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding
 
embed(ContentBlock) - Method in interface io.agentscope.core.embedding.EmbeddingModel
Generate embedding vector for a single content block.
embed(ContentBlock) - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding
 
embed(ContentBlock) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding
 
EmbeddingException - Exception in io.agentscope.core.embedding
Exception thrown when embedding generation fails.
EmbeddingException(String) - Constructor for exception io.agentscope.core.embedding.EmbeddingException
Creates a new EmbeddingException with the given message.
EmbeddingException(String, String, String) - Constructor for exception io.agentscope.core.embedding.EmbeddingException
Creates a new EmbeddingException with the given message, model name, and provider.
EmbeddingException(String, Throwable) - Constructor for exception io.agentscope.core.embedding.EmbeddingException
Creates a new EmbeddingException with the given message and cause.
EmbeddingException(String, Throwable, String, String) - Constructor for exception io.agentscope.core.embedding.EmbeddingException
Creates a new EmbeddingException with the given message, cause, model name, and provider.
embeddingModel(EmbeddingModel) - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge.Builder
Sets the embedding model.
EmbeddingModel - Interface in io.agentscope.core.embedding
Interface for embedding models supporting multimodal content.
embeddingStore(VDBStoreBase) - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge.Builder
Sets the embedding store (vector database).
EmbeddingUtils - Class in io.agentscope.core.embedding
Utility class for common EmbeddingModel operations.
ensureDefaultExecutionConfig(ExecutionConfig) - Static method in class io.agentscope.core.embedding.EmbeddingUtils
Ensures ExecutionConfig has MODEL_DEFAULTS applied.
executionConfig(ExecutionConfig) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Sets the default execution configuration.
executionConfig(ExecutionConfig) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Sets the default execution configuration.
executionConfig(ExecutionConfig) - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Sets the default execution configuration.
executionConfig(ExecutionConfig) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Sets the default execution configuration.
ExternalApiReader - Class in io.agentscope.core.rag.reader
Generic external API document parsing reader that supports integration with any third-party document parsing service.
ExternalApiReader.Builder - Class in io.agentscope.core.rag.reader
Builder class for constructing ExternalApiReader instances.
ExternalApiReader.RequestBuilder - Interface in io.agentscope.core.rag.reader
Request builder functional interface.
ExternalApiReader.ResponseParser - Interface in io.agentscope.core.rag.reader
Response parser functional interface.

F

FILE - Enum constant in enum class io.agentscope.core.rag.reader.ReaderInput.InputType
 
fromFile(File) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a File object.
fromFile(String) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a file path.
fromFile(Path) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a file path.
fromPath(String) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a File path string.
fromPath(Path) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a File path.
fromString(String) - Static method in class io.agentscope.core.rag.reader.ReaderInput
Creates a ReaderInput from a text string.

G

generateDocId(String, String) - Static method in class io.agentscope.core.rag.reader.ReaderUtils
Generates a deterministic document ID using the specified hash algorithm.
generateDocIdMD5(String) - Static method in class io.agentscope.core.rag.reader.ReaderUtils
Generates a deterministic document ID using MD5 hash.
generateDocIdSHA256(String) - Static method in class io.agentscope.core.rag.reader.ReaderUtils
Generates a deterministic document ID using SHA-256 hash.
getApiKey() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the API key (if set).
getChunkSize() - Method in class io.agentscope.core.rag.reader.AbstractChunkingReader
Gets the chunk size.
getClient() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the underlying Milvus client for advanced operations.
getClient() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the underlying Qdrant client for advanced operations.
getCollectionName() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the collection name.
getCollectionName() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the collection name.
getConnection() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the underlying JDBC connection for advanced operations.
getDatabaseName() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the database name.
getDimensions() - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding
 
getDimensions() - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding
 
getDimensions() - Method in interface io.agentscope.core.embedding.EmbeddingModel
Get the dimension of embedding vectors produced by this model.
getDimensions() - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding
 
getDimensions() - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding
 
getDimensions() - Method in class io.agentscope.core.rag.store.InMemoryStore
Gets the dimension of vectors stored in this store.
getDimensions() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the vector dimensions.
getDimensions() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the vector dimensions.
getDimensions() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the vector dimensions.
getDistanceType() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the distance type used for similarity search.
getEmbeddingModel() - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge
Gets the embedding model used by this knowledge base.
getEmbeddingStore() - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge
Gets the vector store used by this knowledge base.
getGrpcClient() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the underlying gRPC client for low-level operations.
getIndexOps() - Method in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Gets the index operator class name for this distance type.
getJdbcUrl() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the JDBC URL.
getLimit() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Get the limit for returned results.
getLocation() - Method in class io.agentscope.core.rag.store.QdrantStore
Gets the Qdrant server location.
getMetricType() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the metric type used for similarity search.
getModelName() - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding
 
getModelName() - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding
 
getModelName() - Method in exception io.agentscope.core.embedding.EmbeddingException
Gets the model name that failed.
getModelName() - Method in interface io.agentscope.core.embedding.EmbeddingModel
Get the model name for logging and identification.
getModelName() - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding
 
getModelName() - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding
 
getOperator() - Method in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Gets the SQL operator for this distance type.
getOverlapSize() - Method in class io.agentscope.core.rag.reader.AbstractChunkingReader
Gets the overlap size.
getProvider() - Method in exception io.agentscope.core.embedding.EmbeddingException
Gets the provider name.
getQueryEmbedding() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Get the query embedding vector.
getSchema() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the schema name.
getScoreThreshold() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Get the similarity score threshold.
getSplitStrategy() - Method in class io.agentscope.core.rag.reader.AbstractChunkingReader
Gets the split strategy.
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.ExternalApiReader
 
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.ImageReader
 
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.PDFReader
 
getSupportedFormats() - Method in interface io.agentscope.core.rag.reader.Reader
Gets the list of file formats supported by this reader.
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.TextReader
 
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.TikaReader
 
getSupportedFormats() - Method in class io.agentscope.core.rag.reader.WordReader
 
getTableFormat() - Method in class io.agentscope.core.rag.reader.WordReader
Gets the table format.
getTableName() - Method in class io.agentscope.core.rag.store.PgVectorStore
Gets the table name.
getType() - Method in class io.agentscope.core.rag.reader.ReaderInput
Gets the input type.
getUri() - Method in class io.agentscope.core.rag.store.MilvusStore
Gets the Milvus server URI.
getVectorName() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Get the vector name.

I

ImageReader - Class in io.agentscope.core.rag.reader
Image reader implementation that reads image files.
ImageReader() - Constructor for class io.agentscope.core.rag.reader.ImageReader
Creates a new ImageReader with OCR disabled.
ImageReader(boolean) - Constructor for class io.agentscope.core.rag.reader.ImageReader
Creates a new ImageReader with the specified OCR setting.
indexName(String) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets the index name.
InMemoryStore - Class in io.agentscope.core.rag.store
In-memory implementation of vector database storage.
InMemoryStore.Builder - Class in io.agentscope.core.rag.store
Builder for InMemoryStore.
INNER_PRODUCT - Enum constant in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Inner product - use <#> operator (for normalized vectors, higher is better)
io.agentscope.core.embedding - package io.agentscope.core.embedding
 
io.agentscope.core.embedding.dashscope - package io.agentscope.core.embedding.dashscope
 
io.agentscope.core.embedding.ollama - package io.agentscope.core.embedding.ollama
 
io.agentscope.core.embedding.openai - package io.agentscope.core.embedding.openai
 
io.agentscope.core.rag.exception - package io.agentscope.core.rag.exception
 
io.agentscope.core.rag.knowledge - package io.agentscope.core.rag.knowledge
 
io.agentscope.core.rag.reader - package io.agentscope.core.rag.reader
 
io.agentscope.core.rag.store - package io.agentscope.core.rag.store
 
io.agentscope.core.rag.store.dto - package io.agentscope.core.rag.store.dto
 
isClosed() - Method in class io.agentscope.core.rag.store.MilvusStore
Checks if this store has been closed.
isClosed() - Method in class io.agentscope.core.rag.store.PgVectorStore
Checks if this store has been closed.
isClosed() - Method in class io.agentscope.core.rag.store.QdrantStore
Checks if this store has been closed.
isEmpty() - Method in class io.agentscope.core.rag.store.InMemoryStore
Checks if the store is empty.
isExtractImages() - Method in class io.agentscope.core.rag.reader.PDFReader
Checks if image extraction is enabled.
isIncludeImage() - Method in class io.agentscope.core.rag.reader.WordReader
Checks if image extraction is enabled.
isOcrEnabled() - Method in class io.agentscope.core.rag.reader.ImageReader
Checks if OCR is enabled.
isSeparateTable() - Method in class io.agentscope.core.rag.reader.WordReader
Checks if tables are separated into individual chunks.

J

jdbcUrl(String) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the PostgreSQL JDBC URL.
JSON - Enum constant in enum class io.agentscope.core.rag.reader.TableFormat
Convert tables to JSON format.

L

L2 - Enum constant in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
L2 (Euclidean) distance - use <-> operator
limit(int) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto.SearchDocumentDtoBuilder
Set the limit for returned results.
location(String) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets the Qdrant server location.

M

MARKDOWN - Enum constant in enum class io.agentscope.core.rag.reader.TableFormat
Convert tables to Markdown format.
maxRetries(int) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the maximum number of retries.
metricType(IndexParam.MetricType) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the metric type for vector similarity search.
MilvusStore - Class in io.agentscope.core.rag.store
Milvus vector database store implementation.
MilvusStore.Builder - Class in io.agentscope.core.rag.store
Builder for creating MilvusStore instances with fluent configuration.
modelName(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeMultiModalEmbedding.Builder
Sets the model name to use.
modelName(String) - Method in class io.agentscope.core.embedding.dashscope.DashScopeTextEmbedding.Builder
Sets the model name to use.
modelName(String) - Method in class io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Sets the model name to use.
modelName(String) - Method in class io.agentscope.core.embedding.openai.OpenAITextEmbedding.Builder
Sets the model name to use.

O

OllamaTextEmbedding - Class in io.agentscope.core.embedding.ollama
Ollama Text Embedding Model implementation.
OllamaTextEmbedding(String, String, int, ExecutionConfig) - Constructor for class io.agentscope.core.embedding.ollama.OllamaTextEmbedding
Creates a new Ollama text embedding model instance.
OllamaTextEmbedding.Builder - Class in io.agentscope.core.embedding.ollama
Builder for OllamaTextEmbedding.
OpenAITextEmbedding - Class in io.agentscope.core.embedding.openai
OpenAI Text Embedding Model implementation.
OpenAITextEmbedding(String, String, int, ExecutionConfig, String) - Constructor for class io.agentscope.core.embedding.openai.OpenAITextEmbedding
Creates a new OpenAI text embedding model instance.
OpenAITextEmbedding.Builder - Class in io.agentscope.core.embedding.openai
Builder for OpenAITextEmbedding.
overlapSize - Variable in class io.agentscope.core.rag.reader.AbstractChunkingReader
 
overlapSize(int) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the overlap size.

P

PARAGRAPH - Enum constant in enum class io.agentscope.core.rag.reader.SplitStrategy
Split text by paragraphs.
parseResponse(Response, OkHttpClient) - Method in interface io.agentscope.core.rag.reader.ExternalApiReader.ResponseParser
Parses markdown text from HTTP response.
password(String) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets the password for authentication.
password(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the password for authentication.
password(String) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the database password.
PDFReader - Class in io.agentscope.core.rag.reader
PDF reader implementation that reads and extracts text from PDF files.
PDFReader() - Constructor for class io.agentscope.core.rag.reader.PDFReader
Creates a new PDFReader with default settings.
PDFReader(int, SplitStrategy, int) - Constructor for class io.agentscope.core.rag.reader.PDFReader
Creates a new PDFReader with the specified configuration.
PDFReader(int, SplitStrategy, int, boolean) - Constructor for class io.agentscope.core.rag.reader.PDFReader
Creates a new PDFReader with the specified configuration.
PgVectorStore - Class in io.agentscope.core.rag.store
PostgreSQL pgvector database store implementation.
PgVectorStore.Builder - Class in io.agentscope.core.rag.store
Builder for creating PgVectorStore instances with fluent configuration.
PgVectorStore.DistanceType - Enum Class in io.agentscope.core.rag.store
Distance types supported by pgvector.

Q

QdrantStore - Class in io.agentscope.core.rag.store
Qdrant vector database store implementation.
QdrantStore.Builder - Class in io.agentscope.core.rag.store
Builder for creating QdrantStore instances with fluent configuration.
queryEmbedding(double[]) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto.SearchDocumentDtoBuilder
Set the query embedding vector.

R

read(ReaderInput) - Method in class io.agentscope.core.rag.reader.ExternalApiReader
 
read(ReaderInput) - Method in class io.agentscope.core.rag.reader.ImageReader
 
read(ReaderInput) - Method in class io.agentscope.core.rag.reader.PDFReader
 
read(ReaderInput) - Method in interface io.agentscope.core.rag.reader.Reader
Reads a document and returns a list of chunked Document objects.
read(ReaderInput) - Method in class io.agentscope.core.rag.reader.TextReader
 
read(ReaderInput) - Method in class io.agentscope.core.rag.reader.TikaReader
 
read(ReaderInput) - Method in class io.agentscope.core.rag.reader.WordReader
 
Reader - Interface in io.agentscope.core.rag.reader
Interface for document readers.
ReaderException - Exception in io.agentscope.core.rag.exception
Exception thrown when document reading fails.
ReaderException(String) - Constructor for exception io.agentscope.core.rag.exception.ReaderException
Creates a new ReaderException with the given message.
ReaderException(String, Throwable) - Constructor for exception io.agentscope.core.rag.exception.ReaderException
Creates a new ReaderException with the given message and cause.
ReaderInput - Class in io.agentscope.core.rag.reader
Input wrapper for document readers.
ReaderInput.InputType - Enum Class in io.agentscope.core.rag.reader
Input type enumeration.
ReaderUtils - Class in io.agentscope.core.rag.reader
Utility class for common reader operations.
readTimeout(Duration) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the read timeout.
requestBuilder(ExternalApiReader.RequestBuilder) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the request builder.
responseParser(ExternalApiReader.ResponseParser) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the response parser.
retrieve(String, RetrieveConfig) - Method in class io.agentscope.core.rag.knowledge.SimpleKnowledge
 
retryDelay(Duration) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the retry delay.

S

schema(String) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the database schema.
scoreThreshold(Double) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto.SearchDocumentDtoBuilder
Set the similarity score threshold.
search(SearchDocumentDto) - Method in class io.agentscope.core.rag.store.ElasticsearchStore
Searches for documents in the Elasticsearch index matching the query embedding.
search(SearchDocumentDto) - Method in class io.agentscope.core.rag.store.InMemoryStore
 
search(SearchDocumentDto) - Method in class io.agentscope.core.rag.store.MilvusStore
 
search(SearchDocumentDto) - Method in class io.agentscope.core.rag.store.PgVectorStore
 
search(SearchDocumentDto) - Method in class io.agentscope.core.rag.store.QdrantStore
 
search(SearchDocumentDto) - Method in interface io.agentscope.core.rag.store.VDBStoreBase
Searches for similar documents.
SearchDocumentDto - Class in io.agentscope.core.rag.store.dto
Search document data transfer object, used to encapsulate parameters for vector search.
SearchDocumentDto.SearchDocumentDtoBuilder - Class in io.agentscope.core.rag.store.dto
Builder class for SearchDocument DTO.
SEMANTIC - Enum constant in enum class io.agentscope.core.rag.reader.SplitStrategy
Split text by semantic boundaries.
setLimit(int) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Set the limit for returned results.
setQueryEmbedding(double[]) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Set the query embedding vector.
setScoreThreshold(Double) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Set the similarity score threshold.
setVectorName(String) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
Set the vector name.
SimpleKnowledge - Class in io.agentscope.core.rag.knowledge
Simple implementation of a knowledge base.
SimpleKnowledge.Builder - Class in io.agentscope.core.rag.knowledge
Builder for SimpleKnowledge.
size() - Method in class io.agentscope.core.rag.store.InMemoryStore
Gets the number of documents currently stored.
splitStrategy - Variable in class io.agentscope.core.rag.reader.AbstractChunkingReader
 
splitStrategy(SplitStrategy) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the split strategy.
SplitStrategy - Enum Class in io.agentscope.core.rag.reader
Strategy for splitting text into chunks.
STRING - Enum constant in enum class io.agentscope.core.rag.reader.ReaderInput.InputType
 
supportedFormats(String...) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the supported file formats (varargs version).
supportedFormats(List<String>) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the supported file formats.

T

TableFormat - Enum Class in io.agentscope.core.rag.reader
Enumeration of table formatting options for Word document readers.
tableName(String) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the table name.
TextChunker - Class in io.agentscope.core.rag.reader
Utility class for chunking text into smaller pieces.
TextReader - Class in io.agentscope.core.rag.reader
Text reader implementation that reads and chunks text documents.
TextReader() - Constructor for class io.agentscope.core.rag.reader.TextReader
Creates a new TextReader with default settings.
TextReader(int, SplitStrategy, int) - Constructor for class io.agentscope.core.rag.reader.TextReader
Creates a new TextReader with the specified configuration.
TikaReader - Class in io.agentscope.core.rag.reader
TikaReader is a document reader that uses Apache Tika to extract text from various document formats.
TikaReader() - Constructor for class io.agentscope.core.rag.reader.TikaReader
Creates a new TikaReader with default settings.
TikaReader(int, SplitStrategy, int, ContentHandler) - Constructor for class io.agentscope.core.rag.reader.TikaReader
Creates a new TikaReader with the specified configuration.
token(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the authentication token.
TOKEN - Enum constant in enum class io.agentscope.core.rag.reader.SplitStrategy
Split text by token count (approximate).
toString() - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto
 

U

uri(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the Milvus server URI.
url(String) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets the Elasticsearch connection URL.
URL - Enum constant in enum class io.agentscope.core.rag.reader.ReaderInput.InputType
 
username(String) - Method in class io.agentscope.core.rag.store.ElasticsearchStore.Builder
Sets the username for authentication.
username(String) - Method in class io.agentscope.core.rag.store.MilvusStore.Builder
Sets the username for authentication.
username(String) - Method in class io.agentscope.core.rag.store.PgVectorStore.Builder
Sets the database username.
useTransportLayerSecurity(boolean) - Method in class io.agentscope.core.rag.store.QdrantStore.Builder
Sets whether to use Transport Layer Security (TLS) for gRPC connections.

V

validateChunkingParameters(int, SplitStrategy, int) - Static method in class io.agentscope.core.rag.reader.AbstractChunkingReader
Validates chunking parameters.
valueOf(String) - Static method in enum class io.agentscope.core.rag.reader.ReaderInput.InputType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.agentscope.core.rag.reader.SplitStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.agentscope.core.rag.reader.TableFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.agentscope.core.rag.reader.ReaderInput.InputType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.agentscope.core.rag.reader.SplitStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.agentscope.core.rag.reader.TableFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.agentscope.core.rag.store.PgVectorStore.DistanceType
Returns an array containing the constants of this enum class, in the order they are declared.
VDBStoreBase - Interface in io.agentscope.core.rag.store
Interface for vector database storage.
vectorName(String) - Method in class io.agentscope.core.rag.store.dto.SearchDocumentDto.SearchDocumentDtoBuilder
Set the vector name.
VectorStoreException - Exception in io.agentscope.core.rag.exception
Exception thrown when vector store operations fail.
VectorStoreException(String) - Constructor for exception io.agentscope.core.rag.exception.VectorStoreException
Creates a new VectorStoreException with the given message.
VectorStoreException(String, Throwable) - Constructor for exception io.agentscope.core.rag.exception.VectorStoreException
Creates a new VectorStoreException with the given message and cause.

W

WordReader - Class in io.agentscope.core.rag.reader
Word document reader that extracts text, tables, and images from Word files.
WordReader() - Constructor for class io.agentscope.core.rag.reader.WordReader
Creates a new WordReader with default settings.
WordReader(int, SplitStrategy, int, boolean, boolean, TableFormat) - Constructor for class io.agentscope.core.rag.reader.WordReader
Creates a new WordReader with full configuration.
writeTimeout(Duration) - Method in class io.agentscope.core.rag.reader.ExternalApiReader.Builder
Sets the write timeout.
A B C D E F G I J L M O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form