일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- 시각화
- streamlit
- 데이터분석
- pandas
- 기초프로젝트
- data analyst
- da
- lambda
- GA4
- jd
- 기초통계
- 전처리
- If
- 태블로
- 군집화
- 프롬프트 엔지니어링
- 최종 프로젝트
- Chat GPT
- 머신러닝
- 프로젝트
- SQLD
- 클러스터링
- 크롤링
- 히트맵
- Python
- cross join
- 데이터 분석
- SQL
- 서브쿼리
- 팀프로젝트
Archives
- Today
- Total
세조목
최종 프로젝트 17일차(24.04.12) 본문
최종 프로젝트 16일차입니다.
금일은 프로젝트 중간 발표 날이었습니다.
중간발표는 무사히 잘 끝났습니다.
현재 저희 팀이 겪고 있는 문제는
gpt 4버전에서 gpt 3.5 버전을 사용해야하는 상황이 발생함에따라
프롬프트를 보다 정교하게 정리할 필요가 있다는 점입니다.
"""
Prerequisites:
- **Enter 0 in all evaluation items and start evaluating.**
- **All assessments must always return a result, even if you determine that the result is unnecessary.**
- The reviews that need to be evaluated are in Korean
- Minimize errors as much as possible
- Derive results that satisfy the conditions
- Judge only from the reviews presented
- Understand the content of the sentence accurately
- Evaluation items: 'bread', 'beverage', 'vegan', 'no_senior', 'no_kids', 'pet', 'wheat', 'view', 'atmosphere', 'friendly', 'clean_store', 'restroom_clean', 'parking', 'spacious_store', 'plenty_seats', 'comfortable_seats', 'special_menu', 'photogenic', 'good_music', 'reservation_possible', 'unique_concept', 'beautiful_interior', 'value_for_money', 'wait', 'health' The better the content, the closer the score is to 100, and the worse the content, the closer it is to -100.
- For the 'sentiment' if the overall content of the review is good, give 1 point, and if the overall content of the review is bad, give -1 point.
- Do not write numbers in 'Bread_Name'
- If it is not related to the evaluation item, cannot be verified, or has not been evaluated, give 0 points.
- Make inferences and judgments about similar languages
- For evaluation items other than 'Bread_Name', please tell us only the scores.
- Separate each evaluation item with a comma.
- If you can't judge, give 0 points.
- Tell the evaluation score in the order of evaluation items
- Make outputs as JSON format.
Conditions for each evaluation item:
'bread':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Include 'dessert' in 'bread'
- Judge the definition of bread according to the conditions we set
- In Korea, pies and desserts are considered bread
- There are various types of bread
- Negative words or language can be used positively depending on the context.
- The word 'fucking' is not necessarily a negative word.
- If there is a word similar to '맛있다' or '맛있어요' and there is no topic, refer to the 'Bread_Name' item and check whether it is 'bread' before deciding.
- If you can't judge, give 0 points.
'beverage':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Consider what's in the cup as a 'drink'
- Negative words or language can be used positively depending on the context.
- The word 'fucking' is not necessarily a negative word.
- If there is a word similar to '맛있다' or '맛있어요' and there is no topic, refer to the 'Bread_Name' item and check whether it is 'drink' before deciding.
- If you can't judge, give 0 points.
'vegan':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If the word 'vegan' is present, give it a score.
- Vegetarians are also considered vegan
- If you can't judge, give 0 points.
'no_senior':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If a place is said to be off-limits to the elderly, it will be evaluated.
- If you can't judge, give 0 points.
'no_kids':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If a location is known to be inaccessible to the child, it will be assessed.
- If you can't judge, give 0 points.
'pet':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Must be related to the 'customer's' 'pet'
- Does not apply to wild animals
- If you can't judge, give 0 points.
'wheat':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether a place uses whole wheat
- If you can't judge, give 0 points.
'view':
- Enter 0 in the corresponding evaluation item and start evaluation.
- 'View' is correlated with 'Landscape'
- The term 'restaurant with a great view' is a positive word.
- 'Restaurant with a good view' is correlated with 'good view'
- If you can't judge, give 0 points.
'atmosphere':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate the atmosphere of the store
- If you can't judge, give 0 points.
'friendly':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Judge the employees in the store
- If you can't judge, give 0 points.
'clean_store':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Rate the cleanliness of the store
- If you can't judge, give 0 points.
'restroom_clean':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Judge the cleanliness of the store's restrooms
- If you can't judge, give 0 points.
'parking':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether parking is convenient
- Evaluate whether the store has parking available
- If you can't judge, give 0 points.
'spacious_store':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether the store is spacious
- If you can't judge, give 0 points.
'plenty_seats':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Assess whether there are many seats
- Evaluate whether the store has plenty of places to sit
- If you can't judge, give 0 points.
'comfortable_seats':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether the seat is comfortable
- Evaluate whether the chair is comfortable to sit on
- Evaluate whether the height of your chair and desk is comfortable.
- If you can't judge, give 0 points.
'special_menu':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether the store has a special menu
- Evaluate whether there is a signature menu item
- If you can't judge, give 0 points.
'photogenic':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate whether the place looks good for photos
- 'Photogenic restaurants' are correlated with 'photogenic'
- 'The picture comes out well' is a positive statement.
- If you can't judge, give 0 points.
'good_music':
- Enter 0 in the corresponding evaluation item and start evaluation.
- 'Music is good' is a positive expression.
- Evaluate the content related to the store background music
- If you can't judge, give 0 points.
'reservation_possible':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate availability of reservations
- Not being able to make a reservation has a negative connotation.
- It is positive that reservations are possible.
- It is better if you can make a same-day reservation.
- If you can't judge, give 0 points.
'unique_concept':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If the store has a unique concept, evaluate it.
- If you can't judge, give 0 points.
'beautiful_interior':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If the interior of the store is pretty, rate it.
- If the review contains information about the interior of the store, please rate it.
- If you can't judge, give 0 points.
'value_for_money':
- Enter 0 in the corresponding evaluation item and start evaluation.
- Evaluate the cost-effectiveness
- If the cost-effectiveness is good, it is positive.
- If the price is expensive, it is negative.
- I don't think I'll pay this money next time, it is negative.
- If you can't judge, give 0 points.
'wait':
- Enter 0 in the corresponding evaluation item and start evaluation.
- 'Wait' refers to the time a customer waits.
- The longer you wait, the worse it is.
- If there are keywords related to 'wait', evaluate them.
- If you can't judge, give 0 points.
'health':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If there are keywords related to 'gluten-free', please evaluate them.
- If there is a keyword related to 'whole wheat', please rate it.
- Evaluate any content related to health
- If you can't judge, give 0 points.
'sentiment':
- Enter 0 in the corresponding evaluation item and start evaluation.
- If the content is good, give 1 point, if the content is bad, give 0 points.
- If you can't judge, give 9999 points.
'bread_name':
- 'Enter 0 in all evaluation items and start evaluation.' Ignore , Enter 'rrrr' and start evaluating.
- Enter only words that refer to bread.
- If you can't judge, give 0 points.
- Please enter in Korean
- Enter the name of the bread
"""
이렇게 최대한 상세하게 입력을 했음에도 불구하고 결과값이 저희가 만족할만한 수준은 아니기도 하고,
저렇게 상세하게 입력할 경우 input 비용이 그만큼 올라가다보니
저 프롬프트를 그대로 사용할 수도 없습니다.
일단 다음주 월요일(15일)까지는 프롬프트 선정을 완료하기로 계획을 잡았습니다.
클러스터링, 추천 작업, 스트림릿 작업도 남아있는 상황에서 계속 프롬프트만 잡고 있을수는 없기 때문입니다.
앞으로의 일정입니다.
데이터셋만 완성되면 한 시름 놓고 다음 작업들을 진행할 수 있을 것 같아서
월요일까지 최선을 다해서 프롬프트 수정 작업을 해보려고합니다.
그리고 이제 다음주면 클러스터링 작업에 돌입하다보니
지금까지 내배캠에서 학습했던 클러스터링 수업들을 다시 한 번
싹 정리하는 시간을 가질 필요가 있을 것 같습니다.
강의 자체가 많지는 않기 때문에 일요일 중으로 모두 정리해보려고합니다.
'데이터 분석 공부 > 프로젝트' 카테고리의 다른 글
최종 프로젝트 19일차(24.04.16) (0) | 2024.04.16 |
---|---|
최종 프로젝트 18일차(24.04.15) (0) | 2024.04.15 |
최종 프로젝트 15~16일차(24.04.10~11) (0) | 2024.04.11 |
최종 프로젝트 14일차(24.04.09) (0) | 2024.04.09 |
최종 프로젝트 13일차(24.04.08) (0) | 2024.04.08 |