Utilize Sentiment Analysis for identifying and/or applying a desired "tone" for content generation

Đang mở
#781 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
aws, azure, machine-learning, php
Lĩnh vực
ai, content

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các tích hợp dịch vụ AI hiện có và các issue liên quan #489, #81 và #117. So sánh các dịch vụ phân tích cảm xúc hiện có và xác định một proof of concept nhỏ để đo lường nội dung hiện có, lưu các giá trị giọng điệu có thể điều chỉnh và đánh giá liệu các prompt có tạo ra những giọng điệu khác biệt rõ ràng hay không trước khi đề xuất tích hợp chính thức.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted needs:engineering
Is your enhancement related to a problem? Please describe.

As related to (perhaps a corollary of) #489 and as mentioned in #81 and #117, we could look to leverage Sentiment Analysis as an alternative to the approach referenced in 489 to identify the "tone" for a site and as input to a prompt for content generation to ensure future content generations align to that "tone".

Designs

Various sentiment analysis tools are available within AI service providers we already integrate with (e.g., Watson's NLU emotion and sentiment text analytics features, Azure's Language sentiment analysis feature), with other AI providers that we've considered (e.g. Amazon's Comprehend sentiment feature), and likely others that would arise with some searching on the topic.

The concepts that we could explore with a rough proof of concept / prototype to see if this could work as an alternative for #489 is as follows:

  • utilize Sentiment Analysis on the existing site content to identify the average plotting of said content across various sentiment scales (formal-to-informal, humorous-to-non-humorous, academic-to-non-academic, happy-to-sad, optimistic-to-pessimistic, etc.) and store that as the site "tone"
  • present those averages of existing content on those different sentiment options with the ability to adjust where the content ideally exists on respective scales to match the "desired tone" for a site
  • utilize the stored sentiment option scales in prompting for content generation to attempt to affect the resulting output from an AI Service provider to match the "tone" for site content
Describe alternatives you've considered

One approach for a proof of concept here would be to have stored values for where sentiment options are on respective scales and send the same prompt for content generation with wildly different scale values to see if the resulting output content varies and appears to match the "desired tone" for the sentiment option scale values. If that appears to work, then building out the proof of concept further for assessment before building more formally into ClassifAI would be helpful.

Code of Conduct
  • I agree to follow this project's Code of Conduct
Ngôn ngữ chính
PHP
Star
714
Fork
68
Merge trung bình
4 giờ 32 phút
Pull request đã merge (30 ngày)
23

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của 10up/classifai

Tất cả issue của 10up/classifai

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.