-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feat functions misc update 2 #1158
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mishig25
approved these changes
May 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm !
mishig25
pushed a commit
that referenced
this pull request
May 23, 2024
* Initial work on function calling * wip * Add websearch as a tool * lint * smol * Move tools to their own files * directly answer check * Add text2img tool * group tool calls together * show retry even if no message * fix trailing urls * Add image popup * format * wip * clean-up * better loading indicator * text colors * extra example to summarize * switch default model * Add fetchUrl tool * wip * Add latest gradio * fix types * version bump sharp * Basic tools menu * working menu * fix menu positioning * deps fix * add deps * cleanup * more cleanup * cleanup * package cleanups * moar cleanup * ui update * Update ChatMessage.svelte * upgrade gradio dep * lint * refactor and pass results to cohere * feat: code interpreter tool * fix: add e2b dependency * feat: working TGI endpoint with tool results * feat: allow image model to expand to 90dvw * fix: dont block on title gen * bump sharp * misc cleanup * fix url fetcher, adjust tool typing * migrate to new MessageUpdate schema * fix lint errors * image editing, pdf upload + parsing * feat: file preview for non-images * feat: image prompting, file ui, file migration, many fixes * feat: multiple files and tool file indices * feat: add back remote keylogging prevention * minor nit * minor * resolve nits * feat: use node vm for calculator and improve prompt * more nits * feat: add index to tools settings * chore: update invalid package lock * feat: bump gradio client to 0.19.4 * feat: move pdf to markdown to huggingchat * fix: uploaded file width * feat: prompt the model when no files available * Feat functions: UI update (#1157) * details: close on click outside * drag for tools * tools ordering * add link to community discussion * misc * calculator listed as last * file style * images with different ratios * page scraper: longer timeout @Saghen @mishig25 seems to work better with this * vertical gap * Revert "drag for tools" This reverts commit 8eeed3b. * chat padding on desktop * file colors * larger gap for all messages on xl screens * feat: update pdf to markdown schema * fix: uploaded file container width * fix: tool name check * fix: cohere endpoint * fix: use most recent message for files * feat: allow tools to access previous files * feat: support all file types on document parser * fix: use document parser in default tools * feat: rename url fetcher internal name * feat: resolve type error * feat: enable tools on prod command r+ * feat: truncate document markdown * feat: bump @huggingface/inference * feat: resolve type errors * nit * Feat functions misc update 2 (#1158) * update examples a * add tool indicator * llama 3 description update * image quick fix * mobile * icon purple --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Liam Dyer <liamcdyer@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
ice91
pushed a commit
to ice91/chat-ui
that referenced
this pull request
Oct 30, 2024
* Initial work on function calling * wip * Add websearch as a tool * lint * smol * Move tools to their own files * directly answer check * Add text2img tool * group tool calls together * show retry even if no message * fix trailing urls * Add image popup * format * wip * clean-up * better loading indicator * text colors * extra example to summarize * switch default model * Add fetchUrl tool * wip * Add latest gradio * fix types * version bump sharp * Basic tools menu * working menu * fix menu positioning * deps fix * add deps * cleanup * more cleanup * cleanup * package cleanups * moar cleanup * ui update * Update ChatMessage.svelte * upgrade gradio dep * lint * refactor and pass results to cohere * feat: code interpreter tool * fix: add e2b dependency * feat: working TGI endpoint with tool results * feat: allow image model to expand to 90dvw * fix: dont block on title gen * bump sharp * misc cleanup * fix url fetcher, adjust tool typing * migrate to new MessageUpdate schema * fix lint errors * image editing, pdf upload + parsing * feat: file preview for non-images * feat: image prompting, file ui, file migration, many fixes * feat: multiple files and tool file indices * feat: add back remote keylogging prevention * minor nit * minor * resolve nits * feat: use node vm for calculator and improve prompt * more nits * feat: add index to tools settings * chore: update invalid package lock * feat: bump gradio client to 0.19.4 * feat: move pdf to markdown to huggingchat * fix: uploaded file width * feat: prompt the model when no files available * Feat functions: UI update (huggingface#1157) * details: close on click outside * drag for tools * tools ordering * add link to community discussion * misc * calculator listed as last * file style * images with different ratios * page scraper: longer timeout @Saghen @mishig25 seems to work better with this * vertical gap * Revert "drag for tools" This reverts commit 8eeed3b. * chat padding on desktop * file colors * larger gap for all messages on xl screens * feat: update pdf to markdown schema * fix: uploaded file container width * fix: tool name check * fix: cohere endpoint * fix: use most recent message for files * feat: allow tools to access previous files * feat: support all file types on document parser * fix: use document parser in default tools * feat: rename url fetcher internal name * feat: resolve type error * feat: enable tools on prod command r+ * feat: truncate document markdown * feat: bump @huggingface/inference * feat: resolve type errors * nit * Feat functions misc update 2 (huggingface#1158) * update examples a * add tool indicator * llama 3 description update * image quick fix * mobile * icon purple --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Liam Dyer <liamcdyer@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.