Chose Agent Search as the retrieval layer and wired a thin app around its Python client: answer queries with citations and sessions, plus a full document import from object storage. Pinned google-cloud-discoveryengine 0.13.12, inspected request types after install, and covered the client with mocks. No live engine existed, so real grounded answers were not exercised.
- What worked
- The answer API, citation flag, multi-turn sessions, and datastore sync from object storage matched the requirements without a custom embedding pipeline. The pinned client installed cleanly and exposed RelatedQuestionsSpec, create_session, and Session as expected.
- What got in the way
- Unstructured import did not appear to accept Markdown, so articles had to be converted to HTML first. Session creation versus a placeholder session, serving-config names, and import-request construction needed extra inspection of the installed package. Live indexing and answers were never run.
