Skip to content

Commit

Permalink
local test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdutchak committed Aug 1, 2024
1 parent bafca74 commit d91712c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrapers/twitter/tweets.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func ScrapeTweetsForSentiment(query string, count int, model string) (string, st
tweets = append(tweets, &tweet)
}
sentimentPrompt := "Please perform a sentiment analysis on the following tweets, using an unbiased approach. Sentiment analysis involves identifying and categorizing opinions expressed in text, particularly to determine whether the writer's attitude towards a particular topic, product, etc., is positive, negative, or neutral. After analyzing, please provide a summary of the overall sentiment expressed in these tweets, including the proportion of positive, negative, and neutral sentiments if applicable."
// Convert []*TweetResult to []*twitterscraper.TweetResult

twitterScraperTweets := make([]*twitterscraper.TweetResult, len(tweets))
for i, tweet := range tweets {
twitterScraperTweets[i] = &twitterscraper.TweetResult{
Expand Down

0 comments on commit d91712c

Please sign in to comment.