modulersYJ / ganoverflow-front

2 stars 2 forks source link

feat-chatContext: GPT 대화 맥락기억 모드 추가, 함수형 기반 `ChatGPTMessageChain` 및 체이닝 함수 구현 #95

Closed ABizCho closed 1 year ago

ABizCho commented 1 year ago

@hongregii 맥락기억모드 추가했습니다만.. 토큰 사용량이 몇배로 늘어나게 될 예정이라 #82 적용해서 빠르게 고도화해봐야 할 것 같습니다ㅋ.ㅋ.ㅋ. 추가로, 위협을 좀 느껴서 #93 을 통해 수익전략도 고민해보고있습니다ㅋㅋㅋ 참고해주세요

사용법은 1번에 언급된 GetHandleSubmitMsg로 받은 onClickSubmitMsg 핸들러에 isContext만 true로 주면 됩니다잉

맥락 기억모드 off

gof-0819-contextChat-off

맥락 기억모드 on

gof-0819-contextChat-on

system command ("say cutely") 활성화

gof-0819-systemCmds

1. GetHandleSubmitMsg 기억 모드 추가 & 시스템 명령 프롬프트 적용



2. chatGPT.ts에 class ChatGPTMessageChain 함수형 기반 클래스 및 체이닝 함수 정의



3. 기타 작업



after ) 시스템 커스텀 설정 추가 고민

vercel[bot] commented 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 commented 1 year ago

병목으로 머지해두겠습니다 추후 확인해주세요!

hongregii commented 1 year ago

@ABizCho 지피티 설정 관련해서 고생하셨네요 ㅎㅎㅎ 너무 좋아보입니다. 수고하셨어요~~