Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addCondition(MetadataFilterCondition) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter.Builder
-
Adds a single filter condition.
- addCustomHeader(String, String) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Adds a single custom HTTP header.
- addDocuments(List<Document>) - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge
-
Adds documents to the knowledge base.
- apiBaseUrl(String) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the Dify API base URL.
- apiKey(String) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the Dify API key.
B
- build() - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge.Builder
-
Builds a new DifyKnowledge instance.
- build() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Builds a new DifyRAGConfig instance.
- build() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter.Builder
-
Builds a new MetadataFilter instance.
- build() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition.Builder
-
Builds a new MetadataFilterCondition instance.
- build() - Method in class io.agentscope.core.rag.integration.dify.RerankConfig.Builder
-
Builds a new RerankConfig instance.
- builder() - Static method in class io.agentscope.core.rag.integration.dify.DifyKnowledge
-
Creates a new builder for DifyKnowledge.
- builder() - Static method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Creates a new builder for DifyRAGConfig.
- builder() - Static method in class io.agentscope.core.rag.integration.dify.MetadataFilter
-
Creates a new builder for MetadataFilter.
- builder() - Static method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition
-
Creates a new builder for MetadataFilterCondition.
- builder() - Static method in class io.agentscope.core.rag.integration.dify.RerankConfig
-
Creates a new builder for RerankConfig.
C
- client(DifyRAGClient) - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge.Builder
-
Sets the Dify client directly.
- comparisonOperator(String) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition.Builder
-
Sets the comparison operator.
- conditions(List<MetadataFilterCondition>) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter.Builder
-
Sets the list of filter conditions.
- config(DifyRAGConfig) - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge.Builder
-
Sets the Dify configuration.
- connectTimeout(Duration) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the HTTP connection timeout.
- customHeaders(Map<String, String>) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets custom HTTP headers to include in all requests.
D
- datasetId(String) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the dataset (knowledge base) ID.
- DifyApiException - Exception in io.agentscope.core.rag.integration.dify.exception
-
Exception thrown when Dify API returns an error response.
- DifyApiException(int, String) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Creates a new DifyApiException with HTTP status code.
- DifyApiException(int, String, String) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Creates a new DifyApiException with full error details.
- DifyApiException(int, String, String, Throwable) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Creates a new DifyApiException with full error details and cause.
- DifyApiException(String) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Creates a new DifyApiException with a message.
- DifyApiException(String, Throwable) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Creates a new DifyApiException with a message and cause.
- DifyAuthException - Exception in io.agentscope.core.rag.integration.dify.exception
-
Exception thrown when Dify API authentication fails.
- DifyAuthException(int, String) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyAuthException
-
Creates a new DifyAuthException with custom status code.
- DifyAuthException(String) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyAuthException
-
Creates a new DifyAuthException with a message.
- DifyAuthException(String, Throwable) - Constructor for exception io.agentscope.core.rag.integration.dify.exception.DifyAuthException
-
Creates a new DifyAuthException with a message and cause.
- DifyDocumentConverter - Class in io.agentscope.core.rag.integration.dify
-
Converter for transforming Dify API responses to AgentScope Document objects.
- DifyKnowledge - Class in io.agentscope.core.rag.integration.dify
-
Dify Cloud Knowledge Base implementation.
- DifyKnowledge.Builder - Class in io.agentscope.core.rag.integration.dify
-
Builder for DifyKnowledge.
- DifyRAGClient - Class in io.agentscope.core.rag.integration.dify
-
Client for interacting with Dify Knowledge Base API.
- DifyRAGClient(DifyRAGConfig) - Constructor for class io.agentscope.core.rag.integration.dify.DifyRAGClient
-
Creates a new DifyRAGClient instance.
- DifyRAGConfig - Class in io.agentscope.core.rag.integration.dify
-
Configuration for Dify Knowledge Base integration.
- DifyRAGConfig.Builder - Class in io.agentscope.core.rag.integration.dify
-
Builder for DifyRAGConfig.
- DifyResponse - Class in io.agentscope.core.rag.integration.dify.model
-
Response model for Dify knowledge base retrieval API.
- DifyResponse() - Constructor for class io.agentscope.core.rag.integration.dify.model.DifyResponse
- DifyResponse.DocumentInfo - Class in io.agentscope.core.rag.integration.dify.model
-
Document information nested within a segment.
- DifyResponse.Query - Class in io.agentscope.core.rag.integration.dify.model
-
Query information from the response.
- DifyResponse.Record - Class in io.agentscope.core.rag.integration.dify.model
-
A single retrieval record containing segment and score.
- DifyResponse.Segment - Class in io.agentscope.core.rag.integration.dify.model
-
Segment information from a retrieved document chunk.
- DocumentInfo() - Constructor for class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
E
- enableRerank(Boolean) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets whether to enable reranking.
F
- fromDifyRecord(DifyResponse.Record) - Static method in class io.agentscope.core.rag.integration.dify.DifyDocumentConverter
-
Converts a single Dify record to a Document.
- fromDifyResponse(DifyResponse) - Static method in class io.agentscope.core.rag.integration.dify.DifyDocumentConverter
-
Converts Dify API response to a list of Documents.
- fromValue(String) - Static method in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Converts a string value to the corresponding RetrievalMode enum.
- FULL_TEXT_SEARCH - Enum constant in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Full-text search across all document content.
G
- getAnswer() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getApiBaseUrl() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the Dify API base URL.
- getApiKey() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the Dify API key.
- getClient() - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge
-
Gets the Dify API client.
- getComparisonOperator() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition
-
Gets the comparison operator.
- getCompletedAt() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getConditions() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter
-
Gets the list of filter conditions.
- getConfig() - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge
-
Gets the Dify configuration.
- getConfig() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGClient
-
Gets the Dify configuration.
- getConnectTimeout() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the HTTP connection timeout.
- getContent() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Query
- getContent() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getCreatedAt() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getCreatedBy() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getCustomHeaders() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets custom HTTP headers.
- getDatasetId() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the dataset (knowledge base) ID.
- getDataSourceType() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- getDisabledAt() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getDisabledBy() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getDocument() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getDocumentId() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getEnabled() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getEnableRerank() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Checks if reranking is enabled.
- getError() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getErrorCode() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Gets the Dify error code.
- getHitCount() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getId() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- getId() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getIndexingAt() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getIndexNodeHash() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getIndexNodeId() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getKeywords() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getLogicalOperator() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter
-
Gets the logical operator for combining conditions.
- getMaxRetries() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the maximum number of retries for failed requests.
- getMetadataFilter() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the metadata filter configuration.
- getModelName() - Method in class io.agentscope.core.rag.integration.dify.RerankConfig
-
Gets the rerank model name.
- getName() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition
-
Gets the metadata field name.
- getName() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- getPosition() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getProviderName() - Method in class io.agentscope.core.rag.integration.dify.RerankConfig
-
Gets the rerank provider name.
- getQuery() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse
- getReadTimeout() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the HTTP read timeout.
- getRecords() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse
- getRerankConfig() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the rerank configuration.
- getRetrievalMode() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the retrieval mode.
- getScore() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Record
- getScoreThreshold() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the score threshold for filtering results.
- getSegment() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Record
- getStatus() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getStatusCode() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Gets the HTTP status code.
- getStoppedAt() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getTokens() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- getTopK() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the top K value for retrieval.
- getValue() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition
-
Gets the filter value.
- getValue() - Method in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Gets the string value for use in Dify API requests.
- getWeights() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
-
Gets the hybrid search weights.
- getWordCount() - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
H
- HYBRID_SEARCH - Enum constant in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Hybrid retrieval combining keyword and semantic approaches.
I
- io.agentscope.core.rag.integration.dify - package io.agentscope.core.rag.integration.dify
- io.agentscope.core.rag.integration.dify.exception - package io.agentscope.core.rag.integration.dify.exception
- io.agentscope.core.rag.integration.dify.model - package io.agentscope.core.rag.integration.dify.model
- isClientError() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Checks if this is a client error (4xx status code).
- isRateLimitError() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Checks if this is a rate limit error (429 status code).
- isServerError() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
-
Checks if this is a server error (5xx status code).
K
- KEYWORD_SEARCH - Enum constant in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Keyword-based retrieval using BM25 or similar algorithms.
L
- logicalOperator(String) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter.Builder
-
Sets the logical operator for combining conditions.
M
- maxRetries(Integer) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the maximum number of retries for failed requests.
- metadataFilter(MetadataFilter) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the metadata filter configuration.
- MetadataFilter - Class in io.agentscope.core.rag.integration.dify
-
Metadata filter configuration for Dify knowledge base retrieval.
- MetadataFilter.Builder - Class in io.agentscope.core.rag.integration.dify
-
Builder for MetadataFilter.
- MetadataFilterCondition - Class in io.agentscope.core.rag.integration.dify
-
Metadata filter condition for Dify knowledge base retrieval.
- MetadataFilterCondition.Builder - Class in io.agentscope.core.rag.integration.dify
-
Builder for MetadataFilterCondition.
- modelName(String) - Method in class io.agentscope.core.rag.integration.dify.RerankConfig.Builder
-
Sets the rerank model name.
N
- name(String) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition.Builder
-
Sets the metadata field name.
P
- providerName(String) - Method in class io.agentscope.core.rag.integration.dify.RerankConfig.Builder
-
Sets the rerank provider name.
Q
- Query() - Constructor for class io.agentscope.core.rag.integration.dify.model.DifyResponse.Query
R
- readTimeout(Duration) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the HTTP read timeout.
- Record() - Constructor for class io.agentscope.core.rag.integration.dify.model.DifyResponse.Record
- rerankConfig(RerankConfig) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the rerank configuration.
- RerankConfig - Class in io.agentscope.core.rag.integration.dify
-
Rerank configuration for Dify knowledge base retrieval.
- RerankConfig.Builder - Class in io.agentscope.core.rag.integration.dify
-
Builder for RerankConfig.
- retrievalMode(RetrievalMode) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the retrieval mode.
- RetrievalMode - Enum Class in io.agentscope.core.rag.integration.dify
-
Dify retrieval modes for knowledge base search.
- retrieve(String, RetrieveConfig) - Method in class io.agentscope.core.rag.integration.dify.DifyKnowledge
-
Retrieves relevant documents based on a query.
- retrieve(String, Integer) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGClient
-
Retrieves relevant documents from the knowledge base.
S
- scoreThreshold(Double) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the score threshold for filtering results.
- Segment() - Constructor for class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- SEMANTIC_SEARCH - Enum constant in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Semantic retrieval using vector embeddings and similarity search.
- setAnswer(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setCompletedAt(Long) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setContent(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Query
- setContent(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setCreatedAt(Long) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setCreatedBy(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setDataSourceType(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- setDisabledAt(Long) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setDisabledBy(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setDocument(DifyResponse.DocumentInfo) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setDocumentId(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setEnabled(Boolean) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setError(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setHitCount(Integer) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setId(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- setId(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setIndexingAt(Long) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setIndexNodeHash(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setIndexNodeId(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setKeywords(List<String>) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setName(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.DocumentInfo
- setPosition(Integer) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setQuery(DifyResponse.Query) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse
- setRecords(List<DifyResponse.Record>) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse
- setScore(Double) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Record
- setSegment(DifyResponse.Segment) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Record
- setStatus(String) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setStoppedAt(Long) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setTokens(Integer) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
- setWordCount(Integer) - Method in class io.agentscope.core.rag.integration.dify.model.DifyResponse.Segment
T
- topK(Integer) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the top K value for retrieval.
- toString() - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig
- toString() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyApiException
- toString() - Method in exception io.agentscope.core.rag.integration.dify.exception.DifyAuthException
- toString() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilter
- toString() - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition
- toString() - Method in class io.agentscope.core.rag.integration.dify.RerankConfig
- toString() - Method in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
V
- value(String) - Method in class io.agentscope.core.rag.integration.dify.MetadataFilterCondition.Builder
-
Sets the filter value.
- valueOf(String) - Static method in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.agentscope.core.rag.integration.dify.RetrievalMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- weights(Double) - Method in class io.agentscope.core.rag.integration.dify.DifyRAGConfig.Builder
-
Sets the hybrid search weights.
All Classes and Interfaces|All Packages|Serialized Form