added fastapi endpoints

This commit is contained in:
timothyafolami
2024-08-07 18:27:42 +01:00
parent 228fffefd8
commit ab418262b1
4 changed files with 67 additions and 72 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ def load_data(data_path: str):
save_embedded_data(embed_db)
logger.info(f"Vector store saved")
return "Vector store created and saved"
print("Vector store created and saved")
return embed_db
if __name__ == "__main__":