Feat: Display the selected list of memories in the retrieval node. #4213 (#12235)

### 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:
balibabu
2025-12-26 15:20:40 +08:00
committed by GitHub
parent 3ad147d349
commit 595fc4ccec
2 changed files with 29 additions and 4 deletions

View File

@ -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();