Spaces:
Running
Running
Commit History
-
fix: new chat when old one is still streaming (#578)
Tomás Gómez +1: nsarrazin Unverified signature* fix: new chat when old one is still streaming * linting * make sure loading is off if isAborted is true To avoid loading indicator showing up when stopping generation early * got rid of reactive statement --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>f23c3c9
-
Add ollama endpoint support (#569)
Unverified signature* Add ollama endpoint support * replace if by switch * Add Ollama example in docs14f0244
-
Add support for tgi multimodal models (#531)
Unverified signature* wip: add support for tgi multimodal models * wip work on passing images to prompt * working idefics config! * rm allowed conv feature * lint * Add image resizing * fix ssr * add upload button * add delete button * misc formatting * lint * server file size check * optimistic update of images * retry with images * fix websearch button * lint * better error handling & max one image at a time * replace test image by blank one * disable loading on page change * Fix sharing of images * fix comments * Update filedropzone (#544) * Update src/lib/buildPrompt.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * small tweaks * Fix merge conflicts * lint * wildcard image mime type * fix lint and comment * added comments * added comment about file size * Readme update --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> Co-authored-by: Victor Mustar <victor.mustar@g…0e5c445 -
remove min string size on accessToken
Unverified signature6cfb775
-
Enable lazy construction of pipeline (#554)
Joshua LochnerUnverified signature683ef2f -
fix: typecheck
Unverified signature26efb26 -
fix: Rename sagemaker endpoint to aws endpoint
Unverified signatureb5041c1 -
Modular backends & support for openAI & AWS endpoints (#541)
Unverified signature* Fix the response Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Should use /completions Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Use async generator Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Use openai npm Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Fix generateFromDefaultEndpoint Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Fix last char become undefined Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Better support for system prompt Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Updates Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Revert Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Update README Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * Default system prompt Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com> * remove sk- Signed-off-by: Hung-Han …9db8ced
-
Show model modal even if only one model is available (#536)
Unverified signatured7bfd31 -
fix lint
Unverified signatured4ef484 -
remove target on disclaimer form
Unverified signaturef0058cf
-
fix: checkbox hide emojis not show
Unverified signaturebed356a -
add you.com integration (#514)
mrbean +2: David Li, MishigUnverified signature* add you.com integration * [Feat] Add types (#1) * feat: add types * feat: specify search provider * [Feat] add return values (#3) * feat: add types * feat: specify search provider * add values for ui * add idea to gitignore * lint and downgrade * Revert "lint and downgrade" This reverts commit fbfe012cf4d6aaf5ea00508ca0f99a408ce152e6. * Updates to you.com integration (#4) * `npm run format` * enable search when `YDC_API_KEY` is available * typing nit * enum WebSearchProvider * eslint-disable-next-line no-shadow * downgrade * You.com already provides text snippets (#5) * Order desc you.com results by text length * You.com already provides texts from webpages * add to env * Update .env Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Update src/lib/server/websearch/searchWeb.ts --------- Co-authored-by: David Li <david.li3100@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocoll…4606755
-
Add checkbox for displaying emojis in sidebar (#520)
Unverified signature* Add settings for displaying emojis in sidebar * updated wording4e58dda -
Add a more visible retry button on failure to generate (#530)
Unverified signature* Add a more visible retry button on failure to generate * clean up props * lint * simplify * color * fix linting --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>2d45a3c
-
Fix CSS in DisclaimerModal
Unverified signatureCo-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>05c5f0c
-
Bring back disclaimer modal & updates to guest mode (#526)
Unverified signature* Changes to modal on login: - Ethics modal on page load - Login modal pop up for guest mode later - Change message limit to be 5 messages across all conversations * fix login button width * tweak modals * Update src/routes/+layout.server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Fix linting --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>5c9a37f
-
[Websearch] UI fix sources (#521)
MishigUnverified signature5071731
-
add logo (#518)
Unverified signature9a3aa08 -
Manifest update (#513)
Unverified signature* display = standalone * meta theme-color * mobile rounded menu * update images * thumbnail fit in a square too7173f4f -
Switch chat model back to mistral, use zephyr for small tasks (#515)
Unverified signature* Switch chat model back to mistral, use zephyr for small tasks * typo * fix tests9187ced -
Title update occur when available (#512)
Unverified signature* wip: rename happens realtime * Make title change happen when available * remove debug log * rm commented out code * lint * replace queue by single value * remove .js * reset initial pending message after writingf249cfc
-
Feature/add OIDC optional tolerance and resource (#496)
itaybar +1: nsarrazin Unverified signature* Added optional tolerance for OIDC jwt * Added optional OIDC resource for authorizationURL * Refactored open id params with zod --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>e69cb4a
-
Update websearch prompting & summary prompting (#503)
Unverified signature* Use the task model for websearch query generation * summary with examples in chat format * Update to websearch prompting - Removed web search template - Added examples in `generateQuery` - Passed previous questions when generating the web search query - Added previous questions to the bottom of the context window in `buildPrompt` when using websearch * wait for model if needed * rm console.log * get rid of regex * added a few time related examples * Update src/lib/server/websearch/generateQuery.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * reformat yesterday * test * fix whitespace * remove extra whitespace for mistral * removed mistral extra whitespace * Update src/lib/server/summarize.ts Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * Update src/lib/server/summarize.ts Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * add an emoji if none is found in the first three characters ----…1e5090f -
Feature customizable description (#507)
Unverified signature* Add PUBLIC_APP_DESCRIPTION to .env * Add PUBLIC_APP_DESCRIPTION to .env.template * Add PUBLIC_APP_DESCRIPTION example in README.md * Make description customizable using PUBLIC_APP_DESCRIPTION * Fix bad quote in the `.env` example830b0b6
-
Login button sends you directly to login page (#501)
Unverified signature* Login button sends you directly to login page. * use _parent for target545f27c -
Added optional llm summerization (#498)
itaybar +1: nsarrazin Unverified signature* Added optional llm summerization * set summery as first 5 words Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> * delete unused file * Pass stop sequences properly to TGI (#499) * Pass stop sequences properly to TGI * fix types * Add a job in release action that updates the .env in prod (#493) * Add a workflow that updates the .env in prod * move update env to release workflow * version bumps on actons * flipped config * black * Save user message on request (#337) (#492) Closes #337 * bump inference version * lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>d779ad0
-
Pass stop sequences properly to TGI (#499)
Unverified signature* Pass stop sequences properly to TGI * fix typesa89fb7b -
delete unused file
c902462
-
remove logs for parsing
140086b
-
Add a message wide copy button (#453)
Unverified signature* add-copytoclipboardbtn for the all message * fix padding * fix padding * Fix styling * Move before like and dislike button * position and spacing * mobile fix --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>a7dc1aa
-
fix JSON.parse for summerize (#445)
Unverified signature* fix JSON.parse for summerize When serving with TGI, summerize calls this function and it errors with `SyntaxError: Unexpected token d in JSON at position 0` This PR fixes the problem and keeps existing behaviour. * fix types --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>1e19fc8 -
fix types
0134fe1
-
error console instead of crashing
5b07906 -
Make embedding model settings more future-proof (#454)
MishigUnverified signature3acc11d -
Refactor summarization so it gets called from backend (#456)
Unverified signature* Refactor summarization * get rid of debug log * remove old todo9960338 -
Backend refactor for streaming endpoints (#444)
Unverified signature* wip: complete refactor of streaming backend * working refactoring * fix missing first token & perf regression in output quality * lint * Fix websearch loading from db * fix loading * fix invalidate * remove logs * fix SSR error * typo: paragraphs * fixed save on abort * lint * lint * remove debug log in console * lint for reale943a05 -
Revert "Revert "Update embedding model for WebSearch (#437)""
This reverts commit 1061bc237c37ada9537197b10aeee43e08fc8f4e.aa07e29 -
Revert "Improve error message when the .env MODELS is not well formatted (#451)"
This reverts commit 8ce8b634e9687f00ad31d572dc047113e5b9f0d0.7ddda31 -
Revert "Update embedding model for WebSearch (#437)"
This reverts commit f88542b1121903c1df34b20bd7b8213148e85ca0.1061bc2 -
Update embedding model for WebSearch (#437)
MishigUnverified signature* Use `gte-base` as the emebdding model * use `bge-small-en-v1.5` * Revert "use `bge-small-en-v1.5`" This reverts commit 8cfe084d26884c130d6034afa095b7bbf0f7fa1b. * Use `gte-small`f88542b -
Improve error message when the .env MODELS is not well formatted (#451)
Unverified signature* feat: Improve error handling and parsing of MODELS environment variable * Add more verbose parsing error * Lint * improve message * lint * refactor error handling and default values in models * improve * format --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>8ce8b63 -
Add latex support with marked-katex-extension (#450)
Unverified signature* Add latex support with marked-katex-extension * Add renderer * Fix marked default option problem * Fix linting error * Fix lock error15bf16f