MCPcopy Create free account

hub / github.com/Harmeet10000/AgentNexus-LangChain-FastAPI / functions

Functions1,424 in github.com/Harmeet10000/AgentNexus-LangChain-FastAPI

Functiontest_chunk_text_overlap_behavior
()
tests/unit/search/test_chunking.py:21
Functiontest_chunk_text_preserves_order_and_overlap
()
tests/unit/search/test_chunking.py:4
Functiontest_chunk_text_returns_empty_list_for_blank_input
()
tests/unit/search/test_chunking.py:17
Functiontest_chunk_text_unicode_content
()
tests/unit/search/test_chunking.py:33
Methodtest_content_hash_dedup
(self)
tests/integration/test_search.py:71
Functiontest_custom_dimension
()
tests/unit/documents/test_normalize_embedding.py:44
Methodtest_dependency_has_required_fields
(self)
tests/integration/test_health.py:37
Methodtest_empty_document_returns_zero_chunks
(self)
tests/integration/test_search.py:55
Functiontest_empty_vector_padded
()
tests/unit/documents/test_normalize_embedding.py:32
Methodtest_error_does_not_expose_secret_values
(self)
tests/unit/test_settings.py:36
Methodtest_error_lists_all_bad_field_names
(self)
tests/unit/test_settings.py:32
Functiontest_exact_oversize_boundary
()
tests/unit/documents/test_normalize_embedding.py:38
Methodtest_failure_increments_count
(self)
tests/unit/test_circuit_breaker.py:31
Functiontest_falls_back_to_settings
()
tests/unit/documents/test_normalize_embedding.py:55
Methodtest_first_search_stores_in_redis
(self, redis)
tests/integration/test_search.py:237
Methodtest_forgot_password_generates_token
(self, auth_service)
tests/integration/test_auth.py:258
Methodtest_health_endpoint_no_deprecation_header
(self)
tests/integration/test_api_deprecation.py:37
Methodtest_healthy_has_dependencies_list
(self)
tests/integration/test_health.py:31
Methodtest_healthy_has_version
(self)
tests/integration/test_health.py:26
Methodtest_healthy_returns_200
(self)
tests/integration/test_health.py:20
Methodtest_hybrid_search_finds_by_keyword
(self)
tests/integration/test_search.py:109
Methodtest_hybrid_search_finds_by_semantic_similarity
(self)
tests/integration/test_search.py:136
Methodtest_ingestion_large_document_splits_into_chunks
(self)
tests/integration/test_search.py:86
Methodtest_inserts_row_and_notifies
(self)
tests/unit/test_outbox.py:19
Methodtest_list_sessions
(self, auth_service, redis)
tests/integration/test_auth.py:220
Methodtest_login_disabled_account_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:140
Methodtest_login_nonexistent_email_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:131
Methodtest_login_unverified_email_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:151
Methodtest_login_valid_credentials
(self, auth_service)
tests/integration/test_auth.py:100
Methodtest_login_wrong_password_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:122
Methodtest_logout_revokes_token
(self, auth_service, redis)
tests/integration/test_auth.py:202
Methodtest_metrics_endpoint_no_deprecation_header
(self)
tests/integration/test_api_deprecation.py:41
Methodtest_opens_after_threshold_breached
(self)
tests/unit/test_circuit_breaker.py:45
Functiontest_pads_undersized
()
tests/unit/documents/test_normalize_embedding.py:24
Methodtest_postgres_dependency_present
(self)
tests/integration/test_health.py:46
Methodtest_probe_allows_one_request_in_half_open
(self)
tests/unit/test_circuit_breaker.py:84
Methodtest_process_ingestion_document_chunks_and_stores
(self)
tests/integration/test_search.py:30
Methodtest_raises_value_error_with_bad_secrets
(self)
tests/unit/test_settings.py:9
Functiontest_reciprocal_rank_fusion_empty_input
()
tests/unit/search/test_fusion.py:78
Functiontest_reciprocal_rank_fusion_merges_duplicate_results
()
tests/unit/search/test_fusion.py:4
Methodtest_reciprocal_rank_fusion_merges_multiple_sources
(self)
tests/integration/test_search.py:162
Functiontest_reciprocal_rank_fusion_supports_trigram_branch
()
tests/unit/search/test_fusion.py:35
Functiontest_reciprocal_rank_fusion_truncates_to_requested_limit
()
tests/unit/search/test_fusion.py:23
Functiontest_reciprocal_rank_fusion_with_three_sources
()
tests/unit/search/test_fusion.py:56
Methodtest_redis_dependency_present
(self)
tests/integration/test_health.py:52
Methodtest_refresh_expired_token_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:184
Methodtest_refresh_revoked_token_raises_unauthorized
(self, auth_service)
tests/integration/test_auth.py:192
Methodtest_refresh_valid_token
(self, auth_service, redis)
tests/integration/test_auth.py:164
Methodtest_register_creates_user
(self, auth_service)
tests/integration/test_auth.py:59
Methodtest_register_duplicate_email_raises_conflict
(self, auth_service)
tests/integration/test_auth.py:73
Methodtest_register_hashes_password
(self, auth_service)
tests/integration/test_auth.py:81
Methodtest_reset_password_invalid_token_raises
(self, auth_service)
tests/integration/test_auth.py:284
Methodtest_reset_password_updates_password
(self, auth_service)
tests/integration/test_auth.py:274
Methodtest_revoke_all_sessions_except_current
(self, auth_service, redis)
tests/integration/test_auth.py:240
Methodtest_revoke_session
(self, auth_service, redis)
tests/integration/test_auth.py:229
Methodtest_rollback_on_exception
(self)
tests/unit/test_outbox.py:58
Methodtest_root_endpoint_no_deprecation_header
(self)
tests/integration/test_api_deprecation.py:45
Methodtest_run_with_circuit_breaker_failure_raises
(self)
tests/unit/test_circuit_breaker.py:113
Methodtest_run_with_circuit_breaker_success
(self)
tests/unit/test_circuit_breaker.py:99
Methodtest_second_search_returns_cached
(self, redis)
tests/integration/test_search.py:262
Methodtest_succeeds_in_development_with_bad_secrets
(self)
tests/unit/test_settings.py:28
Methodtest_succeeds_with_proper_secrets
(self)
tests/unit/test_settings.py:13
Methodtest_success_resets_failures
(self)
tests/unit/test_circuit_breaker.py:70
Functiontest_truncates_oversized
()
tests/unit/documents/test_normalize_embedding.py:17
Methodtest_v1_route_has_deprecation_header
(self)
tests/integration/test_api_deprecation.py:16
Methodtest_v1_route_has_link_header
(self)
tests/integration/test_api_deprecation.py:27
Methodtest_v1_route_has_sunset_header
(self)
tests/integration/test_api_deprecation.py:22
Methodtest_v2_route_no_deprecation_header
(self)
tests/integration/test_api_deprecation.py:33
Functionthink_tool
Record a short reflection before deciding whether to search again.
src/app/shared/langgraph_layer/open_deep_search/utils.py:241
Methodto_chat_template
Convert to LangChain ChatPromptTemplate. Args: **extra_runtime: Additional runtime variables to merge with self.runtime_
src/app/shared/langchain_layer/prompts.py:125
Functionto_float_list_bytes
(data: list[float])
src/app/utils/json_serializer.py:28
Functionto_json_bytes
(data: object)
src/app/utils/json_serializer.py:16
Methodto_log_dict
(self)
src/app/shared/langchain_layer/agents/memory/memory_scope.py:85
Methodtotal_tokens
(self)
src/app/shared/langchain_layer/callback.py:59
Functiontrace_layer
Decorator to track function execution flow and timing.
src/app/utils/logger.py:108
Functiontrim_by_count
Keep only the last N messages, always preserving the SystemMessage.
src/app/shared/langchain_layer/messages.py:63
Functiontrim_list
Trim a Redis list to a specified range. Args: redis: Redis client instance object_type: Entity type for namespacing key:
src/app/utils/cache/redis_func.py:804
Functionunified_rag
( payload: documents_dto.UnifiedRagRequest, service: documents_dependencies.DocumentQueryServiceDep,
src/app/features/documents/router.py:74
Functionunified_search
( payload: documents_dto.UnifiedSearchRequest, service: documents_dependencies.DocumentQueryServiceDep
src/app/features/documents/router.py:62
Functionupdate_hash
Update specific fields in a hash. Args: redis: Redis client instance object_type: Entity type for namespacing key: Hash k
src/app/utils/cache/redis_func.py:412
Functionupdate_list_item
Update a specific item in a Redis list by index. Args: redis: Redis client instance object_type: Entity type for namespacing
src/app/utils/cache/redis_func.py:756
Functionupdate_profile
( body: UpdateProfileRequest, user: CurrentVerifiedUser, request: Request, )
src/app/features/profile/router.py:50
Methodupdate_role
(self, user: User, role: UserRole)
src/app/features/users/repository.py:59
Functionupdate_user_endpoint
Update user profile and refresh cache. Endpoint example: PATCH /api/v1/users/123 { "name": "Jane Doe", "email": "jane@exa
src/app/examples/redis_examples.py:215
Functionupdate_user_role
( user_id: Annotated[str, Path()], body: UpdateUserRoleRequest, service: UserAdminServiceDep,
src/app/features/users/router.py:61
Functionupgrade
()
src/alembic/versions/0001_add_outbox_tables.py:22
Functionupgrade
()
src/alembic/versions/2bc7726317f6_rename_metadata_to_meta_data.py:20
Functionupgrade
()
src/alembic/versions/a71f0d7d9c12_add_unified_documents_and_chunks.py:22
Functionupgrade
()
src/alembic/versions/8a7d9b1c2e3f_add_search_documents_and_chunks.py:24
Functionupgrade
()
src/alembic/versions/c0c17c6eb1cc_initial_schema_document_vectors_and_.py:23
Functionupgrade
()
src/alembic/versions/9f4a1b7c6d2e_contract_kb_clauses_pg_textsearch.py:23
Functionupload_avatar
( user: CurrentVerifiedUser, request: Request, file: Annotated[UploadFile, File()], )
src/app/features/profile/router.py:101
Functionupload_document
( file: Annotated[UploadFile, File()], service: documents_dependencies.DocumentCommandServiceDep,
src/app/features/documents/router.py:26
Functionupload_document
Upload flow: 1. Read raw bytes from uploaded file. 2. Run IngestionGraph (parse → schema → segment → contextualize → store). 4.
src/app/features/ingestion/router.py:39
Functionupload_part
( storage: StorageService, *, key: str, upload_id: str, part_number: int, body: bytes )
src/app/shared/services/storage.py:782
Methodupload_part
( self, *, key: str, upload_id: str, part_number: int, body: b
src/app/shared/services/storage.py:201
Functionupstream_resource
(server_name: str)
src/mcp_core/server/resources.py:112
Methoduri
(self)
src/app/shared/services/storage.py:34
Functionuri_to_location
(uri: str)
src/app/shared/services/storage.py:715
Methodvalidate_embedding
Validate embedding is not empty if provided.
src/app/shared/rag/document_processing/models.py:134
← previousnext →1,301–1,400 of 1,424, ranked by callers