Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]Addition of logic for setting context for chatgpt #27

Open
litesh1123 opened this issue May 22, 2024 · 5 comments
Open

[Feature]Addition of logic for setting context for chatgpt #27

litesh1123 opened this issue May 22, 2024 · 5 comments

Comments

@litesh1123
Copy link

Is your feature request related to a problem? Please describe.**
As project chit chat creating chatbot and leveraging chatgpt's potential
It's crucial we use it to full extent
When user will be able to set context for chatgpt it will perform outstandingly
For ex-

I am developing web app for medical assistance than I would give chatgpt context imagine yourself as an expert in providing medical assistance
I am developing webapp for law enforcement than context would be different
in case of business queries it would be different hence context setting by user important
would cater wide variety of users

Describe the solution you'd like

Would be using prompt template
Would edit logic in backend accordingly

@litesh1123
Copy link
Author

@apurvjha123 please go through idea if u like it I would work on it ,this will add lot of weightage to project ,it would cater wide variety of organization

@apurvjha123
Copy link
Member

This feature can be added in advance setting option but our main goal is to provide chatbot, not something like chat with document or something like that

@litesh1123
Copy link
Author

@apurvjha123 I understood your idea of providing chatbot, but my opinion is imagine a businessman wants a chatbot in his business platform ,his business is related to medical field or anything in such case user can chat and get engaged .
Another case think of student working in major project or hackathon where if they want to integrate chatbot powered by chatgpt in such case with help of your service it can be Integrated than setting context feature is very important

@apurvjha123
Copy link
Member

In my POV, I think Providing more flexibility over prompt to user might cause misuse.

here is prompt https://github.com/Chit-Chat-Org/Chit-Chat/blob/c1644adb462f19aceada7eb04800310dceb85051/utils/utils.js#L562

I think we can pass one string parameter to Prompt function which can change be change to from AI Assistant to any thing that user provide.

@litesh1123
Copy link
Author

Ya this may be an issue ,your suggestion are correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants