Skip to content

Commit 401c112

Browse files
Update some llama-cloud-index docs (#19775)
1 parent 5dc7374 commit 401c112

File tree

9 files changed

+17
-19
lines changed

9 files changed

+17
-19
lines changed

docs/docs/examples/llama_cloud/figure_retrieval.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
],
2626
"source": [
27-
"%pip install llama-index llama-index-llms-openai llama-cloud llama-index-indices-managed-llama-cloud"
27+
"%pip install llama-index llama-index-llms-openai llama-cloud-services"
2828
]
2929
},
3030
{
@@ -86,7 +86,7 @@
8686
],
8787
"source": [
8888
"from llama_cloud.types import LlamaParseParameters\n",
89-
"from llama_index.indices.managed.llama_cloud import LlamaCloudIndex\n",
89+
"from llama_cloud_services import LlamaCloudIndex\n",
9090
"\n",
9191
"embedding_config = {\n",
9292
" \"type\": \"OPENAI_EMBEDDING\",\n",

docs/docs/examples/llm/asi1.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@
777777
"outputs": [],
778778
"source": [
779779
"# Install required packages\n",
780-
"%pip install llama-cloud llama-index-indices-managed-llama-cloud"
780+
"%pip install llama-cloud-services"
781781
]
782782
},
783783
{
@@ -831,7 +831,7 @@
831831
],
832832
"source": [
833833
"import os\n",
834-
"from llama_index.indices.managed.llama_cloud import LlamaCloudIndex\n",
834+
"from llama_cloud_services import LlamaCloudIndex\n",
835835
"from llama_index.llms.asi import ASI\n",
836836
"\n",
837837
"# Set your LlamaCloud API key\n",

docs/docs/examples/llm/openai.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,8 +1098,7 @@
10981098
"metadata": {},
10991099
"outputs": [],
11001100
"source": [
1101-
"%pip install llama-cloud\n",
1102-
"%pip install llama-index-indices-managed-llama-cloud"
1101+
"%pip install llama-cloud-services"
11031102
]
11041103
},
11051104
{
@@ -1267,7 +1266,7 @@
12671266
"metadata": {},
12681267
"outputs": [],
12691268
"source": [
1270-
"from llama_index.indices.managed.llama_cloud import LlamaCloudIndex\n",
1269+
"from llama_cloud_services import LlamaCloudIndex\n",
12711270
"\n",
12721271
"index = LlamaCloudIndex(\n",
12731272
" name=\"openai-rag-pipeline\",\n",
@@ -1448,7 +1447,7 @@
14481447
"provenance": []
14491448
},
14501449
"kernelspec": {
1451-
"display_name": "llama-index-caVs7DDe-py3.11",
1450+
"display_name": "llama-index-caVs7DDe-py3.10",
14521451
"language": "python",
14531452
"name": "python3"
14541453
},

docs/docs/getting_started/installation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ This is a starter bundle of packages, containing
1919
- `llama-index-core`
2020
- `llama-index-llms-openai`
2121
- `llama-index-embeddings-openai`
22-
- `llama-index-program-openai`
23-
- `llama-index-question-gen-openai`
24-
- `llama-index-agent-openai`
2522
- `llama-index-readers-file`
26-
- `llama-index-multi-modal-llms-openai`
2723

2824
**NOTE:** LlamaIndex may download and store local files for various packages (NLTK, HuggingFace, ...). Use the environment variable "LLAMA_INDEX_CACHE_DIR" to control where these files are saved.
2925

docs/docs/module_guides/indexing/llama_cloud_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ pip uninstall llama-index # run this if upgrading from v0.9.x or older
2424
pip install -U llama-index --upgrade --no-cache-dir --force-reinstall
2525
```
2626

27-
The `llama-index-indices-managed-llama-cloud` package is included with the above install, but you can also install directly
27+
The `llama-cloud-services` package is included with the above install, but you can also install directly
2828

2929
```
30-
pip install -U llama-index-indices-managed-llama-cloud
30+
pip install -U llama-cloud-services
3131
```
3232

3333
## Usage
@@ -42,7 +42,7 @@ os.environ[
4242
] = "llx-..." # can provide API-key in env or in the constructor later on
4343

4444
from llama_index.core import SimpleDirectoryReader
45-
from llama_index.indices.managed.llama_cloud import LlamaCloudIndex
45+
from llama_cloud_services import LlamaCloudIndex
4646

4747
# create a new index
4848
index = LlamaCloudIndex.from_documents(
@@ -64,7 +64,7 @@ You can also configure a retriever for managed retrieval:
6464
index.as_retriever()
6565

6666
# from scratch
67-
from llama_index.indices.managed.llama_cloud import LlamaCloudRetriever
67+
from llama_cloud_services import LlamaCloudRetriever
6868

6969
retriever = LlamaCloudRetriever("my_first_index", project_name="default")
7070
```
@@ -97,7 +97,7 @@ This is where you can use the `LlamaCloudCompositeRetriever` class. The followin
9797
```python
9898
import os
9999
from llama_cloud import CompositeRetrievalMode, RetrieverPipeline
100-
from llama_index.indices.managed.llama_cloud import (
100+
from llama_cloud_services import (
101101
LlamaCloudIndex,
102102
LlamaCloudCompositeRetriever,
103103
)

docs/docs/understanding/loading/llamacloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You can use LlamaCloud to connect to your data stores and automatically index th
88

99
```python
1010
import os
11-
from llama_index.indices.managed.llama_cloud import LlamaCloudIndex
11+
from llama_cloud_services import LlamaCloudIndex
1212

1313
os.environ["LLAMA_CLOUD_API_KEY"] = "llx-..."
1414

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# LlamaCloud Index + Retriever
22

3+
**NOTE:** This package has been deprecated and is no longer maintained. Please use the [llama-cloud-services package](https://github.com/run-llama/llama_cloud_services) instead.
4+
35
LlamaCloud is a new generation of managed parsing, ingestion, and retrieval services, designed to bring production-grade context-augmentation to your LLM and RAG applications.
46

57
Currently, LlamaCloud supports

llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/llama_index/indices/managed/llama_cloud/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
@deprecated(
6565
reason=DEPRECATION_REASON,
6666
version="0.9.1",
67+
action="once",
6768
)
6869
class LlamaCloudIndex(BaseManagedIndex):
6970
"""

llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev = [
2727

2828
[project]
2929
name = "llama-index-indices-managed-llama-cloud"
30-
version = "0.9.2"
30+
version = "0.9.3"
3131
description = "llama-index indices llama-cloud integration"
3232
authors = [{name = "Logan Markewich", email = "[email protected]"}]
3333
requires-python = ">=3.9,<4.0"

0 commit comments

Comments
 (0)