Identify the index of the value extracted by LLM
Using Claude API to extract the entities from a email document. For my use case we need to extract the starting and ending positions of the extracted values as well. Tried multiple prompts to get the indexes. Have a plan to do string matching, but there is some prompt for certain values. For example,
”’
Text: “Subject: sample subject” For this subject value we can easily do the string matching.