Skip to content

Commit

Permalink
Fixing import errors in LlamaIndex tutorial (#4595)
Browse files Browse the repository at this point in the history
Closes #4594

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ignacioct and pre-commit-ci[bot] authored Feb 20, 2024
1 parent ade63ba commit eb4e955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ These are the section headers that we use:
## [1.24.0](https://github.com/argilla-io/argilla/compare/v1.23.0...v1.24.0)

>[!NOTE]
> This release does not contain any new features, but it includes a major change in the `argilla-server` dependency.
> This release does not contain any new features, but it includes a major change in the `argilla-server` dependency.
> The package is using the `argilla-server` dependency defined [here](https://github.com/argilla-io/argilla-server). ([#4537](https://github.com/argilla-io/argilla/pull/4537))
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@
"source": [
"# Import the needed libraries\n",
"import os\n",
"import json\n",
"import random\n",
"from tqdm import tqdm\n",
"import time\n",
"import matplotlib.pyplot as plt\n",
"\n",
"import openai\n",
Expand All @@ -84,13 +82,11 @@
"from argilla.feedback import TrainingTask\n",
"from argilla.feedback import ArgillaTrainer\n",
"\n",
"from typing import Dict, Any, Iterator\n",
"from typing import Union, Tuple, List\n",
"\n",
"from llama_index import SimpleDirectoryReader, ServiceContext, download_loader\n",
"from llama_index.llms import OpenAI\n",
"from llama_index.evaluation import DatasetGenerator\n",
"from llama_index import VectorStoreIndex\n",
"from llama_index.core import ServiceContext, VectorStoreIndex, download_loader\n",
"from llama_index.llms.openai import OpenAI\n",
"from llama_index.core.evaluation import DatasetGenerator\n",
"\n",
"from datasets import load_dataset"
]
Expand Down

0 comments on commit eb4e955

Please sign in to comment.