add RAG lab

This commit is contained in:
Frank Xu
2025-03-24 09:49:18 -04:00
parent c09deb648a
commit 2ad1f1c06f

View File

@@ -318,7 +318,7 @@
"# Step 5: Set Up Embeddings and Vector Store\n",
"# Define Hugging Face Model URL and access token (e.g., API Token)\n",
"HF_API_URL = \"https://api-inference.huggingface.co/pipeline/feature-extraction/sentence-transformers/paraphrase-MiniLM-L6-v2\"\n",
"# appy your Huggin Face access toKen here https://huggingface.co/docs/hub/en/security-tokens\n",
"# apply for your Huggin Face access token here https://huggingface.co/docs/hub/en/security-tokens\n",
"# Your access token should look like this\n",
"api_token = \"hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n",
"\n",