Lindorm is a cloud-native multimodal database from Alibaba-Cloud, It supports unified access and integrated processing of various types of data, including wide tables, time-series, text, objects, streams, and spatial data. It is compatible with multiple standard interfaces such as SQL, HBase/Cassandra/S3, TSDB, HDFS, Solr, and Kafka, and seamlessly integrates with third-party ecosystem tools. This makes it suitable for scenarios such as logging, monitoring, billing, advertising, social networking, travel, and risk control. Lindorm is also one of the databases that support Alibaba's core businesses.
要使用 Lindorm 的 AI 和向量功能,您应该 获取服务 并安装 langchain-lindorm-integration package.
!pip install -U langchain-lindorm-integration
嵌入
要使用部署在 Lindorm AI Service 中的嵌入模型,请导入 LindormAIEmbeddings。
from langchain_lindorm_integration import LindormAIEmbeddings
重排序
Lindorm AI Service 还支持重排序。
from langchain_lindorm_integration.reranker import LindormAIRerank
向量存储
Lindorm 还支持向量存储。
from langchain_lindorm_integration import LindormVectorStore
ByteStore
使用来自 Lindorm 的 ByteStore
from langchain_lindorm_integration import LindormByteStore