utils
#
Classes
|
Custom JSON encoder for objects in LangChain. |
Functions
|
Get a value from a dictionary or an environment variable. |
|
Get a value from a dictionary or an environment variable. |
Row-wise cosine similarity between two equal-width matrices. |
|
|
Row-wise cosine similarity with optional top-k and score threshold filtering. |
|
Detect if the file is local or remote. |
|
Download audio from url to local. |
|
Retrieves the endpoint and credentials required a given a project endpoint. |