Closed niklub closed 2 months ago
Attention: Patch coverage is 89.13043%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 59.30%. Comparing base (
3b6d651
) to head (54d64b8
). Report is 6 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
adala/skills/collection/entity_extraction.py | 86.84% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Make response_model parameter top-level for skill definition, to simplify development avoiding redundant params: intructions, output_template, field_schema.
Add EntityExtraction skill to extract the list of entities with specified labels
The skill supports 2 different modes:
with labels
EntityExtraction(input_template='….', labels=['Orgnanization', ‘Product’])
given the text document and instruction provided with input_template, returns the payload like:
without labels:
EntityExtraction(input_template='…')
the payload based on the input_template instruction is the following: