|
|
|
|
|
by ryebread777
801 days ago
|
|
Not familiar with similar libraries so not sure how this stacks up. But a few things that I see as helpful improvements would be:
1. using templating engine like jinja to allow for more flexibility in customizing prompts
2. sending multiple rows per request. If I want to do sentiment classification, I may have a fairly large bit of text explaining exactly what I want the classifier to do. If I include that instruction along with every individual sentence I want to classify, I'm wasting a lot of tokens. Instead I'd rather send the instructions along with 100 sentences and ask it to classify each one. This sort of functionality would work well with what you're trying to accomplish using dataframes. |
|