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.2.0.tar.gz
.
File metadata
- Download URL: llama_index_retrievers_vertexai_search-0.2.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff9af7de74c70bad588ded4fa771329c53cd326e582f015487942967f5d27d5 |
|
MD5 | 25eff64cceb7f5929829fa63ce981450 |
|
BLAKE2b-256 | 2da74320170e9ab2d38ab1f148655dc121d24f73ca55bbc5d333c985851166be |
File details
Details for the file llama_index_retrievers_vertexai_search-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_retrievers_vertexai_search-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4452742caf5e2d15121d1851079ccc548458bd0f184c5936fd3a4c25403a9199 |
|
MD5 | f1a61977e7ba21c8b3415bf2fb0b3835 |
|
BLAKE2b-256 | 38f4507ad8bfa98d801f27eeedfabdff2357fdb5b01307546e703c4330aa819d |