Skip to content

Commit

Permalink
try legacy mode then (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobergum committed Feb 15, 2024
1 parent 465f12e commit 8b4a3f0
Showing 1 changed file with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -865,15 +865,30 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 1,
"id": "5ac21f55",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[nltk_data] Downloading package stopwords to\n",
"[nltk_data] /opt/homebrew/lib/python3.11/site-\n",
"[nltk_data] packages/llama_index/legacy/_static/nltk_cache...\n",
"[nltk_data] Unzipping corpora/stopwords.zip.\n",
"[nltk_data] Downloading package punkt to\n",
"[nltk_data] /opt/homebrew/lib/python3.11/site-\n",
"[nltk_data] packages/llama_index/legacy/_static/nltk_cache...\n",
"[nltk_data] Unzipping tokenizers/punkt.zip.\n"
]
}
],
"source": [
"\n",
"from llama_index.core.base_retriever import BaseRetriever\n",
"from llama_index.schema import NodeWithScore, QueryBundle, TextNode\n",
"from llama_index.callbacks.base import CallbackManager\n",
"from llama_index.legacy.core.base_retriever import BaseRetriever\n",
"from llama_index.legacy.schema import NodeWithScore, QueryBundle, TextNode\n",
"from llama_index.legacy.callbacks.base import CallbackManager\n",
"\n",
"from vespa.application import Vespa\n",
"from vespa.io import VespaQueryResponse\n",
Expand Down

0 comments on commit 8b4a3f0

Please sign in to comment.