Encode_documents and encode_queries functions

why is there both encode_documents and encode_queries functions for both sparse and dense encoding of text? is the reason the same for both sparse and dense encoding?
I’m looking at here: GitHub - pinecone-io/pinecone-text: Pinecone text client library
I tried looking at the source code but didn’t seem to find an answer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.