Redis Ingestion Pipeline Pack
This LlamaPack creates an ingestion pipeline, with both a cache and vector store backed by Redis.
CLI Usage
You can download llamapacks directly using llamaindex-cli, which comes installed with the llama-index python package:
llamaindex-cli download-llamapack RedisIngestionPipelinePack --download-dir ./redis_ingestion_pack
You can then inspect the files at ./redis_ingestion_pack and use them as a template for your own project!
Code Usage
You can download the pack to a ./redis_ingestion_pack directory:
from llama_index.core.llama_pack import download_llama_pack
# download and install dependencies
RedisIngestionPipelinePack = download_llama_pack(
"RedisIngestionPipelinePack", "./redis_ingestion_pack"
)
From here, you can use the pack, or inspect and modify the pack in ./redis_ingestion_pack.
Then, you can set up the pack like so:
from llama_index.core.node_parser import SentenceSplitter
from llama_index.embeddings.openai import OpenAIEmbedding
transformations = [SentenceSplitter(), OpenAIEmbedding()]
# create the pack
ingest_pack = RedisIngestionPipelinePack(
transformations,
hostname="localhost",
port=6379,
cache_collection_name="ingest_cache",
vector_collection_name="vector_store",
)
The run() function is a light wrapper around pipeline.run().
You can use this to ingest data and then create an index from the vector store.
pipeline.run(documents)
index = VectorStoreIndex.from_vector_store(inget_pack.vector_store)
You can learn more about the ingestion pipeline at the LlamaIndex documentation.
Metadata
Release files for llama-index-packs-redis-ingestion-pipeline 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_packs_redis_ingestion_pipeline-0.3.0.tar.gz | 2.7 kB | Without provenance | Details for llama_index_packs_redis_ingestion_pipeline-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_packs_redis_ingestion_pipeline-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_packs_redis_ingestion_pipeline-0.3.0-py3-none-any.whl |
Total release size: 5.8 kB
Release files / llama_index_packs_redis_ingestion_pipeline-0.3.0.tar.gz
| Download URL | llama_index_packs_redis_ingestion_pipeline-0.3.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11acd7118bb49e565127d670e26de64048db9dbe5b0f92cd701d0cc825620913
|
|
BLAKE2b-256 checksum How to use checksums |
accb18e9a3a10dd5dad826b86482451cf939ccc648307d246a6cb55296779896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
|
Release files / llama_index_packs_redis_ingestion_pipeline-0.3.0-py3-none-any.whl
| Download URL | llama_index_packs_redis_ingestion_pipeline-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
719319b922ef59ea617fc133b11645864404cf433affbd6a2000adcf3eead9a0
|
|
BLAKE2b-256 checksum How to use checksums |
9d33c5434ae667dcd6e59a5a082817e15add337cd9e861dcfe567088a9c569a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
|
Security for llama-index-packs-redis-ingestion-pipeline 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.