Using Outlines to Extract a Contiguous Text Span? #575
Replies: 2 comments 3 replies
-
It currently isn't possible unless you pass an exceedingly complex regular expression. However while the regex for a given strings substring is of size O(N^2), a FSM for a substring is of linear size. In other words, this functionality could be integrated. I'm also interested in extractive inference. Could you tell me more about what you're looking for, perhaps an example? |
Beta Was this translation helpful? Give feedback.
-
Guidance implements this functionality in the |
Beta Was this translation helpful? Give feedback.
-
Is it possible to restrict the output to be any contiguous span of text from the input?
In other words, I am wondering if Outlines can be used to do what would effectively be extractive inference?
Beta Was this translation helpful? Give feedback.
All reactions