* Update package.json version
To correspond with v0.8 release.
* Update version in package-lock.json
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
* Use jinja template for chat formatting
* Add support for transformers js chat template
* update to latest transformers version
* Make sure to `add_generation_prompt`
* unindent
* Implement Cloudflare Workers AI endpoint (#907)
* Renamed to Cloudflare Workers AI in docs
* Add note about sampling parameters
* clean up env example
* Added Google Vertex API support
Google Application credentials can be set via
GOOGLE_APPLICATION_CREDENTIALS = clientid.json
* Updated the readme file
* Updated the package-lock file
* Updated the package-lock file
Fixed minor issues
* Moved "@google-cloud/vertexai" to optional dependencies
* Updated for lint checker
* Dynamic system instructions
* disable tag rendering if the feature is disabled
* make time & date tags bold
* fix bug enabling dynamic prompt on assistant creation
* Move fetching at prompt building time
* get rid of date & time tags
* use `url=` for tags
* add env flag check
* Add more detailed errors in prompt
* wording
* token counter
* modal update
* wording
* hide disabled if dynamic prompt is enabled
* add template variables parsing
* regex update
* same regex
* regex again
* sys prompt max height
* rm unused
* Always use absolute URL in links
* trying something
* Revert "trying something"
This reverts commit e30ab33f80.
* wording
* remove debug log
* last wording tweak
---------
Co-authored-by: Victor Mustar <victor.mustar@gmail.com>
* 🚸 When a user signs up they're directly logged in
* lint
---------
Co-authored-by: coyotte508 <coyotte508@protonmail.com>
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Suggested edit to update the language of the disclaimer to cover health decisions and personal data.
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
PR #181 introduced a model ID field so that models could be switched out
without breaking existing conversations. However, the new conversation
endpoint incorrectly uses the model name instead of ID, so without this
fix it was not possible to have a model with a different ID and name.
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
* remove query modifiers from generateQuery
* Add backend for assistant RAG
* Add front-end for updating RAG assistant
* enable web parser to return plaintext directly for matching headers
* Update websearch flow for handling assistant rag preferences
* Add our old blocklist to .env.template
* Enable websearch to run on messages depending on assistant requirements
* reorganized imports
* Rename vars
* use projection
* Add environment variable for assistant rag
* fix assistant rag on runwebsearch
* fix styling if rag is disabled
* make sure we always omit credentials when fetching web pages
* Add new checks for SSRF, with a new env var `ENABLE_LOCAL_FETCH`
* Use DNS to check if the links are local or not
* Add a websearch indicator
* Add more tags to parser
* Add indicators
* Display RAG options in settings view
* ui
* fix rag detection
* bit more spacing
* fix button position in assistant form
* wording (mainly)
* reduce number of tags
* Bump max URLs from 3 to 10
* add ul and ol to parseWeb
* change splitting string
* link style
* wording
* add feedback link
* Update src/routes/settings/(nav)/assistants/[assistantId]/+page.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/routes/settings/(nav)/assistants/[assistantId]/+page.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/routes/assistants/+page.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/routes/settings/(nav)/assistants/[assistantId]/+page.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/lib/components/chat/ChatWindow.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/routes/settings/(nav)/assistants/[assistantId]/+page.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update src/lib/components/AssistantSettings.svelte
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* lint
* throw error if not a string
* simplify rag check
---------
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
Co-authored-by: Victor Mustar <victor.mustar@gmail.com>