Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Farzad <[email protected]>
  • Loading branch information
farzad528 committed Jan 20, 2025
1 parent 6524ed1 commit 8eda18f
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions docs/examples/rag_azuresearch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"\n",
"# Optional: preview the parsed Markdown\n",
"md_preview = result.document.export_to_markdown()\n",
"console.print(Panel(md_preview[:500] + \"...\", title=\"Docling Markdown Preview\"))"
"console.print(Panel(md_preview[:500] + \"...\", title=\"Docling Markdown Preview\"))\n"
]
},
{
Expand Down Expand Up @@ -290,7 +290,8 @@
" AzureOpenAIVectorizer,\n",
" AzureOpenAIVectorizerParameters,\n",
")\n",
"from azure.core.credentials import AzureKeyCredential\n",
"\n",
"console = Console()\n",
"\n",
"console = Console()\n",
"\n",
Expand Down Expand Up @@ -834,19 +835,6 @@
"console.print(Panel(rag_prompt, title=\"RAG Prompt\", style=\"bold red\"))\n",
"console.print(Panel(final_answer, title=\"RAG Response\", style=\"bold green\"))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Dataset Citation\n",
"\n",
"**State of AI Report 2024** \n",
"Benaich, N. & Air Street Capital. (2024). *State of AI Report 2024*. \n",
"Licensed under [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). \n",
"Available at: [STATE OF AI REPORT 2024](https://www.stateof.ai/)\n",
"\n"
]
}
],
"metadata": {
Expand All @@ -870,7 +858,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.10.11"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8eda18f

Please sign in to comment.