Answered step by step
Verified Expert Solution
Link Copied!

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 prompt/workflow that queries the vector DB for context based on a user query. Design a prompt/workflow that takes user queries like the ones you defined above and queries the vector DB to find relevant content. The output of your prompt/workflow should be a query object with:
the content_string_query property, which will be embedded for querying nearby documents,
an optional industry_filter 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 takeaways_filter 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.
{
content_string_query: [string that will be used to query the vector DB for passages close to the string within the embedding],
industry_filter: [an optional property containing an array of one or more predefined industry sector tags youd like to filter on],
takeaways_filter: [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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago