本页还没有译文
本页 7 段还没译成Español,下面显示的是英文原文。Metal integrations
还没翻译译自英文(docs.langchain.com)本页 7 段都还没译
This page covers how to use Metal within LangChain.
What is metal?
Metal is a managed retrieval & memory platform built for production. Easily index your data into Metal and run semantic search and retrieval on it.
Quick start
Get started by creating a Metal account.
Then, you can easily take advantage of the MetalRetriever class to start retrieving your data for semantic search, prompting context, etc. This class takes a Metal instance and a dictionary of parameters to pass to the Metal API.
from langchain_classic.retrievers import MetalRetriever
from metal_sdk.metal import Metal
metal = Metal("API_KEY", "CLIENT_ID", "INDEX_ID");
retriever = MetalRetriever(metal, params={"limit": 2})
docs = retriever.invoke("search term")AI 翻译查看英文原文