Skip to content

Commit

Permalink
Edit README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarhindi committed Oct 18, 2024
1 parent eae2db9 commit 252f531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

Execution environment for labeling functions in [refinery](https://github.com/code-kern-ai/refinery). Containerized function as a service to execute user-defined Python scripts.

For classification tasks, the schema is
For classification tasks, the schema is:
```python
from typing import Dict, Any

def my_labeling_function(record: Dict[str: Any]) -> str:
return "my_label"
```

For extraction tasks, the schema is
For extraction tasks, the schema is:
```python
from typing import Dict, Any, Tuple

Expand Down

0 comments on commit 252f531

Please sign in to comment.