mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
fix patch
This commit is contained in:
@@ -35,6 +35,9 @@ The function **`classify`** will perform the single-label classification.
|
||||
|
||||
```python
|
||||
import openai
|
||||
import instructor
|
||||
|
||||
instructor.patch()
|
||||
|
||||
def classify(data: str) -> SinglePrediction:
|
||||
"""Perform single-label classification on the input text."""
|
||||
|
||||
Reference in New Issue
Block a user