diff --git a/bootcamp/tutorials/quickstart/contextual_retrieval_with_milvus.ipynb b/bootcamp/tutorials/quickstart/contextual_retrieval_with_milvus.ipynb index 9dc899a54..33ca57771 100644 --- a/bootcamp/tutorials/quickstart/contextual_retrieval_with_milvus.ipynb +++ b/bootcamp/tutorials/quickstart/contextual_retrieval_with_milvus.ipynb @@ -2,19 +2,22 @@ "cells": [ { "cell_type": "markdown", - "source": [ - "\"Open \n", - " \"GitHub" - ], "metadata": { "collapsed": false, "pycharm": { "name": "#%% md\n" } - } + }, + "source": [ + "\"Open \n", + " \"GitHub" + ] }, { "cell_type": "markdown", + "metadata": { + "collapsed": false + }, "source": [ "# Contextual Retrieval with Milvus\n", "![image](https://raw.githubusercontent.com/milvus-io/bootcamp/refs/heads/master/images/contextual_retrieval_with_milvus.png)\n", @@ -26,10 +29,7 @@ "\n", "In this notebook, we will demonstrate how to perform contextual retrieval using Milvus with an LLM, combining dense-sparse hybrid retrieval and a reranker to create a progressively more powerful retrieval system. The data and experimental setup are based on the [contextual retrieval](https://github.com/anthropics/anthropic-cookbook/blob/main/skills/contextual-embeddings/guide.ipynb).\n", "\n" - ], - "metadata": { - "collapsed": false - } + ] }, { "cell_type": "markdown", @@ -52,12 +52,12 @@ }, { "cell_type": "markdown", - "source": [ - "> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime** (click on the \"Runtime\" menu at the top of the screen, and select \"Restart session\" from the dropdown menu)." - ], "metadata": { "collapsed": false - } + }, + "source": [ + "> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime** (click on the \"Runtime\" menu at the top of the screen, and select \"Restart session\" from the dropdown menu)." + ] }, { "cell_type": "markdown", @@ -80,8 +80,8 @@ "metadata": {}, "outputs": [], "source": [ - "!wget https://github.com/anthropics/anthropic-cookbook/blob/main/skills/contextual-embeddings/data/codebase_chunks.json\n", - "!wget https://github.com/anthropics/anthropic-cookbook/blob/main/skills/contextual-embeddings/data/evaluation_set.jsonl" + "!wget https://raw.githubusercontent.com/anthropics/anthropic-cookbook/refs/heads/main/skills/contextual-embeddings/data/codebase_chunks.json\n", + "!wget https://raw.githubusercontent.com/anthropics/anthropic-cookbook/refs/heads/main/skills/contextual-embeddings/data/evaluation_set.jsonl" ] }, { @@ -767,4 +767,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}