mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
docs: add integrations, revamp docs (#693)
Signed-off-by: Panos Vagenas <35837085+vagenas@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,17 @@
|
||||
"# RAG with Haystack"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"| Step | Tech | Execution | \n",
|
||||
"| --- | --- | --- |\n",
|
||||
"| Embedding | Hugging Face / Sentence Transformers | 💻 Local |\n",
|
||||
"| Vector store | Milvus | 💻 Local |\n",
|
||||
"| Gen AI | Hugging Face Inference API | 🌐 Remote | "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
@@ -90,6 +101,7 @@
|
||||
"from docling_haystack.converter import ExportType\n",
|
||||
"from dotenv import load_dotenv\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def _get_env_from_colab_or_os(key):\n",
|
||||
" try:\n",
|
||||
" from google.colab import userdata\n",
|
||||
@@ -102,6 +114,7 @@
|
||||
" pass\n",
|
||||
" return os.getenv(key)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"load_dotenv()\n",
|
||||
"HF_TOKEN = _get_env_from_colab_or_os(\"HF_TOKEN\")\n",
|
||||
"PATHS = [\"https://arxiv.org/pdf/2408.09869\"] # Docling Technical Report\n",
|
||||
|
||||
Reference in New Issue
Block a user