Skip to content

Commit

Permalink
fix: update multimodal type hints and content handling
Browse files Browse the repository at this point in the history
Co-Authored-By: jason@jxnl.co <jason@jxnl.co>
  • Loading branch information
devin-ai-integration[bot] and jxnl committed Dec 15, 2024
1 parent 29d98db commit ea5a035
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 117 deletions.
4 changes: 2 additions & 2 deletions docs/examples/bulk_classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def tag_request(request: TagRequest) -> TagResponse:
predictions=predictions,
)

## Working with dataframes
## working-with-dataframes

When working with large datasets, it's often convenient to use pandas DataFrames. Here's how you can integrate this classification system with pandas:

Expand All @@ -285,7 +285,7 @@ async def classify_dataframe(df: pd.DataFrame, text_column: str, tags: List[TagW
return df
```

## Streaming Responses
## streaming-responses

For real-time processing, you can stream responses as they become available:

Expand Down
Loading

0 comments on commit ea5a035

Please sign in to comment.