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
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
.
File metadata
- Download URL: llama_index_retrievers_vertexai_search-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43de7e7a05fc3af98cc5063b9e8ee5836552132ccd642011a298b74411ddf027 |
|
MD5 | 6f168db30ad0a6fd5a145e1e99a9fe89 |
|
BLAKE2b-256 | 7695452de586054105fcc37ae7020cfe9a5a16b56c7658c15a506d2f7bbd92a8 |
File details
Details for the file llama_index_retrievers_vertexai_search-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_retrievers_vertexai_search-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558ccaf0c585200b6e4fdec9c5576d2b221ed75a776b5227e08097d87b5042a5 |
|
MD5 | c7052b1a83ee9fba2b1fafd84f009031 |
|
BLAKE2b-256 | e45d61f93c048ad9e26c454c6089895b331bc9a4b15b05d79858967b14205f05 |