Skip to content

Commit ea139e9

Browse files
authored
fix: remove llama-index-legacy dependency in llama-index-core (run-llama#17231)
1 parent 2793f34 commit ea139e9

File tree

11 files changed

+103
-216
lines changed

11 files changed

+103
-216
lines changed

docs/docs/changes/deprecated_terms.md

+12
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,15 @@ See the following links for more details.
3939

4040
- [Configuring settings in the Settings](../module_guides/supporting_modules/settings.md)
4141
- [Parsing Documents into Nodes](../module_guides/loading/node_parsers/index.md)
42+
43+
## ServiceContext
44+
45+
The `ServiceContext` object has been deprecated in favour of the `Settings` object.
46+
47+
- [Configuring settings in the Settings](../module_guides/supporting_modules/settings.md)
48+
49+
## llama-index-legacy
50+
51+
The `llama-index-legacy` package has been deprecated and removed from the repository. Please see the latest getting started guide for the latest information and usage.
52+
53+
- [Getting Started](../getting_started/installation.md)

docs/docs/getting_started/installation.md

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pip install llama-index
1717
This is a starter bundle of packages, containing
1818

1919
- `llama-index-core`
20-
- `llama-index-legacy # temporarily included`
2120
- `llama-index-llms-openai`
2221
- `llama-index-embeddings-openai`
2322
- `llama-index-program-openai`

docs/docs/getting_started/v0_10_0_migration.md

-78
This file was deleted.

docs/docs/module_guides/indexing/llama_cloud_index.md

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ If you have access to LlamaCloud, you can visit [LlamaCloud](https://cloud.llama
1717

1818
First, make sure you have the latest LlamaIndex version installed.
1919

20-
**NOTE:** If you are upgrading from v0.9.X, we recommend following our [migration guide](../../getting_started/v0_10_0_migration.md), as well as uninstalling your previous version first.
21-
2220
```
2321
pip uninstall llama-index # run this if upgrading from v0.9.x or older
2422
pip install -U llama-index --upgrade --no-cache-dir --force-reinstall

docs/mkdocs.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,6 @@ nav:
16901690
- Docs: ./DOCS_README.md
16911691
- Changelog: ./CHANGELOG.md
16921692
- Presentations: ./presentations/past_presentations.md
1693-
- Upgrading to v0.10.x: ./getting_started/v0_10_0_migration.md
16941693
- Deprecated Terms: ./changes/deprecated_terms.md
16951694
- LlamaCloud:
16961695
- LlamaCloud: ./llama_cloud/index.md
@@ -2851,7 +2850,6 @@ plugins:
28512850
./getting_started/starter_example.html: https://docs.llamaindex.ai/en/stable/getting_started/starter_example/
28522851
./getting_started/starter_example_local.html: https://docs.llamaindex.ai/en/stable/getting_started/starter_example_local/
28532852
./getting_started/starter_projects.html: https://docs.llamaindex.ai/en/stable/getting_started/starter_projects/
2854-
./getting_started/v0_10_0_migration.html: https://docs.llamaindex.ai/en/stable/getting_started/v0_10_0_migration/
28552853
./module_guides/deploying/agents/agent_runner.html: https://docs.llamaindex.ai/en/stable/module_guides/deploying/agents/agent_runner/
28562854
./module_guides/deploying/agents/modules.html: https://docs.llamaindex.ai/en/stable/module_guides/deploying/agents/modules/
28572855
./module_guides/deploying/agents/root.html: module_guides/deploying/agents/index.md

llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ If you have access to LlamaCloud, you can visit [LlamaCloud](https://cloud.llama
1717

1818
First, make sure you have the latest LlamaIndex version installed.
1919

20-
**NOTE:** If you are upgrading from v0.9.X, we recommend following our [migration guide](../../../docs/docs/getting_started/v0_10_0_migration.md), as well as uninstalling your previous version first.
21-
2220
```
2321
pip uninstall llama-index # run this if upgrading from v0.9.x or older
2422
pip install -U llama-index --upgrade --no-cache-dir --force-reinstall

llama-index-integrations/llms/llama-index-llms-solar/llama_index/llms/solar/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Union,
99
Tuple,
1010
)
11-
from llama_index.legacy.llms.generic_utils import get_from_param_or_env
11+
from llama_index.core.base.llms.generic_utils import get_from_param_or_env
1212
from llama_index.core.base.llms.types import (
1313
ChatMessage,
1414
ChatResponse,

llama-index-integrations/llms/llama-index-llms-solar/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ exclude = ["**/BUILD"]
2727
license = "MIT"
2828
name = "llama-index-llms-solar"
2929
readme = "README.md"
30-
version = "0.3.0"
30+
version = "0.3.1"
3131

3232
[tool.poetry.dependencies]
3333
python = ">=3.9,<4.0"

llama-index-integrations/readers/llama-index-readers-llama-parse/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ First, login and get an api-key from `https://cloud.llamaindex.ai`.
1212

1313
Then, make sure you have the latest LlamaIndex version installed.
1414

15-
**NOTE:** If you are upgrading from v0.9.X, we recommend following our [migration guide](../../../docs/docs/getting_started/v0_10_0_migration.md), as well as uninstalling your previous version first.
16-
1715
```
1816
pip uninstall llama-index # run this if upgrading from v0.9.x or older
1917
pip install -U llama-index --upgrade --no-cache-dir --force-reinstall

0 commit comments

Comments
 (0)