How sutro works for x
description for how sutro works for x
import sutro as so
from pydantic import BaseModel
class ReviewClassifier(BaseModel):
sentiment: str
user_reviews = '.
User_reviews.csv
User_reviews-1.csv
User_reviews-2.csv
User_reviews-3.csv
system_prompt = 'Classify the review as positive, neutral, or negative.'
results = so.infer(user_reviews, system_prompt, output_schema=ReviewClassifier)
Progress: 1% | 1/514,879 | Input tokens processed: 0.41m, Tokens generated: 591k
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
card 1 header
card 1 description
card 2 header
card 2 description
card 3 header
card 3 description
system_prompt = 'Classify the review as positive, neutral, or negative.'
results = so.infer(user_reviews, system_prompt, output_schema)
Improvement in Telegraph, #174,465, Alexander Graham Bell...
Electric Lamp, #223,898, Thomas Edison
Flying Machine, #821,393, Orville and Wilbur Wright
This patent describes the first creation of a working telephone system...
This patent pertains to the original invention of the lightbulb by Thomas Edison...
This patent was issued for the first heavier-than-air aircraft created by...
benefit 1
description for benefit 1
benefit 2 description
Progress: 1% | 1/2.5M Rows
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Data Orchestrators
Object Storage and Open Data Formats
Notebooks and Pythonic Coding Tools