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
Function
list_documents
List documents in a collection. This function retrieves and displays all documents stored in a specific collection. It provides a paginated v
mcpserver/mcp_server.py:300
Function
loadSources
()
next-connect-ui/src/app/(protected)/search/page.tsx:60
Function
multi_query
Generate multiple queries (3-5) for better vector search results from a single user question.
mcpserver/mcp_sse_server.py:353
Function
multi_query
Generate multiple queries (3-5) for better vector search results from a single user question. This function uses an LLM to generate multiple vari
mcpserver/mcp_server.py:438
Function
onChange
()
next-connect-ui/src/hooks/use-mobile.ts:10
Function
onSubmit
(values: z.infer<typeof formSchema>)
next-connect-ui/src/components/modals/upload-document-modal.tsx:112
Function
onSubmit
(values: z.infer<typeof formSchema>)
next-connect-ui/src/components/modals/create-collection-modal.tsx:64
Function
onSubmit
(data: SignupFormValues)
next-connect-ui/src/app/(auth)/signup/page.tsx:38
Function
onSubmit
(data: LoginFormValues)
next-connect-ui/src/app/(auth)/signin/page.tsx:35
Method
parse
(self, text: str)
mcpserver/mcp_sse_server.py:37
Function
rag_prompt
Provides a prompt for summarizing the provided text.
mcpserver/mcp_server.py:44
Function
refresh_token
Refresh the access token using a refresh token. Args: refresh_token: The refresh token Returns: AuthResponse with new tokens
langconnect/api/auth.py:139
Function
resolve_user
Resolve user from the credentials.
langconnect/auth.py:72
Function
search_documents
Search documents in a collection using semantic, keyword, or hybrid search.
mcpserver/mcp_sse_server.py:217
Function
search_documents
Search documents in a collection using semantic, keyword, or hybrid search. This function is used to find relevant documents within a specific co
mcpserver/mcp_server.py:126
Function
sendRequest
()
next-connect-ui/src/app/(protected)/api-tester/page.tsx:246
Function
session
({ session, token })
next-connect-ui/src/lib/auth.ts:111
Function
sign_in
Sign in an existing user. Args: request: Sign in request containing email and password Returns: AuthResponse with tokens and
langconnect/api/auth.py:84
Function
sign_out
Sign out the current user. Note: This endpoint is mainly for client-side cleanup. The actual token invalidation happens on the Supabase side.
langconnect/api/auth.py:126
Function
sign_up
Sign up a new user. Args: request: Sign up request containing email and password Returns: AuthResponse with tokens and user
langconnect/api/auth.py:39
Function
test_add_documents_failure
(monkeypatch)
tests/test_mcp_server.py:133
Function
test_add_documents_success
(monkeypatch)
tests/test_mcp_server.py:120
Function
test_api_default_chunk_params
Test that API uses default chunk parameters when not provided.
tests/unit_tests/test_chunk_params_simple.py:117
Function
test_chunk_overlap_behavior
Test that chunk overlap works correctly.
tests/unit_tests/test_chunk_params_simple.py:96
Function
test_create_and_get_collection
Test creating and retrieving a collection.
tests/unit_tests/test_collections_api.py:26
Function
test_create_and_list_collection_with_stats
Test creating and listing a collection with stats.
tests/unit_tests/test_collections_api.py:65
Function
test_create_collection_invalid_json
()
tests/test_mcp_server.py:84
Function
test_create_collection_requires_auth
POST /collections without a valid token should be 401.
tests/unit_tests/test_collections_api.py:108
Function
test_create_collections_with_identical_names
Test that collections with identical names can be created.
tests/unit_tests/test_collections_api.py:94
Function
test_delete_collection
(monkeypatch)
tests/test_mcp_server.py:89
Function
test_delete_collection_and_nonexistent
DELETE removes an existing collection and returns 404 on missing.
tests/unit_tests/test_collections_api.py:133
Function
test_delete_document
(monkeypatch)
tests/test_mcp_server.py:143
Function
test_documents_bulk_delete
Test bulk deleting documents by document_ids and file_ids.
tests/unit_tests/test_documents_api.py:481
Function
test_documents_create_and_list_and_delete_and_search
Test creating, listing, deleting, and searching documents.
tests/unit_tests/test_documents_api.py:21
Function
test_documents_create_passes_chunk_params
Test that the API endpoint correctly passes chunk parameters to process_document.
tests/unit_tests/test_chunk_params_simple.py:13
Function
test_documents_create_with_custom_chunk_overlap
Test creating documents with custom chunk_overlap parameter.
tests/unit_tests/test_chunk_parameters.py:59
Function
test_documents_create_with_custom_chunk_size
Test creating documents with custom chunk_size parameter.
tests/unit_tests/test_chunk_parameters.py:14
Function
test_documents_create_with_default_chunk_parameters
Test that default chunk parameters work correctly.
tests/unit_tests/test_chunk_parameters.py:96
Function
test_documents_create_with_edge_case_parameters
Test creating documents with edge case chunk parameters.
tests/unit_tests/test_chunk_parameters.py:299
Function
test_documents_create_with_empty_file
Test creating documents with an empty file.
tests/unit_tests/test_documents_api.py:299
Function
test_documents_create_with_invalid_metadata_format
Test creating documents with invalid metadata format.
tests/unit_tests/test_documents_api.py:330
Function
test_documents_create_with_invalid_metadata_json
Test creating documents with invalid metadata JSON.
tests/unit_tests/test_documents_api.py:107
Function
test_documents_create_with_large_chunk_size
Test creating documents with a very large chunk_size.
tests/unit_tests/test_chunk_parameters.py:136
Function
test_documents_create_with_mismatched_metadata
Test creating documents with metadata count not matching files count.
tests/unit_tests/test_documents_api.py:441
Function
test_documents_create_with_multiple_files
Test creating documents with multiple files.
tests/unit_tests/test_documents_api.py:393
Function
test_documents_create_with_multiple_files_and_custom_chunks
Test creating multiple documents with custom chunk parameters.
tests/unit_tests/test_chunk_parameters.py:181
Function
test_documents_create_with_non_existent_collection
Test creating documents in a non-existent collection.
tests/unit_tests/test_documents_api.py:373
Function
test_documents_create_with_valid_text_file_and_metadata
Test creating documents with a valid text file and metadata.
tests/unit_tests/test_documents_api.py:196
Function
test_documents_create_with_valid_text_file_without_metadata
Test creating documents with a valid text file without metadata.
tests/unit_tests/test_documents_api.py:254
Function
test_documents_create_with_zero_overlap
Test creating documents with zero chunk overlap.
tests/unit_tests/test_chunk_parameters.py:249
Function
test_documents_in_nonexistent_collection
Test operations on documents in a non-existent collection.
tests/unit_tests/test_documents_api.py:158
Function
test_documents_search_empty_query
Test searching documents with an empty query.
tests/unit_tests/test_documents_api.py:134
Function
test_get_collection
(monkeypatch)
tests/test_mcp_server.py:72
Function
test_get_health_status
(monkeypatch)
tests/test_mcp_server.py:152
Function
test_get_nonexistent_collection
GET a collection that doesn't exist should be 404.
tests/unit_tests/test_collections_api.py:120
Function
test_health
Test the health check endpoint.
tests/unit_tests/test_collections_api.py:18
Function
test_import_app
Sample test that does not do much.
tests/unit_tests/test_imports.py:4
Function
test_line_list_parser
(text, expected)
tests/test_mcp_server.py:17
Function
test_list_collections
(monkeypatch)
tests/test_mcp_server.py:61
Function
test_list_collections_empty
(monkeypatch)
tests/test_mcp_server.py:52
Function
test_list_documents_empty
(monkeypatch)
tests/test_mcp_server.py:98
Function
test_list_documents_with_items
(monkeypatch)
tests/test_mcp_server.py:107
Function
test_list_empty_and_multiple_collections
Listing when empty and after multiple creates.
tests/unit_tests/test_collections_api.py:299
Function
test_multi_query_no_key
()
tests/test_mcp_server.py:164
Function
test_ownership
Try accessing and deleting collections owned by user 1 using user 2.
tests/unit_tests/test_collections_api.py:326
Function
test_patch_collection
PATCH should update metadata properly.
tests/unit_tests/test_collections_api.py:167
Function
test_pdf_plumber_import
Test that we can import PDFPlumberParser.
tests/unit_tests/test_pdf_parser_import.py:15
Function
test_pdf_plumber_parser_configured
Test that PDFPlumberParser is correctly configured in document_processor.
tests/unit_tests/test_pdf_parser_import.py:4
Function
test_process_document_empty_file
Test processing empty file.
tests/unit_tests/test_document_processor.py:166
Function
test_process_document_large_chunk_size
Test with chunk_size larger than content.
tests/unit_tests/test_document_processor.py:104
Function
test_process_document_markdown_file
Test processing markdown files.
tests/unit_tests/test_document_processor.py:120
Function
test_process_document_octet_stream_with_extension
Test processing files with application/octet-stream mimetype.
tests/unit_tests/test_document_processor.py:182
Function
test_process_document_respects_chunk_params
Test that process_document actually uses the provided chunk parameters.
tests/unit_tests/test_chunk_params_simple.py:63
Function
test_process_document_with_custom_chunk_size
Test document processing with custom chunk_size.
tests/unit_tests/test_document_processor.py:40
Function
test_process_document_with_custom_overlap
Test document processing with custom chunk_overlap.
tests/unit_tests/test_document_processor.py:59
Function
test_process_document_with_default_chunk_params
Test document processing with default chunk parameters.
tests/unit_tests/test_document_processor.py:13
Function
test_process_document_with_file_id_generation
Test that each processing generates a unique file_id.
tests/unit_tests/test_document_processor.py:138
Function
test_process_document_with_metadata
Test document processing with metadata.
tests/unit_tests/test_document_processor.py:82
Function
test_search_documents_bad_filter
(monkeypatch)
tests/test_mcp_server.py:47
Function
test_search_documents_no_results
(monkeypatch)
tests/test_mcp_server.py:22
Function
test_search_documents_with_results
(monkeypatch)
tests/test_mcp_server.py:31
Function
test_update_collection_name_and_metadata
PATCH should rename and/or update metadata properly.
tests/unit_tests/test_collections_api.py:209
Function
test_update_nonexistent_collection
PATCH a missing collection should return 404.
tests/unit_tests/test_collections_api.py:281
← previous
301–383 of 383, ranked by callers