llama-index-readers-agent-search


Namellama-index-readers-agent-search JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers agent_search integration
upload_time2024-08-22 05:43:42
maintaineremrgnt-cmplxty
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AgentSearch Loader

```bash
pip install llama-index-readers-agent-search
```

This framework facilitates seamless integration with the AgentSearch dataset or hosted search APIs (e.g. Search Engines) and with RAG-specialized LLM's (e.g. Search Agents).

During query-time, the user passes in the query string, search provider (`bing`, `agent-search`), and RAG provider model (`SciPhi/Sensei-7B-V1`).

To learn more, please refer to the documentation [here](https://agent-search.readthedocs.io/en/latest/).

## Usage

Here's an example usage of the AgentSearchReader.

```python
# Optionally set the API key in the env
# import os
# os.environ["SCIPHI_API_KEY"] = "..."

from llama_index.readers.agent_search import AgentSearchReader

reader = AgentSearch()

document = reader.load_data(
    query="latest news",
)[0]
# text = "The latest news encompasses ... and its consequences [2]."
# metadata = {'related_queries': ['Details on the...', ...], 'search_results' : [...]}
```

This loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).
https://github.com/run-llama/llama_index/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-agent-search",
    "maintainer": "emrgnt-cmplxty",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/2f/f1/2e4cc8c9dec9f67f287e102aaf30873f9b484825ee207580bc58a4473ae9/llama_index_readers_agent_search-0.2.0.tar.gz",
    "platform": null,
    "description": "# AgentSearch Loader\n\n```bash\npip install llama-index-readers-agent-search\n```\n\nThis framework facilitates seamless integration with the AgentSearch dataset or hosted search APIs (e.g. Search Engines) and with RAG-specialized LLM's (e.g. Search Agents).\n\nDuring query-time, the user passes in the query string, search provider (`bing`, `agent-search`), and RAG provider model (`SciPhi/Sensei-7B-V1`).\n\nTo learn more, please refer to the documentation [here](https://agent-search.readthedocs.io/en/latest/).\n\n## Usage\n\nHere's an example usage of the AgentSearchReader.\n\n```python\n# Optionally set the API key in the env\n# import os\n# os.environ[\"SCIPHI_API_KEY\"] = \"...\"\n\nfrom llama_index.readers.agent_search import AgentSearchReader\n\nreader = AgentSearch()\n\ndocument = reader.load_data(\n    query=\"latest news\",\n)[0]\n# text = \"The latest news encompasses ... and its consequences [2].\"\n# metadata = {'related_queries': ['Details on the...', ...], 'search_results' : [...]}\n```\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).\nhttps://github.com/run-llama/llama_index/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers agent_search integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10879ac56bdfc655e103c5e21c6ebc66c8d497a72b1fec1e0c16911b3cfecf74",
                "md5": "3e618651b8295bb9cb9e22ccacfba1db",
                "sha256": "2c30b23f0b40c053553daa8f34f472f1182ec80d6c242d018459b5048370ad3f"
            },
            "downloads": -1,
            "filename": "llama_index_readers_agent_search-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3e618651b8295bb9cb9e22ccacfba1db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3245,
            "upload_time": "2024-08-22T05:43:40",
            "upload_time_iso_8601": "2024-08-22T05:43:40.747716Z",
            "url": "https://files.pythonhosted.org/packages/10/87/9ac56bdfc655e103c5e21c6ebc66c8d497a72b1fec1e0c16911b3cfecf74/llama_index_readers_agent_search-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ff12e4cc8c9dec9f67f287e102aaf30873f9b484825ee207580bc58a4473ae9",
                "md5": "2103ec94da6d5256a0823f835b7b5a1f",
                "sha256": "99c6ac0161a934609fb3404a18cbb544418487212bfe85225cfc7f3eaf25b0bb"
            },
            "downloads": -1,
            "filename": "llama_index_readers_agent_search-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2103ec94da6d5256a0823f835b7b5a1f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2866,
            "upload_time": "2024-08-22T05:43:42",
            "upload_time_iso_8601": "2024-08-22T05:43:42.067159Z",
            "url": "https://files.pythonhosted.org/packages/2f/f1/2e4cc8c9dec9f67f287e102aaf30873f9b484825ee207580bc58a4473ae9/llama_index_readers_agent_search-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 05:43:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-agent-search"
}
        
Elapsed time: 0.54213s