SYMBOL INDEX (379 symbols across 197 files) FILE: app/[locale]/[workspaceid]/chat/[chatid]/page.tsx function ChatIDPage (line 5) | function ChatIDPage() { FILE: app/[locale]/[workspaceid]/chat/page.tsx function ChatPage (line 15) | function ChatPage() { FILE: app/[locale]/[workspaceid]/layout.tsx type WorkspaceLayoutProps (line 23) | interface WorkspaceLayoutProps { function WorkspaceLayout (line 27) | function WorkspaceLayout({ children }: WorkspaceLayoutProps) { FILE: app/[locale]/[workspaceid]/page.tsx function WorkspacePage (line 6) | function WorkspacePage() { FILE: app/[locale]/help/page.tsx function HelpPage (line 1) | function HelpPage() { FILE: app/[locale]/layout.tsx constant APP_NAME (line 15) | const APP_NAME = "Chatbot UI" constant APP_DEFAULT_TITLE (line 16) | const APP_DEFAULT_TITLE = "Chatbot UI" constant APP_TITLE_TEMPLATE (line 17) | const APP_TITLE_TEMPLATE = "%s - Chatbot UI" constant APP_DESCRIPTION (line 18) | const APP_DESCRIPTION = "Chabot UI PWA!" type RootLayoutProps (line 20) | interface RootLayoutProps { function RootLayout (line 69) | async function RootLayout({ FILE: app/[locale]/loading.tsx function Loading (line 3) | function Loading() { FILE: app/[locale]/login/page.tsx function Login (line 17) | async function Login({ FILE: app/[locale]/login/password/page.tsx function ChangePasswordPage (line 8) | function ChangePasswordPage() { FILE: app/[locale]/page.tsx function HomePage (line 8) | function HomePage() { FILE: app/[locale]/setup/page.tsx function SetupPage (line 25) | function SetupPage() { FILE: app/api/assistants/openai/route.ts function GET (line 7) | async function GET() { FILE: app/api/chat/anthropic/route.ts function POST (line 11) | async function POST(request: NextRequest) { FILE: app/api/chat/azure/route.ts function POST (line 9) | async function POST(request: Request) { FILE: app/api/chat/custom/route.ts function POST (line 11) | async function POST(request: Request) { FILE: app/api/chat/google/route.ts function POST (line 7) | async function POST(request: Request) { FILE: app/api/chat/groq/route.ts function POST (line 8) | async function POST(request: Request) { FILE: app/api/chat/mistral/route.ts function POST (line 9) | async function POST(request: Request) { FILE: app/api/chat/openai/route.ts function POST (line 10) | async function POST(request: Request) { FILE: app/api/chat/openrouter/route.ts function POST (line 10) | async function POST(request: Request) { FILE: app/api/chat/perplexity/route.ts function POST (line 8) | async function POST(request: Request) { FILE: app/api/chat/tools/route.ts function POST (line 9) | async function POST(request: Request) { FILE: app/api/command/route.ts function POST (line 7) | async function POST(request: Request) { FILE: app/api/keys/route.ts function GET (line 6) | async function GET() { FILE: app/api/retrieval/process/docx/route.ts function POST (line 10) | async function POST(req: Request) { FILE: app/api/retrieval/process/route.ts function POST (line 16) | async function POST(req: Request) { FILE: app/api/retrieval/retrieve/route.ts function POST (line 7) | async function POST(request: Request) { FILE: app/api/username/available/route.ts function POST (line 6) | async function POST(request: Request) { FILE: app/api/username/get/route.ts function POST (line 6) | async function POST(request: Request) { FILE: app/auth/callback/route.ts function GET (line 5) | async function GET(request: Request) { FILE: components/chat/assistant-picker.tsx type AssistantPickerProps (line 8) | interface AssistantPickerProps {} FILE: components/chat/chat-command-input.tsx type ChatCommandInputProps (line 9) | interface ChatCommandInputProps {} FILE: components/chat/chat-files-display.tsx type ChatFilesDisplayProps (line 25) | interface ChatFilesDisplayProps {} FILE: components/chat/chat-help.tsx type ChatHelpProps (line 20) | interface ChatHelpProps {} FILE: components/chat/chat-hooks/use-select-file-handler.tsx constant ACCEPTED_FILE_TYPES (line 8) | const ACCEPTED_FILE_TYPES = [ FILE: components/chat/chat-input.tsx type ChatInputProps (line 24) | interface ChatInputProps {} FILE: components/chat/chat-messages.tsx type ChatMessagesProps (line 7) | interface ChatMessagesProps {} FILE: components/chat/chat-retrieval-settings.tsx type ChatRetrievalSettingsProps (line 15) | interface ChatRetrievalSettingsProps {} FILE: components/chat/chat-scroll-buttons.tsx type ChatScrollButtonsProps (line 7) | interface ChatScrollButtonsProps { FILE: components/chat/chat-secondary-buttons.tsx type ChatSecondaryButtonsProps (line 7) | interface ChatSecondaryButtonsProps {} FILE: components/chat/chat-settings.tsx type ChatSettingsProps (line 11) | interface ChatSettingsProps {} FILE: components/chat/chat-ui.tsx type ChatUIProps (line 22) | interface ChatUIProps {} FILE: components/chat/file-picker.tsx type FilePickerProps (line 7) | interface FilePickerProps { FILE: components/chat/prompt-picker.tsx type PromptPickerProps (line 10) | interface PromptPickerProps {} FILE: components/chat/quick-setting-option.tsx type QuickSettingOptionProps (line 9) | interface QuickSettingOptionProps { FILE: components/chat/quick-settings.tsx type QuickSettingsProps (line 25) | interface QuickSettingsProps {} FILE: components/chat/tool-picker.tsx type ToolPickerProps (line 7) | interface ToolPickerProps {} FILE: components/icons/anthropic-svg.tsx type AnthropicSVGProps (line 3) | interface AnthropicSVGProps { FILE: components/icons/chatbotui-svg.tsx type ChatbotUISVGProps (line 3) | interface ChatbotUISVGProps { FILE: components/icons/google-svg.tsx type GoogleSVGProps (line 3) | interface GoogleSVGProps { FILE: components/icons/openai-svg.tsx type OpenAISVGProps (line 3) | interface OpenAISVGProps { FILE: components/messages/message-actions.tsx constant MESSAGE_ICON_SIZE (line 6) | const MESSAGE_ICON_SIZE = 18 type MessageActionsProps (line 8) | interface MessageActionsProps { FILE: components/messages/message-codeblock.tsx type MessageCodeBlockProps (line 8) | interface MessageCodeBlockProps { type languageMap (line 13) | interface languageMap { FILE: components/messages/message-markdown.tsx type MessageMarkdownProps (line 7) | interface MessageMarkdownProps { method p (line 17) | p({ children }) { method img (line 20) | img({ node, ...props }) { method code (line 23) | code({ node, className, children, ...props }) { FILE: components/messages/message-replies.tsx type MessageRepliesProps (line 14) | interface MessageRepliesProps {} FILE: components/messages/message.tsx constant ICON_SIZE (line 27) | const ICON_SIZE = 32 type MessageProps (line 29) | interface MessageProps { FILE: components/models/model-icon.tsx type ModelIconProps (line 14) | interface ModelIconProps extends HTMLAttributes { FILE: components/models/model-option.tsx type ModelOptionProps (line 7) | interface ModelOptionProps { FILE: components/models/model-select.tsx type ModelSelectProps (line 16) | interface ModelSelectProps { FILE: components/setup/api-step.tsx type APIStepProps (line 6) | interface APIStepProps { FILE: components/setup/finish-step.tsx type FinishStepProps (line 3) | interface FinishStepProps { FILE: components/setup/profile-step.tsx type ProfileStepProps (line 17) | interface ProfileStepProps { FILE: components/setup/step-container.tsx constant SETUP_STEP_COUNT (line 12) | const SETUP_STEP_COUNT = 3 type StepContainerProps (line 14) | interface StepContainerProps { FILE: components/sidebar/items/all/sidebar-create-item.tsx type SidebarCreateItemProps (line 32) | interface SidebarCreateItemProps { FILE: components/sidebar/items/all/sidebar-delete-item.tsx type SidebarDeleteItemProps (line 25) | interface SidebarDeleteItemProps { FILE: components/sidebar/items/all/sidebar-display-item.tsx type SidebarItemProps (line 10) | interface SidebarItemProps { FILE: components/sidebar/items/all/sidebar-update-item.tsx type SidebarUpdateItemProps (line 88) | interface SidebarUpdateItemProps { FILE: components/sidebar/items/assistants/assistant-item.tsx type AssistantItemProps (line 16) | interface AssistantItemProps { FILE: components/sidebar/items/assistants/assistant-retrieval-select.tsx type AssistantRetrievalSelectProps (line 18) | interface AssistantRetrievalSelectProps { type AssistantRetrievalOptionItemProps (line 156) | interface AssistantRetrievalOptionItemProps { FILE: components/sidebar/items/assistants/assistant-tool-select.tsx type AssistantToolSelectProps (line 17) | interface AssistantToolSelectProps { type AssistantToolItemProps (line 128) | interface AssistantToolItemProps { FILE: components/sidebar/items/assistants/create-assistant.tsx type CreateAssistantProps (line 13) | interface CreateAssistantProps { FILE: components/sidebar/items/chat/chat-item.tsx type ChatItemProps (line 15) | interface ChatItemProps { FILE: components/sidebar/items/chat/delete-chat.tsx type DeleteChatProps (line 19) | interface DeleteChatProps { FILE: components/sidebar/items/chat/update-chat.tsx type UpdateChatProps (line 18) | interface UpdateChatProps { FILE: components/sidebar/items/collections/collection-file-select.tsx type CollectionFileSelectProps (line 14) | interface CollectionFileSelectProps { type CollectionFileItemProps (line 122) | interface CollectionFileItemProps { FILE: components/sidebar/items/collections/collection-item.tsx type CollectionItemProps (line 11) | interface CollectionItemProps { FILE: components/sidebar/items/collections/create-collection.tsx type CreateCollectionProps (line 11) | interface CreateCollectionProps { FILE: components/sidebar/items/files/create-file.tsx type CreateFileProps (line 10) | interface CreateFileProps { FILE: components/sidebar/items/files/file-item.tsx type FileItemProps (line 10) | interface FileItemProps { FILE: components/sidebar/items/folders/delete-folder.tsx type DeleteFolderProps (line 20) | interface DeleteFolderProps { FILE: components/sidebar/items/folders/folder-item.tsx type FolderProps (line 9) | interface FolderProps { FILE: components/sidebar/items/folders/update-folder.tsx type UpdateFolderProps (line 18) | interface UpdateFolderProps { FILE: components/sidebar/items/models/create-model.tsx type CreateModelProps (line 9) | interface CreateModelProps { FILE: components/sidebar/items/models/model-item.tsx type ModelItemProps (line 9) | interface ModelItemProps { FILE: components/sidebar/items/presets/create-preset.tsx type CreatePresetProps (line 10) | interface CreatePresetProps { FILE: components/sidebar/items/presets/preset-item.tsx type PresetItemProps (line 11) | interface PresetItemProps { FILE: components/sidebar/items/prompts/create-prompt.tsx type CreatePromptProps (line 10) | interface CreatePromptProps { FILE: components/sidebar/items/prompts/prompt-item.tsx type PromptItemProps (line 10) | interface PromptItemProps { FILE: components/sidebar/items/tools/create-tool.tsx type CreateToolProps (line 11) | interface CreateToolProps { FILE: components/sidebar/items/tools/tool-item.tsx type ToolItemProps (line 11) | interface ToolItemProps { FILE: components/sidebar/sidebar-content.tsx type SidebarContentProps (line 8) | interface SidebarContentProps { FILE: components/sidebar/sidebar-create-buttons.tsx type SidebarCreateButtonsProps (line 16) | interface SidebarCreateButtonsProps { FILE: components/sidebar/sidebar-data-list.tsx type SidebarDataListProps (line 25) | interface SidebarDataListProps { FILE: components/sidebar/sidebar-search.tsx type SidebarSearchProps (line 5) | interface SidebarSearchProps { FILE: components/sidebar/sidebar-switch-item.tsx type SidebarSwitchItemProps (line 6) | interface SidebarSwitchItemProps { FILE: components/sidebar/sidebar-switcher.tsx constant SIDEBAR_ICON_SIZE (line 18) | const SIDEBAR_ICON_SIZE = 28 type SidebarSwitcherProps (line 20) | interface SidebarSwitcherProps { FILE: components/sidebar/sidebar.tsx type SidebarProps (line 11) | interface SidebarProps { FILE: components/ui/advanced-settings.tsx type AdvancedSettingsProps (line 9) | interface AdvancedSettingsProps { FILE: components/ui/badge.tsx type BadgeProps (line 26) | interface BadgeProps function Badge (line 30) | function Badge({ className, variant, ...props }: BadgeProps) { FILE: components/ui/brand.tsx type BrandProps (line 7) | interface BrandProps { FILE: components/ui/button.tsx type ButtonProps (line 36) | interface ButtonProps FILE: components/ui/calendar.tsx type CalendarProps (line 10) | type CalendarProps = React.ComponentProps function Calendar (line 12) | function Calendar({ FILE: components/ui/chat-settings-form.tsx type ChatSettingsFormProps (line 23) | interface ChatSettingsFormProps { type AdvancedContentProps (line 89) | interface AdvancedContentProps { function findOpenRouterModel (line 107) | function findOpenRouterModel(modelId: string) { FILE: components/ui/command.tsx type CommandDialogProps (line 26) | interface CommandDialogProps extends DialogProps {} FILE: components/ui/dashboard.tsx constant SIDEBAR_WIDTH (line 16) | const SIDEBAR_WIDTH = 350 type DashboardProps (line 18) | interface DashboardProps { FILE: components/ui/file-icon.tsx type FileIconProps (line 13) | interface FileIconProps { FILE: components/ui/file-preview.tsx type FilePreviewProps (line 10) | interface FilePreviewProps { FILE: components/ui/form.tsx type FormFieldContextValue (line 18) | type FormFieldContextValue< type FormItemContextValue (line 65) | type FormItemContextValue = { FILE: components/ui/image-picker.tsx type ImagePickerProps (line 6) | interface ImagePickerProps { FILE: components/ui/input.tsx type InputProps (line 5) | interface InputProps FILE: components/ui/limit-display.tsx type LimitDisplayProps (line 3) | interface LimitDisplayProps { FILE: components/ui/screen-loader.tsx type ScreenLoaderProps (line 4) | interface ScreenLoaderProps {} FILE: components/ui/sheet.tsx type SheetContentProps (line 51) | interface SheetContentProps FILE: components/ui/skeleton.tsx function Skeleton (line 3) | function Skeleton({ FILE: components/ui/sonner.tsx type ToasterProps (line 6) | type ToasterProps = React.ComponentProps FILE: components/ui/textarea-autosize.tsx type TextareaAutosizeProps (line 5) | interface TextareaAutosizeProps { FILE: components/ui/textarea.tsx type TextareaProps (line 5) | interface TextareaProps FILE: components/ui/toast.tsx type ToastProps (line 113) | type ToastProps = React.ComponentPropsWithoutRef type ToastActionElement (line 115) | type ToastActionElement = React.ReactElement FILE: components/ui/toaster.tsx function Toaster (line 13) | function Toaster() { FILE: components/ui/use-toast.ts constant TOAST_LIMIT (line 6) | const TOAST_LIMIT = 1 constant TOAST_REMOVE_DELAY (line 7) | const TOAST_REMOVE_DELAY = 1000000 type ToasterToast (line 9) | type ToasterToast = ToastProps & { function genId (line 25) | function genId() { type ActionType (line 30) | type ActionType = typeof actionTypes type Action (line 32) | type Action = type State (line 50) | interface State { function dispatch (line 131) | function dispatch(action: Action) { type Toast (line 138) | type Toast = Omit function toast (line 140) | function toast({ ...props }: Toast) { function useToast (line 169) | function useToast() { FILE: components/ui/with-tooltip.tsx type WithTooltipProps (line 9) | interface WithTooltipProps { FILE: components/utility/alerts.tsx type AlertsProps (line 10) | interface AlertsProps {} FILE: components/utility/announcements.tsx type AnnouncementsProps (line 12) | interface AnnouncementsProps {} FILE: components/utility/change-password.tsx type ChangePasswordProps (line 17) | interface ChangePasswordProps {} FILE: components/utility/command-k.tsx type CommandKProps (line 8) | interface CommandKProps {} FILE: components/utility/drawing-canvas.tsx type DrawingCanvasProps (line 5) | interface DrawingCanvasProps { FILE: components/utility/global-state.tsx type GlobalStateProps (line 31) | interface GlobalStateProps { FILE: components/utility/import.tsx type ImportProps (line 24) | interface ImportProps {} FILE: components/utility/profile-settings.tsx type ProfileSettingsProps (line 46) | interface ProfileSettingsProps {} FILE: components/utility/theme-switcher.tsx type ThemeSwitcherProps (line 7) | interface ThemeSwitcherProps {} FILE: components/utility/translations-provider.tsx function TranslationsProvider (line 7) | function TranslationsProvider({ FILE: components/utility/workspace-switcher.tsx type WorkspaceSwitcherProps (line 20) | interface WorkspaceSwitcherProps {} FILE: components/workspace/assign-workspaces.tsx type AssignWorkspaces (line 14) | interface AssignWorkspaces { type WorkspaceItemProps (line 124) | interface WorkspaceItemProps { FILE: components/workspace/delete-workspace.tsx type DeleteWorkspaceProps (line 19) | interface DeleteWorkspaceProps { FILE: components/workspace/workspace-settings.tsx type WorkspaceSettingsProps (line 31) | interface WorkspaceSettingsProps {} FILE: context/context.tsx type ChatbotUIContext (line 15) | interface ChatbotUIContext { FILE: db/limits.ts constant PROFILE_BIO_MAX (line 2) | const PROFILE_BIO_MAX = 500 constant PROFILE_DISPLAY_NAME_MAX (line 3) | const PROFILE_DISPLAY_NAME_MAX = 100 constant PROFILE_CONTEXT_MAX (line 4) | const PROFILE_CONTEXT_MAX = 1500 constant PROFILE_USERNAME_MIN (line 5) | const PROFILE_USERNAME_MIN = 3 constant PROFILE_USERNAME_MAX (line 6) | const PROFILE_USERNAME_MAX = 25 constant WORKSPACE_NAME_MAX (line 9) | const WORKSPACE_NAME_MAX = 100 constant WORKSPACE_DESCRIPTION_MAX (line 10) | const WORKSPACE_DESCRIPTION_MAX = 500 constant WORKSPACE_INSTRUCTIONS_MAX (line 11) | const WORKSPACE_INSTRUCTIONS_MAX = 1500 constant PRESET_NAME_MAX (line 16) | const PRESET_NAME_MAX = 100 constant PRESET_DESCRIPTION_MAX (line 17) | const PRESET_DESCRIPTION_MAX = 500 constant PRESET_PROMPT_MAX (line 18) | const PRESET_PROMPT_MAX = 100000 constant PROMPT_NAME_MAX (line 21) | const PROMPT_NAME_MAX = 100 constant PROMPT_CONTENT_MAX (line 22) | const PROMPT_CONTENT_MAX = 100000 constant FILE_NAME_MAX (line 25) | const FILE_NAME_MAX = 100 constant FILE_DESCRIPTION_MAX (line 26) | const FILE_DESCRIPTION_MAX = 500 constant COLLECTION_NAME_MAX (line 29) | const COLLECTION_NAME_MAX = 100 constant COLLECTION_DESCRIPTION_MAX (line 30) | const COLLECTION_DESCRIPTION_MAX = 500 constant ASSISTANT_NAME_MAX (line 33) | const ASSISTANT_NAME_MAX = 100 constant ASSISTANT_DESCRIPTION_MAX (line 34) | const ASSISTANT_DESCRIPTION_MAX = 500 constant ASSISTANT_PROMPT_MAX (line 35) | const ASSISTANT_PROMPT_MAX = 100000 constant TOOL_NAME_MAX (line 38) | const TOOL_NAME_MAX = 100 constant TOOL_DESCRIPTION_MAX (line 39) | const TOOL_DESCRIPTION_MAX = 500 constant MODEL_NAME_MAX (line 42) | const MODEL_NAME_MAX = 100 constant MODEL_DESCRIPTION_MAX (line 43) | const MODEL_DESCRIPTION_MAX = 500 FILE: db/messages.ts function deleteMessagesIncludingAndAfter (line 86) | async function deleteMessagesIncludingAndAfter( FILE: lib/build-prompt.ts function buildFinalMessages (line 33) | async function buildFinalMessages( function buildRetrievalText (line 178) | function buildRetrievalText(fileItems: Tables<"file_items">[]) { function adaptSingleMessageForGoogleGemini (line 186) | function adaptSingleMessageForGoogleGemini(message: any) { function adaptMessagesForGeminiVision (line 225) | function adaptMessagesForGeminiVision( function adaptMessagesForGoogleGemini (line 245) | async function adaptMessagesForGoogleGemini( FILE: lib/chat-setting-limits.ts type ChatSettingLimits (line 3) | type ChatSettingLimits = { constant CHAT_SETTING_LIMITS (line 10) | const CHAT_SETTING_LIMITS: Record = { FILE: lib/consume-stream.ts function consumeReadableStream (line 1) | async function consumeReadableStream( FILE: lib/envs.ts function isUsingEnvironmentKey (line 4) | function isUsingEnvironmentKey(type: EnvKey) { FILE: lib/export-old-data.ts function exportLocalStorageAsJSON (line 1) | function exportLocalStorageAsJSON() { FILE: lib/generate-local-embedding.ts function generateLocalEmbedding (line 3) | async function generateLocalEmbedding(content: string) { FILE: lib/hooks/use-copy-to-clipboard.tsx type useCopyToClipboardProps (line 3) | interface useCopyToClipboardProps { function useCopyToClipboard (line 7) | function useCopyToClipboard({ FILE: lib/i18n.ts function initTranslations (line 6) | async function initTranslations( FILE: lib/models/llm/anthropic-llm-list.ts constant ANTHROPIC_PLATFORM_LINK (line 3) | const ANTHROPIC_PLATFORM_LINK = constant CLAUDE_2 (line 9) | const CLAUDE_2: LLM = { constant CLAUDE_INSTANT (line 25) | const CLAUDE_INSTANT: LLM = { constant CLAUDE_3_HAIKU (line 41) | const CLAUDE_3_HAIKU: LLM = { constant CLAUDE_3_SONNET (line 57) | const CLAUDE_3_SONNET: LLM = { constant CLAUDE_3_OPUS (line 73) | const CLAUDE_3_OPUS: LLM = { constant CLAUDE_3_5_SONNET (line 89) | const CLAUDE_3_5_SONNET: LLM = { constant ANTHROPIC_LLM_LIST (line 104) | const ANTHROPIC_LLM_LIST: LLM[] = [ FILE: lib/models/llm/google-llm-list.ts constant GOOGLE_PLATORM_LINK (line 3) | const GOOGLE_PLATORM_LINK = "https://ai.google.dev/" constant GEMINI_1_5_FLASH (line 8) | const GEMINI_1_5_FLASH: LLM = { constant GEMINI_1_5_PRO (line 18) | const GEMINI_1_5_PRO: LLM = { constant GEMINI_PRO (line 28) | const GEMINI_PRO: LLM = { constant GEMINI_PRO_VISION (line 38) | const GEMINI_PRO_VISION: LLM = { constant GOOGLE_LLM_LIST (line 47) | const GOOGLE_LLM_LIST: LLM[] = [GEMINI_PRO, GEMINI_PRO_VISION, GEMINI_1_... FILE: lib/models/llm/groq-llm-list.ts constant GROQ_PLATORM_LINK (line 3) | const GROQ_PLATORM_LINK = "https://groq.com/" constant MIXTRAL_8X7B (line 35) | const MIXTRAL_8X7B: LLM = { constant GEMMA_7B_IT (line 50) | const GEMMA_7B_IT: LLM = { constant GROQ_LLM_LIST (line 65) | const GROQ_LLM_LIST: LLM[] = [ FILE: lib/models/llm/llm-list.ts constant LLM_LIST (line 9) | const LLM_LIST: LLM[] = [ constant LLM_LIST_MAP (line 18) | const LLM_LIST_MAP: Record = { FILE: lib/models/llm/mistral-llm-list.ts constant MISTRAL_PLATORM_LINK (line 3) | const MISTRAL_PLATORM_LINK = "https://docs.mistral.ai/" constant MISTRAL_7B (line 8) | const MISTRAL_7B: LLM = { constant MIXTRAL (line 18) | const MIXTRAL: LLM = { constant MISTRAL_MEDIUM (line 34) | const MISTRAL_MEDIUM: LLM = { constant MISTRAL_LARGE (line 50) | const MISTRAL_LARGE: LLM = { constant MISTRAL_LLM_LIST (line 65) | const MISTRAL_LLM_LIST: LLM[] = [ FILE: lib/models/llm/openai-llm-list.ts constant OPENAI_PLATORM_LINK (line 3) | const OPENAI_PLATORM_LINK = "https://platform.openai.com/docs/overview" constant GPT4 (line 53) | const GPT4: LLM = { constant OPENAI_LLM_LIST (line 84) | const OPENAI_LLM_LIST: LLM[] = [ FILE: lib/models/llm/perplexity-llm-list.ts constant PERPLEXITY_PLATORM_LINK (line 3) | const PERPLEXITY_PLATORM_LINK = constant MIXTRAL_8X7B_INSTRUCT (line 11) | const MIXTRAL_8X7B_INSTRUCT: LLM = { constant MISTRAL_7B_INSTRUCT (line 21) | const MISTRAL_7B_INSTRUCT: LLM = { constant CODELLAMA_70B_INSTRUCT (line 31) | const CODELLAMA_70B_INSTRUCT: LLM = { constant PERPLEXITY_SONAR_SMALL_CHAT_7B (line 41) | const PERPLEXITY_SONAR_SMALL_CHAT_7B: LLM = { constant PERPLEXITY_SONAR_SMALL_ONLINE_7B (line 51) | const PERPLEXITY_SONAR_SMALL_ONLINE_7B: LLM = { constant PERPLEXITY_LLM_LIST (line 80) | const PERPLEXITY_LLM_LIST: LLM[] = [ FILE: lib/openapi-conversion.ts type OpenAPIData (line 3) | interface OpenAPIData { FILE: lib/retrieval/processing/index.ts constant CHUNK_SIZE (line 8) | const CHUNK_SIZE = 4000 constant CHUNK_OVERLAP (line 9) | const CHUNK_OVERLAP = 200 FILE: lib/server/server-chat-helpers.ts function getServerProfile (line 6) | async function getServerProfile() { function addApiKeysToProfile (line 40) | function addApiKeysToProfile(profile: Tables<"profiles">) { function checkApiKey (line 69) | function checkApiKey(apiKey: string | null, keyName: string) { FILE: lib/server/server-utils.ts function createResponse (line 1) | function createResponse(data: object, status: number): Response { FILE: lib/supabase/middleware.ts method get (line 17) | get(name: string) { method set (line 20) | set(name: string, value: string, options: CookieOptions) { method remove (line 38) | remove(name: string, options: CookieOptions) { FILE: lib/supabase/server.ts method get (line 10) | get(name: string) { method set (line 13) | set(name: string, value: string, options: CookieOptions) { method remove (line 22) | remove(name: string, options: CookieOptions) { FILE: lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { function formatDate (line 8) | function formatDate(input: string | number | Date): string { function getMediaTypeFromDataURL (line 17) | function getMediaTypeFromDataURL(dataURL: string): string | null { function getBase64FromDataURL (line 22) | function getBase64FromDataURL(dataURL: string): string | null { FILE: middleware.ts function middleware (line 6) | async function middleware(request: NextRequest) { FILE: supabase/migrations/20240108234540_setup.sql function update_updated_at_column (line 8) | CREATE OR REPLACE FUNCTION update_updated_at_column() function delete_message_including_and_after (line 17) | CREATE OR REPLACE FUNCTION delete_message_including_and_after( function create_duplicate_messages_for_new_chat (line 30) | CREATE OR REPLACE FUNCTION create_duplicate_messages_for_new_chat(old_ch... function delete_storage_object (line 47) | CREATE OR REPLACE FUNCTION delete_storage_object(bucket TEXT, object TEX... function delete_storage_object_from_bucket (line 70) | CREATE OR REPLACE FUNCTION delete_storage_object_from_bucket(bucket_name... FILE: supabase/migrations/20240108234541_add_profiles.sql type profiles (line 5) | CREATE TABLE IF NOT EXISTS profiles ( type idx_profiles_user_id (line 42) | CREATE INDEX idx_profiles_user_id ON profiles (user_id) FILE: supabase/migrations/20240108234542_add_workspaces.sql type workspaces (line 5) | CREATE TABLE IF NOT EXISTS workspaces ( type idx_workspaces_user_id (line 35) | CREATE INDEX idx_workspaces_user_id ON workspaces (user_id) function prevent_home_field_update (line 53) | CREATE OR REPLACE FUNCTION prevent_home_field_update() function prevent_home_workspace_deletion (line 71) | CREATE OR REPLACE FUNCTION prevent_home_workspace_deletion() type idx_unique_home_workspace_per_user (line 89) | CREATE UNIQUE INDEX idx_unique_home_workspace_per_user FILE: supabase/migrations/20240108234543_add_folders.sql type folders (line 5) | CREATE TABLE IF NOT EXISTS folders ( type folders_user_id_idx (line 25) | CREATE INDEX folders_user_id_idx ON folders(user_id) type folders_workspace_id_idx (line 26) | CREATE INDEX folders_workspace_id_idx ON folders(workspace_id) FILE: supabase/migrations/20240108234544_add_files.sql type files (line 5) | CREATE TABLE IF NOT EXISTS files ( type files_user_id_idx (line 33) | CREATE INDEX files_user_id_idx ON files(user_id) function delete_old_file (line 51) | CREATE OR REPLACE FUNCTION delete_old_file() function public (line 92) | CREATE OR REPLACE FUNCTION public.non_private_file_exists(p_name text) FILE: supabase/migrations/20240108234545_add_file_items.sql type file_items (line 3) | create table file_items ( type file_items_file_id_idx (line 27) | CREATE INDEX file_items_file_id_idx ON file_items(file_id) type file_items_embedding_idx (line 29) | CREATE INDEX file_items_embedding_idx ON file_items type file_items_local_embedding_idx (line 32) | CREATE INDEX file_items_local_embedding_idx ON file_items function match_file_items_local (line 60) | create function match_file_items_local ( function match_file_items_openai (line 89) | create function match_file_items_openai ( FILE: supabase/migrations/20240108234546_add_presets.sql type presets (line 5) | CREATE TABLE IF NOT EXISTS presets ( type presets_user_id_idx (line 36) | CREATE INDEX presets_user_id_idx ON presets(user_id) type preset_workspaces (line 63) | CREATE TABLE IF NOT EXISTS preset_workspaces ( type preset_workspaces_user_id_idx (line 78) | CREATE INDEX preset_workspaces_user_id_idx ON preset_workspaces(user_id) type preset_workspaces_preset_id_idx (line 79) | CREATE INDEX preset_workspaces_preset_id_idx ON preset_workspaces(preset... type preset_workspaces_workspace_id_idx (line 80) | CREATE INDEX preset_workspaces_workspace_id_idx ON preset_workspaces(wor... FILE: supabase/migrations/20240108234547_add_assistants.sql type assistants (line 5) | CREATE TABLE IF NOT EXISTS assistants ( type assistants_user_id_idx (line 37) | CREATE INDEX assistants_user_id_idx ON assistants(user_id) function delete_old_assistant_image (line 55) | CREATE OR REPLACE FUNCTION delete_old_assistant_image() function public (line 96) | CREATE OR REPLACE FUNCTION public.non_private_assistant_exists(p_name text) FILE: supabase/migrations/20240108234548_add_chats.sql type chats (line 5) | CREATE TABLE IF NOT EXISTS chats ( type idx_chats_user_id (line 37) | CREATE INDEX idx_chats_user_id ON chats (user_id) type idx_chats_workspace_id (line 38) | CREATE INDEX idx_chats_workspace_id ON chats (workspace_id) type chat_files (line 65) | CREATE TABLE IF NOT EXISTS chat_files ( type idx_chat_files_chat_id (line 80) | CREATE INDEX idx_chat_files_chat_id ON chat_files (chat_id) FILE: supabase/migrations/20240108234549_add_messages.sql type messages (line 5) | CREATE TABLE IF NOT EXISTS messages ( type idx_messages_chat_id (line 30) | CREATE INDEX idx_messages_chat_id ON messages (chat_id) function delete_old_message_images (line 50) | CREATE OR REPLACE FUNCTION delete_old_message_images() type message_file_items (line 142) | CREATE TABLE IF NOT EXISTS message_file_items ( type idx_message_file_items_message_id (line 157) | CREATE INDEX idx_message_file_items_message_id ON message_file_items (me... FILE: supabase/migrations/20240108234550_add_prompts.sql type prompts (line 5) | CREATE TABLE IF NOT EXISTS prompts ( type prompts_user_id_idx (line 29) | CREATE INDEX prompts_user_id_idx ON prompts(user_id) type prompt_workspaces (line 56) | CREATE TABLE IF NOT EXISTS prompt_workspaces ( type prompt_workspaces_user_id_idx (line 71) | CREATE INDEX prompt_workspaces_user_id_idx ON prompt_workspaces(user_id) type prompt_workspaces_prompt_id_idx (line 72) | CREATE INDEX prompt_workspaces_prompt_id_idx ON prompt_workspaces(prompt... type prompt_workspaces_workspace_id_idx (line 73) | CREATE INDEX prompt_workspaces_workspace_id_idx ON prompt_workspaces(wor... FILE: supabase/migrations/20240108234551_add_collections.sql type collections (line 5) | CREATE TABLE IF NOT EXISTS collections ( type collections_user_id_idx (line 29) | CREATE INDEX collections_user_id_idx ON collections(user_id) type collection_workspaces (line 56) | CREATE TABLE IF NOT EXISTS collection_workspaces ( type collection_workspaces_user_id_idx (line 71) | CREATE INDEX collection_workspaces_user_id_idx ON collection_workspaces(... type collection_workspaces_collection_id_idx (line 72) | CREATE INDEX collection_workspaces_collection_id_idx ON collection_works... type collection_workspaces_workspace_id_idx (line 73) | CREATE INDEX collection_workspaces_workspace_id_idx ON collection_worksp... FILE: supabase/migrations/20240115171510_add_assistant_files.sql type assistant_files (line 5) | CREATE TABLE IF NOT EXISTS assistant_files ( type assistant_files_user_id_idx (line 20) | CREATE INDEX assistant_files_user_id_idx ON assistant_files(user_id) type assistant_files_assistant_id_idx (line 21) | CREATE INDEX assistant_files_assistant_id_idx ON assistant_files(assista... type assistant_files_file_id_idx (line 22) | CREATE INDEX assistant_files_file_id_idx ON assistant_files(file_id) FILE: supabase/migrations/20240115171524_add_tools.sql type tools (line 5) | CREATE TABLE IF NOT EXISTS tools ( type tools_user_id_idx (line 31) | CREATE INDEX tools_user_id_idx ON tools(user_id) type tool_workspaces (line 58) | CREATE TABLE IF NOT EXISTS tool_workspaces ( type tool_workspaces_user_id_idx (line 73) | CREATE INDEX tool_workspaces_user_id_idx ON tool_workspaces(user_id) type tool_workspaces_tool_id_idx (line 74) | CREATE INDEX tool_workspaces_tool_id_idx ON tool_workspaces(tool_id) type tool_workspaces_workspace_id_idx (line 75) | CREATE INDEX tool_workspaces_workspace_id_idx ON tool_workspaces(workspa... FILE: supabase/migrations/20240115172125_add_assistant_tools.sql type assistant_tools (line 5) | CREATE TABLE IF NOT EXISTS assistant_tools ( type assistant_tools_user_id_idx (line 20) | CREATE INDEX assistant_tools_user_id_idx ON assistant_tools(user_id) type assistant_tools_assistant_id_idx (line 21) | CREATE INDEX assistant_tools_assistant_id_idx ON assistant_tools(assista... type assistant_tools_tool_id_idx (line 22) | CREATE INDEX assistant_tools_tool_id_idx ON assistant_tools(tool_id) FILE: supabase/migrations/20240125194719_add_custom_models.sql type models (line 5) | CREATE TABLE IF NOT EXISTS models ( type models_user_id_idx (line 32) | CREATE INDEX models_user_id_idx ON models(user_id) type model_workspaces (line 59) | CREATE TABLE IF NOT EXISTS model_workspaces ( type model_workspaces_user_id_idx (line 74) | CREATE INDEX model_workspaces_user_id_idx ON model_workspaces(user_id) type model_workspaces_model_id_idx (line 75) | CREATE INDEX model_workspaces_model_id_idx ON model_workspaces(model_id) type model_workspaces_workspace_id_idx (line 76) | CREATE INDEX model_workspaces_workspace_id_idx ON model_workspaces(works... FILE: supabase/migrations/20240129232644_add_workspace_images.sql function delete_old_workspace_image (line 12) | CREATE OR REPLACE FUNCTION delete_old_workspace_image() function public (line 46) | CREATE OR REPLACE FUNCTION public.non_private_workspace_exists(p_name text) FILE: supabase/types.ts type Json (line 1) | type Json = type Database (line 9) | type Database = { type PublicSchema (line 1742) | type PublicSchema = Database[Extract] type Tables (line 1744) | type Tables< type TablesInsert (line 1769) | type TablesInsert< type TablesUpdate (line 1790) | type TablesUpdate< type Enums (line 1811) | type Enums< FILE: types/announcement.ts type Announcement (line 1) | interface Announcement { FILE: types/assistant-retrieval-item.ts type AssistantRetrievalItem (line 1) | interface AssistantRetrievalItem { FILE: types/chat-file.tsx type ChatFile (line 1) | interface ChatFile { FILE: types/chat-message.ts type ChatMessage (line 3) | interface ChatMessage { FILE: types/chat.ts type ChatSettings (line 4) | interface ChatSettings { type ChatPayload (line 14) | interface ChatPayload { type ChatAPIPayload (line 23) | interface ChatAPIPayload { FILE: types/collection-file.ts type CollectionFile (line 1) | interface CollectionFile { FILE: types/content-type.ts type ContentType (line 1) | type ContentType = FILE: types/error-response.ts type ErrorResponse (line 3) | type ErrorResponse = { FILE: types/file-item-chunk.ts type FileItemChunk (line 1) | type FileItemChunk = { FILE: types/images/assistant-image.ts type AssistantImage (line 1) | interface AssistantImage { FILE: types/images/message-image.ts type MessageImage (line 1) | interface MessageImage { FILE: types/images/workspace-image.ts type WorkspaceImage (line 1) | interface WorkspaceImage { FILE: types/key-type.ts type EnvKey (line 1) | type EnvKey = FILE: types/llms.ts type LLMID (line 3) | type LLMID = type OpenAILLMID (line 12) | type OpenAILLMID = type GoogleLLMID (line 20) | type GoogleLLMID = type AnthropicLLMID (line 27) | type AnthropicLLMID = type MistralLLMID (line 36) | type MistralLLMID = type GroqLLMID (line 42) | type GroqLLMID = type PerplexityLLMID (line 49) | type PerplexityLLMID = type LLM (line 64) | interface LLM { type OpenRouterLLM (line 79) | interface OpenRouterLLM extends LLM { FILE: types/models.ts type ModelProvider (line 1) | type ModelProvider = FILE: types/sharing.ts type Sharing (line 1) | type Sharing = "private" | "public" | "unlisted" FILE: types/sidebar-data.ts type DataListType (line 3) | type DataListType = type DataItemType (line 13) | type DataItemType = FILE: types/valid-keys.ts type VALID_ENV_KEYS (line 1) | enum VALID_ENV_KEYS {