QuestionQ25

VerifiedDesign Applications

A Generative AI Engineer is building an LLM-powered application that requires access to current news articles and stock prices.

The design requires using stock prices stored in Delta tables and locating the latest relevant news articles through internet search. How should the Generative AI Engineer design the LLM system?

Explanation

An agent architecture can use tools to retrieve structured data through SQL queries against Delta tables and to retrieve real-time unstructured information through web search, then supply the retrieved results to the LLM for response generation. This keeps stock prices and news current without requiring them to be copied into and continuously refreshed in a vector store.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!