Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/braincrew-lab/langconnect-client
/ functions
Functions
383 in github.com/braincrew-lab/langconnect-client
⨍
Functions
383
◇
Types & classes
54
↳
Endpoints
16
↓ 125 callers
Method
json
(self)
tests/conftest.py:43
↓ 97 callers
Function
cn
(...inputs: ClassValue[])
next-connect-ui/src/lib/utils.ts:4
↓ 82 callers
Method
get
Fetch a single chunk by its UUID, verifying collection ownership.
langconnect/database/collections.py:451
↓ 59 callers
Method
post
(self, *args, **kwargs)
tests/conftest.py:57
↓ 31 callers
Function
get_async_test_client
Get an async client.
tests/unit_tests/fixtures.py:31
↓ 16 callers
Method
delete
Delete embeddings by file id or individual document id. Args: file_id: Deletes all chunks from a specific file docume
langconnect/database/collections.py:301
↓ 14 callers
Function
process_document
Process an uploaded file into LangChain documents.
langconnect/services/document_processor.py:38
↓ 13 callers
Method
parse
(self, text: str)
mcpserver/mcp_server.py:90
↓ 13 callers
Function
useTranslation
()
next-connect-ui/src/hooks/use-translation.ts:18
↓ 12 callers
Function
get_db_connection
Acquire a connection from the pool and release it when done.
langconnect/database/connection.py:46
↓ 12 callers
Function
serverFetchAPI
(endpoint: string, options: FetchOptions = {})
next-connect-ui/src/lib/api.ts:62
↓ 8 callers
Method
request
(self, method: str, endpoint: str, **kwargs)
mcpserver/mcp_sse_server.py:198
↓ 8 callers
Method
request
(self, method: str, endpoint: str, **kwargs)
mcpserver/mcp_server.py:107
↓ 6 callers
Function
get_vectorstore
Initializes and returns a PGVector store for a specific collection, using an existing engine or creating one from connection parameters.
langconnect/database/connection.py:69
↓ 5 callers
Method
raise_for_status
(self)
tests/conftest.py:40
↓ 5 callers
Function
register
(params: RegisterParams)
next-connect-ui/src/hooks/use-auth.ts:52
↓ 5 callers
Function
useSidebar
()
next-connect-ui/src/components/ui/sidebar.tsx:47
↓ 4 callers
Method
_get_details_or_raise
Get collection details if it exists, otherwise raise an error.
langconnect/database/collections.py:287
↓ 4 callers
Function
getAuthSession
()
next-connect-ui/src/lib/auth-utils.ts:6
↓ 4 callers
Function
useFormField
()
next-connect-ui/src/components/ui/form.tsx:45
↓ 3 callers
Function
refreshAccessToken
(token: any)
next-connect-ui/src/lib/auth.ts:8
↓ 3 callers
Function
useAuth
()
next-connect-ui/src/hooks/use-auth.ts:34
↓ 2 callers
Method
create
Create a new collection. Args: collection_name: The name of the new collection. metadata: Optional metadata for the c
langconnect/database/collections.py:118
↓ 2 callers
Function
documents_create
Processes and indexes (adds) new document files with optional metadata. Args: user: Authenticated user collection_id: UUID of the
langconnect/api/documents.py:58
↓ 2 callers
Function
fetchAPI
(endpoint: string, options: FetchOptions = {})
next-connect-ui/src/lib/api.ts:20
↓ 2 callers
Function
getCurrentEndpoint
()
next-connect-ui/src/app/(protected)/api-tester/page.tsx:130
↓ 2 callers
Method
list
List all document chunks in this collection.
langconnect/database/collections.py:406
↓ 2 callers
Function
signOut
(message)
next-connect-ui/src/lib/auth.ts:137
↓ 2 callers
Function
test_token
Test if the token works by calling the collections endpoint.
mcpserver/mcp_sse_server.py:69
↓ 2 callers
Function
togglePopover
(docId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/documents/page.tsx:246
↓ 2 callers
Function
togglePopover
(collectionId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/collections/page.tsx:82
↓ 2 callers
Function
toggleSourcePopover
(sourceId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/documents/page.tsx:258
↓ 2 callers
Method
update
Update collection metadata. Four cases: 1) metadata only → merge in metadata, keep old JSON->'name' 2) metadata + n
langconnect/database/collections.py:162
↓ 2 callers
Function
useLanguage
()
next-connect-ui/src/providers/language-provider.tsx:46
↓ 1 callers
Function
buildRequestBody
(endpoint: APIEndpoint)
next-connect-ui/src/app/(protected)/api-tester/page.tsx:169
↓ 1 callers
Function
buildRequestUrl
(endpoint: APIEndpoint)
next-connect-ui/src/app/(protected)/api-tester/page.tsx:156
↓ 1 callers
Function
createFormSchema
(t: (key: string) => string)
next-connect-ui/src/components/modals/create-collection-modal.tsx:29
↓ 1 callers
Function
create_mcp_json
Create a Model Context Protocol (MCP) server configuration JSON file. This function generates a configuration file that defines how the MCP serve
mcpserver/create_mcp_json.py:151
↓ 1 callers
Method
delete_many
Delete multiple documents by a list of document IDs or file IDs.
langconnect/database/collections.py:360
↓ 1 callers
Function
ensure_valid_token
Ensure we have a valid token, prompting for login if necessary.
mcpserver/mcp_sse_server.py:152
↓ 1 callers
Function
generateBreadcrumb
()
next-connect-ui/src/components/layout/app-header.tsx:37
↓ 1 callers
Method
get
Fetch a single collection by UUID, ensuring the user owns it.
langconnect/database/collections.py:89
↓ 1 callers
Function
getNestedValue
(obj: any, path: string)
next-connect-ui/src/hooks/use-translation.ts:8
↓ 1 callers
Function
get_access_token
Get Supabase access token through user authentication.
mcpserver/create_mcp_json.py:98
↓ 1 callers
Function
get_access_token
Get Supabase access token through user authentication.
mcpserver/mcp_sse_server.py:119
↓ 1 callers
Function
get_current_user
Authenticate a user by validating their JWT token against Supabase. This function verifies the provided JWT token by making a request to Supabase
langconnect/auth.py:46
↓ 1 callers
Function
get_db_pool
Get the pg connection pool.
langconnect/database/connection.py:21
↓ 1 callers
Function
get_embeddings
Get the embeddings instance based on the environment.
langconnect/config.py:18
↓ 1 callers
Function
get_env_variables
Load environment variables and return required variables as a dictionary. Returns: dict: Dictionary containing environment variables
mcpserver/create_mcp_json.py:131
↓ 1 callers
Function
get_vectorstore_engine
Creates and returns a sync SQLAlchemy engine for PostgreSQL.
langconnect/database/connection.py:53
↓ 1 callers
Function
handleSearch
()
next-connect-ui/src/app/(protected)/search/page.tsx:88
↓ 1 callers
Function
interpolate
(text: string, values: Record<string, any>)
next-connect-ui/src/hooks/use-translation.ts:12
↓ 1 callers
Function
login
(params: LoginParams)
next-connect-ui/src/hooks/use-auth.ts:109
↓ 1 callers
Function
logout
()
next-connect-ui/src/hooks/use-auth.ts:158
↓ 1 callers
Function
main
Entry point for the MCP server
mcpserver/mcp_server.py:494
↓ 1 callers
Function
main
()
mcpserver/get_access_token.py:60
↓ 1 callers
Function
removeFile
(index: number)
next-connect-ui/src/components/modals/upload-document-modal.tsx:102
↓ 1 callers
Function
requireAuth
()
next-connect-ui/src/lib/auth-utils.ts:11
↓ 1 callers
Function
requireGuest
()
next-connect-ui/src/lib/auth-utils.ts:22
↓ 1 callers
Function
reset_db
Hacky code to initialize the database. This needs to be fixed.
tests/unit_tests/fixtures.py:11
↓ 1 callers
Method
search
Run a search in the collection. Args: query: The search query string limit: Maximum number of results to return
langconnect/database/collections.py:478
↓ 1 callers
Function
setLanguage
(newLanguage: Language)
next-connect-ui/src/providers/language-provider.tsx:30
↓ 1 callers
Method
setup
Set up method should run any necessary initialization code. For example, it could run SQL migrations to create the necessary tables.
langconnect/database/collections.py:44
↓ 1 callers
Function
sign_in
Sign in to Supabase and get access token.
mcpserver/create_mcp_json.py:26
↓ 1 callers
Function
sign_in
Sign in to Supabase and get access token.
mcpserver/mcp_sse_server.py:48
↓ 1 callers
Function
sign_in
Sign in to Supabase and get access token.
mcpserver/get_access_token.py:27
↓ 1 callers
Function
test_token
Test if the token works by calling the collections endpoint.
mcpserver/create_mcp_json.py:48
↓ 1 callers
Function
test_token
Test if the token works by calling the collections endpoint.
mcpserver/get_access_token.py:49
↓ 1 callers
Function
toggleChunkSelection
(chunk_id: string)
next-connect-ui/src/app/(protected)/documents/page.tsx:238
↓ 1 callers
Function
toggleDocumentSelection
(file_id: string)
next-connect-ui/src/app/(protected)/documents/page.tsx:230
↓ 1 callers
Function
toggleResultExpansion
(index: number)
next-connect-ui/src/app/(protected)/search/page.tsx:153
↓ 1 callers
Function
toggleSelection
(uuid: string)
next-connect-ui/src/app/(protected)/collections/page.tsx:136
↓ 1 callers
Function
update_env_file
Update the .env file with the new access token.
mcpserver/create_mcp_json.py:59
↓ 1 callers
Function
update_env_file
Update the .env file with the new access token.
mcpserver/mcp_sse_server.py:80
↓ 1 callers
Method
update_token
Update the authorization token.
mcpserver/mcp_sse_server.py:190
↓ 1 callers
Function
uploadFormData
(endpoint: string, formData: FormData)
next-connect-ui/src/lib/api.ts:75
↓ 1 callers
Method
upsert
Add one or more documents to the collection.
langconnect/database/collections.py:294
↓ 1 callers
Function
useIsMobile
()
next-connect-ui/src/hooks/use-mobile.ts:5
Function
APITesterPage
()
next-connect-ui/src/app/(protected)/api-tester/page.tsx:109
Function
AlertDialog
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>)
next-connect-ui/src/components/ui/alert-dialog.tsx:9
Function
AlertDialogAction
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>)
next-connect-ui/src/components/ui/alert-dialog.tsx:121
Function
AlertDialogCancel
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>)
next-connect-ui/src/components/ui/alert-dialog.tsx:133
Function
AlertDialogContent
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>)
next-connect-ui/src/components/ui/alert-dialog.tsx:47
Function
AlertDialogDescription
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>)
next-connect-ui/src/components/ui/alert-dialog.tsx:108
Function
AlertDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
next-connect-ui/src/components/ui/alert-dialog.tsx:79
Function
AlertDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
next-connect-ui/src/components/ui/alert-dialog.tsx:66
Function
AlertDialogOverlay
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>)
next-connect-ui/src/components/ui/alert-dialog.tsx:31
Function
AlertDialogPortal
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>)
next-connect-ui/src/components/ui/alert-dialog.tsx:23
Function
AlertDialogTitle
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>)
next-connect-ui/src/components/ui/alert-dialog.tsx:95
Function
AlertDialogTrigger
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>)
next-connect-ui/src/components/ui/alert-dialog.tsx:15
Function
AppHeader
()
next-connect-ui/src/components/layout/app-header.tsx:19
Function
AppSidebar
()
next-connect-ui/src/components/layout/app-sidebar.tsx:34
Function
AuthLayout
({ children, }: { children: React.ReactNode })
next-connect-ui/src/app/(auth)/layout.tsx:3
Function
AuthProvider
({ children }: AuthProviderProps)
next-connect-ui/src/providers/auth-provider.tsx:10
Function
Avatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
next-connect-ui/src/components/ui/avatar.tsx:8
Function
AvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
next-connect-ui/src/components/ui/avatar.tsx:37
Function
AvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
next-connect-ui/src/components/ui/avatar.tsx:24
Function
Badge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
next-connect-ui/src/components/ui/badge.tsx:28
Function
Breadcrumb
({ ...props }: React.ComponentProps<"nav">)
next-connect-ui/src/components/ui/breadcrumb.tsx:7
Function
BreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
next-connect-ui/src/components/ui/breadcrumb.tsx:83
next →
1–100 of 383, ranked by callers