Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
QAIPのデータを検索してLangChainと組み合わせる
langchain-qaipをインストール
pip install langchain-qaip
APIキーを発行する
APIキーを設定する
export QAIP_API_KEY="<YOUR_API_KEY>"
検索を実行する
from langchain_qaip import QAIPRetriever # Retrieverを初期化 retriever = QAIPRetriever() # 検索を実行 documents = retriever.invoke("検索したい内容") # 結果を表示 for doc in documents: print(doc.page_content)