Skip to content

Commit

Permalink
Add requirements list to competency extraction pipeline (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAnzinger authored Sep 17, 2024
1 parent 4dc9fa7 commit df45ef0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/pipeline/competency_extraction_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ def __init__(self, callback: Optional[CompetencyExtractionCallback] = None):
implementation_id="competency_extraction_pipeline_reference_impl"
)
self.callback = callback
self.request_handler = CapabilityRequestHandler(requirements=RequirementList())
self.request_handler = CapabilityRequestHandler(
requirements=RequirementList(
gpt_version_equivalent=4.5,
context_length=16385,
)
)
self.output_parser = PydanticOutputParser(pydantic_object=Competency)

def __call__(
Expand Down

0 comments on commit df45ef0

Please sign in to comment.