🔧 chore(vector_store.py): import orjson library for JSON serialization and deserialization

🐛 fix(vector_store.py): fix typo in function comment, change "OR" to "or" for better readability
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-08-22 16:11:24 -03:00
commit 6634e8864b

View file

@ -11,6 +11,8 @@ from langchain.vectorstores import (
import os import os
import orjson
def docs_in_params(params: dict) -> bool: def docs_in_params(params: dict) -> bool:
"""Check if params has documents OR texts and one of them is not an empty list, """Check if params has documents OR texts and one of them is not an empty list,