mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-05 01:55:05 +08:00
### What problem does this PR solve? Feat: The agent can only retrieve content from the knowledge base or memory. #4213 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -79,6 +79,11 @@ export const DataOperationsOperatorOptions = [
|
||||
|
||||
export const SwitchElseTo = 'end_cpn_ids';
|
||||
|
||||
export enum RetrievalFrom {
|
||||
Dataset = 'dataset',
|
||||
Memory = 'memory',
|
||||
}
|
||||
|
||||
export const initialRetrievalValues = {
|
||||
query: AgentGlobalsSysQueryWithBrace,
|
||||
top_n: 8,
|
||||
@ -91,6 +96,7 @@ export const initialRetrievalValues = {
|
||||
use_kg: false,
|
||||
toc_enhance: false,
|
||||
cross_languages: [],
|
||||
retrieval_from: RetrievalFrom.Dataset,
|
||||
outputs: {
|
||||
formalized_content: {
|
||||
type: 'string',
|
||||
|
||||
Reference in New Issue
Block a user