Article_Retrieval
1.0.0
これは、Langchainを備えた非常に基本的なRAGシステムです。 「1300からデータサイエンスメディア記事」データセットに記事を索引付けします。
コードとコメントは、 main.ipynbノートブックにあります。
# create python environment
python3 -m venv article_retrieval
# activate environment
source article_retrieval/bin/activate
# install dependencies
pip install -r requirements.txt
# create jupyter environment kernel
python -m ipykernel install --user --name=article_retrievalopenai_api_key変数にOpenAI APIキーを追加します。