Use System Prompt for OpenAI API
Open
good first issue
- Dominant language
- JavaScript
- Stars
- 992
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
Right now we don't really use the chat history when we talk to OpenAI. It would be better to set up a system prompt and keep a history of chats when communicating with the API.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the OpenAI API call and the existing chat-history handling in the JavaScript source. Read how messages are currently assembled, then verify that a system prompt and prior chat messages are sent with each request; done means the API conversation retains relevant history.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ai, api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100