llama-index-packs-voyage-query-engine


Namellama-index-packs-voyage-query-engine JSON
Version 0.1.3 PyPI version JSON
download
home_page
Summaryllama-index packs voyage_query_engine integration
upload_time2024-02-22 01:46:42
maintainerLiuhong99
docs_urlNone
authorYour Name
requires_python>=3.8.1,<4.0
licenseMIT
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": "",
    "name": "llama-index-packs-voyage-query-engine",
    "maintainer": "Liuhong99",
    "docs_url": null,
    "requires_python": ">=3.8.1,<4.0",
    "maintainer_email": "",
    "keywords": "embeddings,query,retrieval,voyage",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/af/ec/f064284103337c87ba2767c3fd0c9adf72dc70f9b607fd104c0d8b607da4/llama_index_packs_voyage_query_engine-0.1.3.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": "MIT",
    "summary": "llama-index packs voyage_query_engine integration",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [
        "embeddings",
        "query",
        "retrieval",
        "voyage"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8db9017d62492933484c093441785d6acad73a9939d0ad2735e2d96be1b4a0a7",
                "md5": "943d2249a4005d17f05187dbe7192648",
                "sha256": "abb5ef1f56306044a6dd85ef43d34f13cac358ba6d5fec3628886fa0c9b5f912"
            },
            "downloads": -1,
            "filename": "llama_index_packs_voyage_query_engine-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "943d2249a4005d17f05187dbe7192648",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.1,<4.0",
            "size": 2831,
            "upload_time": "2024-02-22T01:46:41",
            "upload_time_iso_8601": "2024-02-22T01:46:41.587736Z",
            "url": "https://files.pythonhosted.org/packages/8d/b9/017d62492933484c093441785d6acad73a9939d0ad2735e2d96be1b4a0a7/llama_index_packs_voyage_query_engine-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afecf064284103337c87ba2767c3fd0c9adf72dc70f9b607fd104c0d8b607da4",
                "md5": "c481d2cc288ee2f451788ee22bbe978b",
                "sha256": "72c05dbce1be2c2f585f653521f09b52dbf3e2208341afbc7bf6c552ab5905aa"
            },
            "downloads": -1,
            "filename": "llama_index_packs_voyage_query_engine-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c481d2cc288ee2f451788ee22bbe978b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.1,<4.0",
            "size": 2516,
            "upload_time": "2024-02-22T01:46:42",
            "upload_time_iso_8601": "2024-02-22T01:46:42.740924Z",
            "url": "https://files.pythonhosted.org/packages/af/ec/f064284103337c87ba2767c3fd0c9adf72dc70f9b607fd104c0d8b607da4/llama_index_packs_voyage_query_engine-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-22 01:46:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-packs-voyage-query-engine"
}
        
Elapsed time: 0.18939s