You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/utils
Ash Vardanian d01bad5169
core[patch]: Convert SimSIMD back to NumPy (#19473)
This patch fixes the #18022 issue, converting the SimSIMD internal
zero-copy outputs to NumPy.

I've also noticed, that oftentimes `dtype=np.float32` conversion is used
before passing to SimSIMD. Which numeric types do LangChain users
generally care about? We support `float64`, `float32`, `float16`, and
`int8` for cosine distances and `float16` seems reasonable for
practically any kind of embeddings and any modern piece of hardware, so
we can change that part as well 🤗
6 months ago
..
__init__.py refactor `utils` (#15432) 8 months ago
ernie_functions.py refactor `utils` (#15432) 8 months ago
google.py Add the BQ job usage tracking from LangChain (#17123) 7 months ago
math.py core[patch]: Convert SimSIMD back to NumPy (#19473) 6 months ago
openai.py docs: docstrings `langchain_community` update (#14889) 9 months ago
openai_functions.py openai[minor]: implement langchain-openai package (#15503) 8 months ago