langchain_community.retrievers.pinecone_hybrid_search.hash_text

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

使用SHA256对文本进行哈希运算。

参数:

text: 要进行哈希运算的文本。

返回:

哈希后的文本。

Parameters

text (str) –

Return type

str