Text Embedding result based on Priority

33 views Asked by At

I am new to OpenAI, I have integrated text-embedding-ada-002 modal in AWS OpenSearch for the semantic search.

I want text Embedding Results based on my priority order so for example my document is like, { title: “random”, desc:“random”, } if i search for “abc” word then if my priority order is title > description > etc… then it should be in order of that findings

So if two document found, one document is got because of “abc” is found similarity in description and another got because “abc” is found similarity in title. So, In the Results, first should be that document which got because of title is matched irrespective the order of document in database

This is just an example there would be lots of fields…

any solution ?

also another problem is if exact match found then also score is about 0.7, I think it’s low

I want embedding results based on my priority.

0

There are 0 answers