Find answers from the community

W
Willi
Offline, last seen 3 days ago
Joined February 18, 2025
W
Willi
Β·

Agent

Hey LlamaIndex community! πŸ‘‹ I'm an experienced dev looking to build a project to learn the framework in-depth.

I want to create an agent that helps create and refine business offers using natural language. Here's what I want it to do:

  • Take an initial offer description and repeatedly prompt for missing info, if any (customer name, products, quantities)
  • Validate inputs (e.g., no negative quantities, verify products/customers exist)
  • Generate the offer in LaTeX format
  • Allow questions about the offer
  • Allow refinements (change or swap products, ...)
  • Support offer finalization as an end state
I have some architecture/design questions I'd love input on:

  1. What's the best way to handle conditional LaTeX output vs Q&A responses? (Evaluation?)
  2. For offer creation/updates - should these be handled via response generation or function calls?
  3. How to properly manage state transitions (no offer β†’ draft β†’ finalized)?
  4. Should validation be its own LLM workflow step?
  5. Best practice for product/customer data - prompt injection, vector store, or filtered function calls?
Any guidance would be much appreciated! πŸ™
1 comment
L