Skip to content

Commit

Permalink
docs: docstring for Example (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixFehse authored Jun 11, 2024
1 parent 0433d88 commit 631cb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/intelligence_layer/evaluation/dataset/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Example(BaseModel, Generic[Input, ExpectedOutput]):
expected_output: The expected output from a given example run.
This will be used by the evaluator to compare the received output with.
id: Identifier for the example, defaults to uuid.
metadata: Optional dictionary of custom key-value pairs.
Generics:
Input: Interface to be passed to the :class:`Task` that shall be evaluated.
Expand Down

0 comments on commit 631cb2e

Please sign in to comment.