Skip to content

Add example: sentiment analysis on CSV with cost tracking #89

Closed

Description

@ptimizeroracle

Description

Create a complete, self-contained example script showing a real-world sentiment analysis workflow with cost tracking enabled. This helps new users see Ondine in action for a common use case.

What to do

  1. Create examples/sentiment_analysis_with_costs.py
  2. Include: loading a sample CSV, running sentiment classification, printing cost summary
  3. Use QuickPipeline for simplicity
  4. Add inline comments explaining each step
  5. Include a small sample CSV (5-10 rows) or generate one in the script

Acceptance criteria

  • Script runs end-to-end (with a valid API key)
  • Cost summary is printed at the end
  • Clear inline comments for newcomers

Activity

  1. pexp13 commented on May 16, 2026

    @pexp13

    Hallo.
    I'd like to work on this. My background is in NLP and sentiment analysis, with hands-on experience building classification pipelines for text corpora. I can put together a clean, well-commented example script covering CSV loading, sentiment classification via QuickPipeline, and cost summary output. Can I get assigned?

  2. ptimizeroracle commented on Aug 12, 2026

    @ptimizeroracle
    OwnerAuthor

    Resolved in #259.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions