Skip to content

LangExtract extracts content from examples instead of actual input text #209

@ojipadeson

Description

@ojipadeson

Description

I'm experiencing an issue where LangExtract is extracting content from the provided examples rather than from the actual input text I want to process. This results in duplicate extractions and incorrect data being returned.

Expected Behavior

LangExtract should only extract information from the input text/document, using examples solely as guidance for the extraction format and structure.

Actual Behavior

LangExtract is generating extractions for both the examples and the input text, resulting in:

  • Content from examples appearing in the final results

Questions

  1. Is this the intended behavior? Should examples generate their own extractions?
  2. How can I ensure only input text extractions are returned?
  3. Is there a parameter to disable example extractions?
  4. What do group_index and extraction_index represent in this context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions