Data to AI with Java
summary
Demonstration builds a Java + Spring Boot app that converts BigQuery patent abstracts into embeddings, stores them in AlloyDB, and performs fast semantic search with AlloyDB with PGVector and Vertex AI remote embedding calls. Embeddings use Vector embeddings 768-dim, cosine-similarity nearest-neighbor queries return the top-10 relevant patents in seconds. Deployment uses Cloud Shell and gcloud functions deploy to publish a serverless HTTP endpoint; the end-to-end pipeline from SQL to vector search to web API executes successfully in the demo.
AI-written summary · about
chapters (16)
- 0:00Introduction and speaker intro
- 3:59Challenges in building AI apps
- 7:09Proximity platform productivity
- 11:04Accuracy and contextual AI
- 13:09Prompt engineering vs RAG
- 16:20Demo overview and setup
- 20:20Technologies and database setup
- 24:38Database extensions and data insertion
- 31:03Connecting AlloyDB to Vertex AI
- 32:27Generating embeddings for data
- 33:56Testing similarity search
- 36:05Building Java web app
- 38:31Dependencies and code setup
- 41:21Deploying the application
- 43:51Testing the deployed app
- 44:33Summary and next steps
