hash_text#

langchain_community.retrievers.pinecone_hybrid_search.hash_text(text: str) str[source]#

Hash a text using SHA256.

Parameters:

text (str) – Text to hash.

Returns:

Hashed text.

Return type:

str