Commit Graph

7 Commits

Author SHA1 Message Date
Tom Aarsen
b2f49cfa36
typo: addion -> addition (#5234) 2023-08-15 15:43:11 -04:00
pngwn
643442e1a5
generate docs json in ci, reimplement main vs release (#5092)
* fixup site

* fix docs versions

* test ci

* test ci some more

* test ci some more

* test ci some more

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* test

* fix

* add changeset

* fix

* fix

* fix

* test ci

* test ci

* test ci

* test ci

* test ci

* test ci

* test ci

* test ci

* test ci

* notebook ci

* notebook ci

* more ci

* more ci

* update changeset

* update changeset

* update changeset

* fix site

* fix

* fix

* fix

* fix

* fix ci

* render mising pages

* remove changeset

* fix path

* fix workflows

* fix workflows

* fix workflows

* fix comment

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-11 15:54:56 +01:00
Freddy Boulton
46e4ef67d2
Deploy ChatInterface as a discord bot (#4960)
* WIP

* Handle queue full message

* Add code

* Fix types

* Format

* Add docstring

* Rephrase

* cli conflicts

* Update client/python/gradio_client/templates/discord_chat.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* WIP

* Handle queue full message

* Add code

* Fix types

* Format

* Add docstring

* Rephrase

* cli conflicts

* Update client/python/gradio_client/templates/discord_chat.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update client/python/gradio_client/templates/discord_chat.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update client/python/gradio_client/templates/discord_chat.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update client/python/gradio_client/templates/discord_chat.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Figure out how slash commands work

* Lint

* Fix new name situation

* Dont auto archive

* add code

* Explain sync

* add changeset

* Update client/python/gradio_client/cli/deploy_discord.py

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* Make more general

* Fix check

* add changeset

* Add guide

* Step-by-step guide

* Add tip on login via cli

* Fix template - auto synch

* Add note on space sleeptime

* add changeset

* Add more info for feature

* Add img

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
2023-07-26 16:09:38 -04:00
Abubakar Abid
b74f845303
Adds additional_inputs to gr.ChatInterface (#4985)
* adding additional inputs

* add param

* guide

* add is_rendered

* add demo

* fixing examples

* add test

* guide

* add changeset

* Fix typos

* Remove label

* Revert "Remove label"

This reverts commit 1004285615.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-24 11:55:47 -04:00
Abubakar Abid
c93c317bb8
chat interface example code fix (#4984) 2023-07-20 14:05:46 +03:00
Abubakar Abid
3222688f7a
fix langchain, openai examples (#4961) 2023-07-18 15:54:15 -04:00
Abubakar Abid
5a511f02af
A high-level ChatInterface abstraction (#4869)
* push

* chat interface

* remove video artifact

* changes

* restore

* changes

* more functions

* clean

* chat interface

* chat interface

* Update gradio/chat_interface.py

* nit

* changes

* api fix

* chat interface

* guide

* guide

* changes

* fixes

* Added ChatInterface Examples for Langchain, OpenAI Streaming, and HF's Text Generation Inference (StarChat)

* docstring

* tests

* tests

* tests

* tests

* rename

* guide

* chatbot

* conclusion

* demo notebooks

* clog

* test

* chat interface

* fixes

* functional test

* test

* notebook

* guides

* typing

* docstring

* script

* upgrade pyright

* upgrade pyright

* Update CHANGELOG.md

* revert pyright upgrade

* typing

* redirects

* Update CHANGELOG.md

* guide

* guide

* readme

* screenshot

* add to readme

* quickstart

* readme

* Added transformers open-source LLM example using ChatInterface

* Minor nits to guide

* Minor tweak to test - use connect fixture

* website fixes

* nav

* guide

* fix tests'

* fix

* type

* clear

* chat interface

* fix test

* fix guide

* handle edge case

* edge case

* typing

* fix example caching with streaming

* typing

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Yuvraj Sharma <48665385+yvrjsharma@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-07-17 13:22:47 -04:00