Closed ABizCho closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ganoverflow | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 20, 2023 7:14am |
ganoverflow-front | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 20, 2023 7:14am |
병목으로 머지해두겠습니다 추후 확인해주세요!
@ABizCho 지피티 설정 관련해서 고생하셨네요 ㅎㅎㅎ 너무 좋아보입니다. 수고하셨어요~~
@hongregii 맥락기억모드 추가했습니다만.. 토큰 사용량이 몇배로 늘어나게 될 예정이라 #82 적용해서 빠르게 고도화해봐야 할 것 같습니다ㅋ.ㅋ.ㅋ. 추가로, 위협을 좀 느껴서 #93 을 통해 수익전략도 고민해보고있습니다ㅋㅋㅋ 참고해주세요
사용법은 1번에 언급된
GetHandleSubmitMsg
로 받은 onClickSubmitMsg 핸들러에isContext
만 true로 주면 됩니다잉맥락 기억모드 off
맥락 기억모드 on
system command ("say cutely") 활성화
1.
GetHandleSubmitMsg
기억 모드 추가 & 시스템 명령 프롬프트 적용채팅 제출 핸들러 함수의 인자
isContextMode
boolean에 의한 기억모드 추가단일 문자열 prompt를 엔드포인트 openAI요청에 담아 보내던 것을
ChatGPTMessage[]
로 구성하여 보내도록 수정기억 모드 활성 시, ChatPairs state로 유지한 기존 대화를
`ChatGPTMessage[]
에 사전 구성systemCommand 커스텀 적용 기능 추가
2. chatGPT.ts에
class ChatGPTMessageChain
함수형 기반 클래스 및 체이닝 함수 정의appendSystemCommands
pushChatPairs
pushChat
3. 기타 작업
헤더 레이아웃 수정
다크모드 페이지의 기본 bg-vert-gradient 제거
다크모드 시 ChatPairWrapper, border-bottom 색상 주어 기본 배경색과 구분성 제고
after ) 시스템 커스텀 설정 추가 고민