llama-index-packs-voyage-query-engine


Namellama-index-packs-voyage-query-engine JSON
Version 0.5.0 PyPI version JSON
download
home_pageNone
Summaryllama-index packs voyage_query_engine integration
upload_time2025-07-31 02:43:10
maintainerLiuhong99
docs_urlNone
authorNone
requires_python<4.0,>=3.9
licenseNone
keywords embeddings query retrieval voyage
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Voyage Query Engine Pack

Create a query engine using GPT4 and [Voyage AI](https://docs.voyageai.com/embeddings/) Embeddings.

## CLI Usage

You can download llamapacks directly using `llamaindex-cli`, which comes installed with the `llama-index` python package:

```bash
llamaindex-cli download-llamapack VoyageQueryEnginePack --download-dir ./voyage_pack
```

You can then inspect the files at `./voyage_pack` and use them as a template for your own project.

## Code Usage

You can download the pack to a the `./voyage_pack` directory:

```python
from llama_index.core.llama_pack import download_llama_pack

# download and install dependencies
VoyageQueryEnginePack = download_llama_pack(
    "VoyageQueryEnginePack", "./voyage_pack"
)

# You can use any llama-hub loader to get documents!
voyage_pack = VoyageQueryEnginePack(documents)
```

From here, you can use the pack, or inspect and modify the pack in `./voyage_pack`.

The `run()` function is a light wrapper around `index.as_query_engine().query()`.

```python
response = voyage_pack.run(
    "What did the author do growing up?", similarity_top_k=2
)
```

You can also use modules individually.

```python
# Use the index directly
index = voyage_pack.index
query_engine = index.as_query_engine()
retriever = index.as_retriever()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-packs-voyage-query-engine",
    "maintainer": "Liuhong99",
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "embeddings, query, retrieval, voyage",
    "author": null,
    "author_email": "Your Name <you@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/f0/4d/2edfa218587293a90cb05ce7f9c9e7eac048e012f60d11221a440ac69d7e/llama_index_packs_voyage_query_engine-0.5.0.tar.gz",
    "platform": null,
    "description": "# Voyage Query Engine Pack\n\nCreate a query engine using GPT4 and [Voyage AI](https://docs.voyageai.com/embeddings/) Embeddings.\n\n## CLI Usage\n\nYou can download llamapacks directly using `llamaindex-cli`, which comes installed with the `llama-index` python package:\n\n```bash\nllamaindex-cli download-llamapack VoyageQueryEnginePack --download-dir ./voyage_pack\n```\n\nYou can then inspect the files at `./voyage_pack` and use them as a template for your own project.\n\n## Code Usage\n\nYou can download the pack to a the `./voyage_pack` directory:\n\n```python\nfrom llama_index.core.llama_pack import download_llama_pack\n\n# download and install dependencies\nVoyageQueryEnginePack = download_llama_pack(\n    \"VoyageQueryEnginePack\", \"./voyage_pack\"\n)\n\n# You can use any llama-hub loader to get documents!\nvoyage_pack = VoyageQueryEnginePack(documents)\n```\n\nFrom here, you can use the pack, or inspect and modify the pack in `./voyage_pack`.\n\nThe `run()` function is a light wrapper around `index.as_query_engine().query()`.\n\n```python\nresponse = voyage_pack.run(\n    \"What did the author do growing up?\", similarity_top_k=2\n)\n```\n\nYou can also use modules individually.\n\n```python\n# Use the index directly\nindex = voyage_pack.index\nquery_engine = index.as_query_engine()\nretriever = index.as_retriever()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "llama-index packs voyage_query_engine integration",
    "version": "0.5.0",
    "project_urls": null,
    "split_keywords": [
        "embeddings",
        " query",
        " retrieval",
        " voyage"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "512af07882733472417d1f1fc9ee989a6eb8667c0c2c7cd7376135893f9d9401",
                "md5": "c5072ff678125a0dda12b0af994aa15f",
                "sha256": "8fa48afe4e4932924de354fcf4d20c802d0827d3b445f7386aa4da5f7c91502b"
            },
            "downloads": -1,
            "filename": "llama_index_packs_voyage_query_engine-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c5072ff678125a0dda12b0af994aa15f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 3643,
            "upload_time": "2025-07-31T02:43:09",
            "upload_time_iso_8601": "2025-07-31T02:43:09.773031Z",
            "url": "https://files.pythonhosted.org/packages/51/2a/f07882733472417d1f1fc9ee989a6eb8667c0c2c7cd7376135893f9d9401/llama_index_packs_voyage_query_engine-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f04d2edfa218587293a90cb05ce7f9c9e7eac048e012f60d11221a440ac69d7e",
                "md5": "22152768fdc1e56b763411bbd183549d",
                "sha256": "ae9bf72e806b75cde7c05776e1172f31ce2d2216c58c0af107650ff7c3396b08"
            },
            "downloads": -1,
            "filename": "llama_index_packs_voyage_query_engine-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "22152768fdc1e56b763411bbd183549d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 3926,
            "upload_time": "2025-07-31T02:43:10",
            "upload_time_iso_8601": "2025-07-31T02:43:10.470447Z",
            "url": "https://files.pythonhosted.org/packages/f0/4d/2edfa218587293a90cb05ce7f9c9e7eac048e012f60d11221a440ac69d7e/llama_index_packs_voyage_query_engine-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-31 02:43:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-packs-voyage-query-engine"
}
        
Elapsed time: 1.85696s