mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-14 10:30:10 +01:00
b6be43be95
* Add Speech-to-text and Text-to-speech providers * add files and update comment * update comments * patch: bad playerRef check
137 lines
3.2 KiB
JavaScript
137 lines
3.2 KiB
JavaScript
import { API_BASE } from "./constants";
|
|
|
|
export default {
|
|
home: () => {
|
|
return "/";
|
|
},
|
|
login: (noTry = false) => {
|
|
return `/login${noTry ? "?nt=1" : ""}`;
|
|
},
|
|
onboarding: {
|
|
home: () => {
|
|
return "/onboarding";
|
|
},
|
|
survey: () => {
|
|
return "/onboarding/survey";
|
|
},
|
|
llmPreference: () => {
|
|
return "/onboarding/llm-preference";
|
|
},
|
|
embeddingPreference: () => {
|
|
return "/onboarding/embedding-preference";
|
|
},
|
|
vectorDatabase: () => {
|
|
return "/onboarding/vector-database";
|
|
},
|
|
userSetup: () => {
|
|
return "/onboarding/user-setup";
|
|
},
|
|
dataHandling: () => {
|
|
return "/onboarding/data-handling";
|
|
},
|
|
createWorkspace: () => {
|
|
return "/onboarding/create-workspace";
|
|
},
|
|
},
|
|
github: () => {
|
|
return "https://github.com/Mintplex-Labs/anything-llm";
|
|
},
|
|
discord: () => {
|
|
return "https://discord.com/invite/6UyHPeGZAC";
|
|
},
|
|
docs: () => {
|
|
return "https://docs.useanything.com";
|
|
},
|
|
mailToMintplex: () => {
|
|
return "mailto:team@mintplexlabs.com";
|
|
},
|
|
hosting: () => {
|
|
return "https://my.mintplexlabs.com/aio-checkout?product=anythingllm";
|
|
},
|
|
workspace: {
|
|
chat: (slug) => {
|
|
return `/workspace/${slug}`;
|
|
},
|
|
settings: {
|
|
generalAppearance: (slug) => {
|
|
return `/workspace/${slug}/settings/general-appearance`;
|
|
},
|
|
chatSettings: (slug) => {
|
|
return `/workspace/${slug}/settings/chat-settings`;
|
|
},
|
|
vectorDatabase: (slug) => {
|
|
return `/workspace/${slug}/settings/vector-database`;
|
|
},
|
|
members: (slug) => {
|
|
return `/workspace/${slug}/settings/members`;
|
|
},
|
|
agentConfig: (slug) => {
|
|
return `/workspace/${slug}/settings/agent-config`;
|
|
},
|
|
},
|
|
thread: (wsSlug, threadSlug) => {
|
|
return `/workspace/${wsSlug}/t/${threadSlug}`;
|
|
},
|
|
},
|
|
apiDocs: () => {
|
|
return `${API_BASE}/docs`;
|
|
},
|
|
settings: {
|
|
system: () => {
|
|
return `/settings/system-preferences`;
|
|
},
|
|
users: () => {
|
|
return `/settings/users`;
|
|
},
|
|
invites: () => {
|
|
return `/settings/invites`;
|
|
},
|
|
workspaces: () => {
|
|
return `/settings/workspaces`;
|
|
},
|
|
chats: () => {
|
|
return "/settings/workspace-chats";
|
|
},
|
|
llmPreference: () => {
|
|
return "/settings/llm-preference";
|
|
},
|
|
transcriptionPreference: () => {
|
|
return "/settings/transcription-preference";
|
|
},
|
|
audioPreference: () => {
|
|
return "/settings/audio-preference";
|
|
},
|
|
embedder: {
|
|
modelPreference: () => "/settings/embedding-preference",
|
|
chunkingPreference: () => "/settings/text-splitter-preference",
|
|
},
|
|
embeddingPreference: () => {
|
|
return "/settings/embedding-preference";
|
|
},
|
|
vectorDatabase: () => {
|
|
return "/settings/vector-database";
|
|
},
|
|
security: () => {
|
|
return "/settings/security";
|
|
},
|
|
appearance: () => {
|
|
return "/settings/appearance";
|
|
},
|
|
apiKeys: () => {
|
|
return "/settings/api-keys";
|
|
},
|
|
logs: () => {
|
|
return "/settings/event-logs";
|
|
},
|
|
privacy: () => {
|
|
return "/settings/privacy";
|
|
},
|
|
embedSetup: () => {
|
|
return `/settings/embed-config`;
|
|
},
|
|
embedChats: () => {
|
|
return `/settings/embed-chats`;
|
|
},
|
|
},
|
|
};
|