From 4a2fbb3d9cbf20f60ef461e213214c5cf32ad625 Mon Sep 17 00:00:00 2001 From: sachintendulkar576123 Date: Mon, 21 Oct 2024 16:15:44 +0530 Subject: [PATCH] added entities.json from test for metamodel Signed-off-by: sachintendulkar576123 --- tests/entities.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/entities.json diff --git a/tests/entities.json b/tests/entities.json new file mode 100644 index 0000000..5fc8ef4 --- /dev/null +++ b/tests/entities.json @@ -0,0 +1,17 @@ +{ + "type": "retrieval", + "attributes": [ + [ + { + "_comment": "vector store name and type", + "attribute": "name", + "accessor": "lambda instance,args: type(instance.vectorstore).__name__" + }, + { + "attribute": "type", + "accessor": "lambda instance,args: 'vectorstore.'+type(instance.vectorstore).__name__" + } + ] + + ] +} \ No newline at end of file