mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-03 02:55:29 +08:00
### What problem does this PR solve? Feat: Display the selected list of memories in the retrieval node. #4213 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -54,6 +54,7 @@ export const RetrievalPartialSchema = {
|
||||
toc_enhance: z.boolean(),
|
||||
...MetadataFilterSchema,
|
||||
memory_ids: z.array(z.string()).optional(),
|
||||
retrieval_from: z.string(),
|
||||
};
|
||||
|
||||
export const FormSchema = z.object({
|
||||
@ -61,6 +62,8 @@ export const FormSchema = z.object({
|
||||
...RetrievalPartialSchema,
|
||||
});
|
||||
|
||||
export type RetrievalFormSchemaType = z.infer<typeof FormSchema>;
|
||||
|
||||
export function MemoryDatasetForm() {
|
||||
const { t } = useTranslation();
|
||||
const form = useFormContext();
|
||||
|
||||
Reference in New Issue
Block a user