From c90640ded3df50e3c98d681e199a02107d86a093 Mon Sep 17 00:00:00 2001 From: Vaibhav Bhuva Date: Wed, 7 Aug 2024 12:33:15 +0530 Subject: [PATCH] added schema models for indexer service --- jb-lib/lib/data_models/indexer.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 jb-lib/lib/data_models/indexer.py diff --git a/jb-lib/lib/data_models/indexer.py b/jb-lib/lib/data_models/indexer.py new file mode 100644 index 0000000..eed28dc --- /dev/null +++ b/jb-lib/lib/data_models/indexer.py @@ -0,0 +1,6 @@ +from typing import List +from pydantic import BaseModel + +class IndexerInput(BaseModel): + collection_name: str + files: List[str]