You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had some typing problem using RedisVectorStore.add_texts() function. For the keys input, a list of dictionaries is requested (Optional[List[dict]]) , while it's used as a list of string when loaded later (keys=[f"{self.config.key_prefix}:{key}" for key in keys]).
The typing should be Optional[List[str]] such as in the from_texts function where a # type: ignore is used no ?
Or maybe is there a reason for this typing I don't get ?
Thanks for your answer 😅
The text was updated successfully, but these errors were encountered:
Hi everyone,
I had some typing problem using RedisVectorStore.add_texts() function. For the keys input, a list of dictionaries is requested (
Optional[List[dict]]
) , while it's used as a list of string when loaded later (keys=[f"{self.config.key_prefix}:{key}" for key in keys]
).The typing should be
Optional[List[str]]
such as in thefrom_texts
function where a# type: ignore
is used no ?Or maybe is there a reason for this typing I don't get ?
Thanks for your answer 😅
The text was updated successfully, but these errors were encountered: