Spaces:
Sleeping
Sleeping
update
Browse filesFiles changed (8)
- .dockerignoreAdded+8
- .envAdded+80
- .env.localAdded+5
- .eslintignoreAdded+13
- .eslintrc.cjsAdded+43
- .npmrcAdded+1
- .prettierignoreAdded+13
- .prettierrcAdded+8
12345678Dockerfile.vscode/.idea.gitignoreLICENSEREADME.mdnode_modules/.svelte-kit/1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980# Use .env.local to change these variables# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
MONGODB_URL=#your mongodb URL hereMONGODB_DB_NAME=chat-uiMONGODB_DIRECT_CONNECTION=false
COOKIE_NAME=blindchatHF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/tokenHF_API_ROOT=https://api-inference.huggingface.co/models
# used to activate search with web functionality. disabled if none are defined. choose one of the following:SERPER_API_KEY=#your serper.dev api key hereSERPAPI_KEY=#your serpapi key here
# Parameters to enable "Sign in with HF"OPENID_CLIENT_ID=OPENID_CLIENT_SECRET=OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that do not provide preferred_usernameOPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
# Parameters to enable a global mTLS context for client fetch requestsUSE_CLIENT_CERTIFICATE=falseCERT_PATH=#KEY_PATH=#CA_PATH=#CLIENT_KEY_PASSWORD=#REJECT_UNAUTHORIZED=true
# 'name', 'userMessageToken', 'assistantMessageToken' are requiredMODELS=`[ { "name": "Xenova/LaMini-Flan-T5-783M", "is_local": true, "userMessageToken": "<|prompter|>", "assistantMessageToken": "<|assistant|>", "messageEndToken": "</s>", "preprompt": "", "promptExamples": [ { "title": "What is love?", "prompt": "What is love?" }, { "title": "Who is Ada Lovelace?", "prompt": "Who is Ada Lovelace?" }, { "title": "What does end-to-end protected mean?", "prompt": "What does end-to-end protected mean?" } ], "parameters": { "temperature": 0.9, "top_p": 0.95, "repetition_penalty": 1.2, "top_k": 50, "truncate": 1000, "max_new_tokens": 1024 } }]`OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
PUBLIC_ORIGIN=#https://huggingface.coPUBLIC_SHARE_PREFIX=#https://hf.co/chatPUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disablePUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disablePUBLIC_ANNOUNCEMENT_BANNERS=`[]`
PARQUET_EXPORT_DATASET=PARQUET_EXPORT_HF_TOKEN=PARQUET_EXPORT_SECRET=
RATE_LIMIT= # requests per minuteMESSAGES_BEFORE_LOGIN=# how many messages a user can send in a conversation before having to login. set to 0 to force login right away
PUBLIC_APP_NAME=ChatUI # name used as title throughout the appPUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETSPUBLIC_APP_COLOR=blue # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palettePUBLIC_APP_DATA_SHARING=#set to 1 to enable options & text regarding data sharingPUBLIC_APP_DISCLAIMER=#set to 1 to show a disclaimer on login page12345# Use .env.local to change these variables# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
PUBLIC_APP_NAME=BlindChatPUBLIC_APP_DATA_SHARING=false12345678910111213.DS_Storenode_modules/build/.svelte-kit/package.env.env.*!.env.example
# Ignore files for PNPM, NPM and YARNpnpm-lock.yamlpackage-lock.jsonyarn.lock12345678910111213141516171819202122232425262728293031323334353637383940414243module.exports = { root: true, parser: "@typescript-eslint/parser", extends: [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:svelte/recommended", "prettier", ], plugins: ["@typescript-eslint"], ignorePatterns: ["*.cjs"], overrides: [ { files: ["*.svelte"], parser: "svelte-eslint-parser", parserOptions: { parser: "@typescript-eslint/parser", }, }, ], parserOptions: { sourceType: "module", ecmaVersion: 2020, extraFileExtensions: [".svelte"], }, rules: { "no-shadow": ["error"], "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-unused-vars": [ // prevent variables with a _ prefix from being marked as unused "error", { argsIgnorePattern: "^_", }, ], }, env: { browser: true, es2017: true, node: true, },};1engine-strict=true12345678910111213.DS_Storenode_modules/build/.svelte-kit/package.env.env.*!.env.example
# Ignore files for PNPM, NPM and YARNpnpm-lock.yamlpackage-lock.jsonyarn.lock12345678{ "useTabs": true, "trailingComma": "es5", "printWidth": 100, "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], "pluginSearchDirs": ["."], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]}.dockerignoreAdded+8
.envAdded+80
.env.localAdded+5
.eslintignoreAdded+13
.eslintrc.cjsAdded+43
.npmrcAdded+1
.prettierignoreAdded+13
.prettierrcAdded+8