Skip to content

fix: intrinsic function signatures #1003

@jakelorocco

Description

@jakelorocco
  1. Guardian intrinsics have function signatures that look like: factuality_correction(context: ChatContext, backend: AdapterMixin, ...). Notably, they do not include a document(s) field like the other intrinsics; they only grab documents from prior messages. We should move them to follow the conventions of the other intrinsics.
  2. We should allow top-level intrinsic functions (like check_answerability and the guardian functions) to take model options now that Intrinsics support all model options (except streaming).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions