Commit ecb8c27
authored
feat: add Vertex AI Search and Vector Search data connectors for agentic_rag (#791)
* feat: replace Vertex AI Pipeline data ingestion with GCS Data Connector for vertex_ai_search
- Switch agentic_rag agent from LangChain retriever to native ADK VertexAiSearchTool
for vertex_ai_search datastore type
- Replace Vertex AI Pipeline-based ingestion with GCS Data Connector approach using
Discovery Engine setUpDataConnectorV2 API
- Add Terraform null_resource + external data source pattern for managing data
connectors and retrieving auto-created data store IDs
- Add shell scripts for connector setup, data store ID retrieval, and on-demand sync
- Add Makefile sync-data target for triggering manual data syncs
- Skip data_ingestion pipeline file copy for vertex_ai_search projects
- Update CI/CD pipelines to only include pipeline steps for vertex_ai_vector_search
- Update deployment target service.tf files to use external data source references
* feat: add Vertex AI Search and Vector Search data connectors for agentic_rag
- Migrate data ingestion from shared location to agent-specific `agents/agentic_rag/data_ingestion/`
- Replace shell scripts with Python scripts for data connector setup and management
- Add Vector Search 2.0 Collections API support alongside Vertex AI Search
- Add `setup-datastore` CLI command and sample data for both datastore types
- Use dedicated asp-rag GCP projects for agentic_rag e2e tests
- Conditionally enable vectorsearch API only when datastore type requires it
- Add --wait flag to connector run for blocking sync support1 parent 6198e82 commit ecb8c27
File tree
86 files changed
+7096
-3609
lines changed- .cloudbuild/terraform
- vars
- agent_starter_pack
- agents/agentic_rag
- .template
- app
- data_ingestion
- data_ingestion_pipeline
- components
- deployment/terraform
- dev
- scripts
- tests/integration
- base_templates
- python
- .cloudbuild
- .github/workflows
- cli
- commands
- utils
- data_ingestion
- data_ingestion_pipeline/components
- deployment_targets
- agent_engine/python/deployment/terraform
- dev
- cloud_run/python/deployment/terraform
- dev
- sample_data
- docs
- cli
- guide
- remote-templates
- tests
- cicd
- cli
- commands
- utils
- fixtures
- makefile_snapshots
- integration
- unit
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+7096
-3609
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
566 | | - | |
567 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
63 | 82 | | |
64 | 83 | | |
65 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| |||
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
54 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 | | |
56 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | 710 | | |
712 | 711 | | |
713 | 712 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | | - | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
36 | | - | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | | - | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
67 | 56 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
77 | 60 | | |
78 | 61 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
90 | 67 | | |
91 | 68 | | |
92 | 69 | | |
| |||
99 | 76 | | |
100 | 77 | | |
101 | 78 | | |
102 | | - | |
| 79 | + | |
103 | 80 | | |
104 | 81 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
110 | 85 | | |
111 | | - | |
112 | | - | |
113 | 86 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
118 | 92 | | |
119 | 93 | | |
120 | 94 | | |
| |||
129 | 103 | | |
130 | 104 | | |
131 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
132 | 109 | | |
| 110 | + | |
133 | 111 | | |
134 | 112 | | |
135 | 113 | | |
| |||
0 commit comments