Skip to main content

llama-index retrievers vertex ai search integration

Project description

LlamaIndex Retrievers Integration: Vertex AI Search

Vertex AI Search

Vertex AI Search helps developers build secure, Google-quality search experiences for websites, intranet and RAG systems for generative AI agents and apps. Vertex AI Search is a part of Vertex AI Agent Builder.

Vertex AI Agent Builder: Create AI agents and applications using natural language or a code-first approach. Easily ground your agents or apps in enterprise data with a range of options. Vertex AI Agent Builder gathers all the surfaces and tools that developers need to build their AI agents and applications..

Installation

pip install llama-index-retrievers-vertexai-search

Usage

from llama_index.retrievers.vertexai_search import VertexAISearchRetriever

retriever = VertexAISearchRetriever(
        project_id=PROJECT_ID,
        data_store_id=DATA_STORE_ID,
        location_id=LOCATION_ID,
        engine_data_type=1
    )

query = "harry potter"
retrieved_results = retriever.retrieve(query)

# Prints the first retrieved result
print(retrieved_results[0].get_content())

Notebook

Explore the retriever using Notebook present at: Open In Colab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file llama_index_retrievers_vertexai_search-0.0.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_retrievers_vertexai_search-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ce783d3d8f222b60e8647537c4fe92ea538d81099bafa148591ad0ae72a49ea9
MD5 408e17f41b58d377e5598eec9645d4af
BLAKE2b-256 15185bb5bbd1980d0c95e6d96f6576e7e94cbc9f5efe940ba64356ceaae24fc7

See more details on using hashes here.

File details

Details for the file llama_index_retrievers_vertexai_search-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_retrievers_vertexai_search-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac2cf788fed60cfae9f2c5ab4894fe339dda98da80612a74271438d80f049472
MD5 5649dec9b9656fb1e360208f985ea13f
BLAKE2b-256 348de23f7ca7fc87b3980f095b1096dc4248f9f9cdd4282bddda5235d8380a44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page