🔧 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:
parent
59652b8875
commit
6634e8864b
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue