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

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

  • Download URL: llama_index_retrievers_vertexai_search-0.4.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_retrievers_vertexai_search-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c0b55fd9c9046f15702243a8d142ff6bc89d6d689ad9a0c03f171b650bedc8fc
MD5 cc648f4244e5d56ac4203f1fe91e182c
BLAKE2b-256 2b8d9fc264df257f501deb1dcaf9293f175634b15bdbdd6bc978c1349ebe0ac8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_retrievers_vertexai_search-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_retrievers_vertexai_search-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b871bd6b8d947679f7a697007b9790a248827d5a04b2184a955505c3732ef6
MD5 354a1a86f1bfdf532a0c6344544af5c6
BLAKE2b-256 88adacb51f9fa113a632aefd4756579febf2914c203d153b6db87d46a958cecd

See more details on using hashes here.

Supported by

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