각각의 세부적인 Logic에 대한 설명은 최종발표 자료 영상 6:35 구간부터 설명되어 있습니다.
1) 메모 카테고리 추천 기능
메모 카테고리 추천 기능 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/fa0a9caf-3684-4083-8111-e757820e3404)
사용자가 작성한 내용을 바탕으로 카테고리를 추천 받을 수 있습니다.
GPT Embedding API를 이용한 카테고리 추천 Model로 사용자에게 메모 내용과 가장 유사한 3가지 카테고리를 추천해줍니다.
여기서 정해진 카테고리는 퀴즈생성 기능에서 중요한 역할을 합니다.
2) 퀴즈 생성 기능
퀴즈 생성 기능 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/68a1e650-cecb-4420-abd3-32ef4373f0b2)
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/b6fadeea-92e2-4798-9ab3-0da8956b7906)
GPT ChatCompletion api를 이용한 퀴즈 생성 기능입니다.
프롬프트 엔지니어링을 통해 UI에서 선택한 옵션들을 적용시켜 문제를 생성해줍니다.
문제 난이도는 '입문자/전공 대학생/취업준비생' 이라는 페르소나로 나누어 구분된 문제의 난이도를 제공합니다.
어려움 난이도 같은 경우에는 Markdown으로 작성된 Table이나 Code Sample이 문제에 포함될 수 있습니다.
메모 등록 시, 이미 Moderation으로 검증된 메모만 퀴즈 생성에 사용할 수 있습니다.
문제 개수 옵션에 따라 Embedding 문제 모델에 저장된 문제도 GPT가 생성한 문제와 같이 풀 수 있습니다.
문제 생성 시 GPT 생성 문제는 질문 아래의 유사도를 기반이 된 메모 내용과 메모 카테고리 Label에 해당하는 Embedding 문제 모델과의 Cosine 유사도를 측정해 문제에 대한 검증 지표로 이용할 수 있습니다.
여기서 새롭게 GPT가 생성해준 문제는 사용자의 판단에 따라 재사용될 수도 있습니다.
3) 퀴즈 문제 풀이 및 Feedback 기능
퀴즈 문제 풀이 및 Feedback 기능
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/7905bcf8-5d29-482b-9604-2e694df7b65b)
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/d5f25ba2-2106-41a6-b35f-779bb5b386c7)
문제에 대한 답을 작성하고 정답보기 버튼을 클릭하시면 내부 로직에 따라 객관식은 자체적으로 정답 검증 후 풀이를 제공하고 단답식/주관식은 질문과 유저의 답변을 ChatCompletion api에 넣어 답변 검증과 풀이 생성해 제공합니다.
사용자가 풀이를 보고 문제에 대한 피드백을 점수로 남기면 이 점수에 따라서 GPT가 생성해준 문제를 재사용 여부를 결정하게 됩니다.
단답식/주관식 유저 답변에도 Moderation이 적용되어 있습니다.
사용설명 :
주의사항
배포 과정에서 다소 delay가 있을 수 있습니다. 만약 사용하기 너무 힘들 정도로 delay가 있을 경우 답변 남겨주세요.
메모 내용은 3000자 까지로 제한하는 것을 권장 드립니다. (그 이상도 가능은 하나 사용성이 떨어질 수 있습니다.)
메모를 등록하고 수정할 때(즉, 서버에 저장될 때)는 Moderation 검증 과정을 거쳐 안전한 정보만으로 서비스를 이용하실 수 있습니다.
Moderation 검증에 번역하는 과정이 있기 때문에 메모 내용 길이에 따라 시간이 걸릴 수 있습니다.
Moderation은 메모 등록, 수정 기능 모두 적용되어 있습니다.
메모 카테고리 선택
메모 카테고리 선택 Image
### 메모 카테고리 추천
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/fa0a9caf-3684-4083-8111-e757820e3404)
### 메모 직접 선택
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/42c90b32-e40b-4ea1-89ab-b82d154d43bf)
메모 내용과 관련 있는 카테고리를 선택해주시길 바랍니다. (퀴즈 생성에 영향을 줄 수 있습니다.)
카테고리는 메모 당 하나만 고를 수 있습니다.
퀴즈 생성
퀴즈 생성 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/f667fcca-101a-4fbf-86ba-7f39b0a172d5)
작성하신 메모를 선택해서 해당 메모 내용 기반으로 문제를 생성할 수 있습니다.
문제 갯수는 1~5개로 선택가능하며, 2개 이상이면 Embedding Model의 문제 또한 이용하실 수 있습니다. (메모 내용에 따라 유사한 문제가 없을 시 오로지 GPT문제로만 생성될 수 있음)
문제 형식에는 객관식/단답식/주관식이 있습니다.
문제 난이도는 쉬움/중간/어려움으로 어려움을 선택할 시 Code Sample이나 Table이 포함된 문제를 푸실 수도 있습니다. (내용에 따라 포함되지 않을 수도 있음)
데모 링크:
https://web-redo-1ru12mlvuze1ma.sel5.cloudtype.app
최종 발표 자료 링크:
https://youtu.be/TG4cGvSWOkY
주요 특징:
전반적인 시스템 Diagram
1) 메모 카테고리 추천 기능
메모 카테고리 추천 기능 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/fa0a9caf-3684-4083-8111-e757820e3404)2) 퀴즈 생성 기능
퀴즈 생성 기능 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/68a1e650-cecb-4420-abd3-32ef4373f0b2) ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/b6fadeea-92e2-4798-9ab3-0da8956b7906)3) 퀴즈 문제 풀이 및 Feedback 기능
퀴즈 문제 풀이 및 Feedback 기능
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/7905bcf8-5d29-482b-9604-2e694df7b65b) ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/d5f25ba2-2106-41a6-b35f-779bb5b386c7)사용설명 :
주의사항
로그인/회원가입
로그인/회원가입 Image
### 로그인 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/c2711e1a-5b47-4a02-8c17-0058e9f5807c) ### 회원가입 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/e82dba92-4f54-4565-b0d7-5818dac6c8f5)메모 등록/수정/삭제
메모 등록/수정/삭제 Image
### 메모 등록 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/90e8c628-61f8-4358-bf7e-c2e00a26a4ba) ### 메모 수정/삭제 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/9f304655-9c8e-4d92-a350-0c9e49e8dddc)메모 카테고리 선택
메모 카테고리 선택 Image
### 메모 카테고리 추천 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/fa0a9caf-3684-4083-8111-e757820e3404) ### 메모 직접 선택 ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/42c90b32-e40b-4ea1-89ab-b82d154d43bf)퀴즈 생성
퀴즈 생성 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/f667fcca-101a-4fbf-86ba-7f39b0a172d5)퀴즈 풀기
퀴즈 풀기 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/d6efde77-8110-47ce-8ca3-c664e4aa558a) ![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/a749b677-1d56-4555-a3db-ef8f9888a2df)퀴즈 풀이
퀴즈 풀이 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/0187f864-8ec1-4b37-a298-aac2f1df6128)피드백
피드백 Image
![image](https://github.com/PiLab-CAU/OpenSourceProject-2401/assets/115972127/93934e3d-b58f-41af-9453-6a3747d84fe5)Contributor
윤도경 (@dzcoffee) 한신(@Urchinode) 박민영(@meanyong) 이혜희(@Hyehee-Lee)