Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design a prompt / workflow that queries the vector DB for context based on a user query. Design a prompt / workflow that takes user
Design a promptworkflow that queries the vector DB for context based on a user query. Design a promptworkflow that takes user queries like the ones you defined above and queries the vector DB to find relevant content. The output of your promptworkflow should be a query object with:
the contentstringquery property, which will be embedded for querying nearby documents,
an optional industryfilter property, which can be used to filter documents on predefined industry sectors Please see Overview section for the list of tags and how they work,
an optional takeawaysfilter property, which can be used to filter documents based on predefined takeaway tags. Please see Overview section for the list of tags and how they work.
contentstringquery: string that will be used to query the vector DB for passages close to the string within the embedding
industryfilter: an optional property containing an array of one or more predefined industry sector tags youd like to filter on
takeawaysfilter: an optional property containing an array of one or more predefined takeaways tags youd like to filter on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started