🔀 chore(constants.py): add "str" as a base type in LANGCHAIN_BASE_TYPES to support string values in custom interfaces

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-21 23:15:26 -03:00
commit 67e12c425f

View file

@ -20,6 +20,7 @@ LANGCHAIN_BASE_TYPES = {
"VectorStore": VectorStore,
"Embeddings": Embeddings,
"BaseRetriever": BaseRetriever,
"str": str,
}