-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
OpenAI Chat Prompt input limits #2399
Comments
I think you mean 1000 characters, right? We have this logic:
We've discussed removing this here: I can send a PR to remove it. |
@pamelafox - Yes, sorry 1000 characters. I removed this locally and changed some of the CSS to handle/expand the text box for longer prompts but mine didn't render so gracefully (only the text not the whole prompt area expands as well, Might be nice to modify the CSS better than I have to handle this larger text and expand downward to see the full prompt text. ;) Thanks for you help - this is a great project! const onQuestionChange = (_ev: React.FormEvent<HTMLInputElement | HTMLTextAreaElement>, newValue?: string) => { Chat.module.css changes (just for reference - not great but functional) .container { .chatRoot { .chatContainer {
} .chatEmptyState { .chatEmptyStateTitle { .chatEmptyStateTitleLine2 { .chatEmptyStateSubtitle { .chatMessageStream { .chatMessageGpt { .chatMessageGptMinWidth { .chatInput {
} |
We have use cases where large inputs (exceeding 4000 characters) are necessary. Input field seems limited to 4000 characters. Can that be increased or add environment variable to allow larger amounts?
The text was updated successfully, but these errors were encountered: