MCPcopy Create free account

hub / github.com/nlweb-ai/NLWeb / functions

Functions2,264 in github.com/nlweb-ai/NLWeb

↓ 2 callersMethodget_embeddings
Extract [CLS] embeddings without the regression head.
NLWebScorer/models/modernbert_scorer.py:117
↓ 2 callersFunctionget_embeddings_file_path
Generate the path for the equivalent file with embeddings. Args: file_path: Path to the original file Returns: Path to
AskAgent/python/data_loading/db_load.py:80
↓ 2 callersMethodget_filter_sql
Convert a filter spec to SQL WHERE clause fragment.
DataFinder/translator/mapping_parser.py:186
↓ 2 callersFunctionget_item_name
Extract name from a JSON item using various fields. Args: item: JSON item to extract name from Returns: Name string or
AskAgent/python/data_loading/db_load_utils.py:119
↓ 2 callersMethodget_llm_provider
Get the specified LLM provider config or the preferred one if not specified.
AskAgent/python/core/config.py:711
↓ 2 callersMethodget_logger
Create and return a configured logger for the specified module
AskAgent/python/misc/logger/logging_config_helper.py:106
↓ 2 callersMethodget_memory_stats
Get memory usage statistics.
tests/performance/test_latency.py:95
↓ 2 callersFunctionget_ollama_client
Get or initialize the Ollama client.
AskAgent/python/embedding_providers/ollama_embedding.py:40
↓ 2 callersMethodget_podcast_details
Extract podcast details including RSS feed and organization
AskAgent/python/misc/podcast_scraper.py:151
↓ 2 callersMethodget_profile
Get settings for a specific profile
AskAgent/python/misc/logger/logging_config_helper.py:161
↓ 2 callersFunctionget_qdrant_client
Get or initialize Qdrant client.
AskAgent/python/retrieval_providers/qdrant_retrieve.py:71
↓ 2 callersFunctionget_ranks
Convert values to ranks (1-based, higher value = lower rank number).
ModelRouter/nlweb_router/scripts/analyze_multi_ref.py:51
↓ 2 callersFunctionget_ranks
Convert values to ranks (1-based, higher value = lower rank number).
ModelRouter/nlweb_router/scripts/analyze_openrouter.py:28
↓ 2 callersMethodget_recent_conversations
Retrieve the N most recent conversations for a user and site, grouped by thread. Args: user_id: User ID to retrieve conv
AskAgent/python/core/conversation_history.py:65
↓ 2 callersFunctiongood_picks
Count model's top-k items where ref score >= threshold.
ModelRouter/nlweb_router/scripts/analyze_multi_ref.py:98
↓ 2 callersMethodhandleEmailLogin
()
static/oauth-login.js:330
↓ 2 callersMethodhandleSearch
()
static/nlweb-dropdown-chat.js:336
↓ 2 callersMethodhandleUrlAutoQuery
()
static/chat-interface-unified.js:187
↓ 2 callersFunctionhandle_mcp_request
Handle an MCP request following the standard MCP protocol Args: query_params (dict): URL query parameters body (bytes): Requ
AskAgent/python/webserver/mcp_wrapper.py:522
↓ 2 callersFunctionhasOwn
( obj: T, key: PropertyKey )
openai-apps-sdk-integration/src/utils/locale.ts:3
↓ 2 callersFunctionht
(e)
static/dompurify.min.js:2
↓ 2 callersMethodhtmlUnescape
* Unescapes HTML entities in a string, safely converting entities like & to & * without executing any HTML/scripts. * * @param {string}
static/json-renderer.js:636
↓ 2 callersMethodindex_exists
Check if the specified index exists. Args: index_name: Name of the index to check (defaults to configured index)
AskAgent/python/retrieval_providers/azure_search_client.py:168
↓ 2 callersMethodinitialize
Initialize backends
AgentFinder/code/who_handler.py:91
↓ 2 callersFunctionint64_hash
Compute a hash value for a string, ensuring it fits within int64 range. Args: string: The string to hash Returns: int64
AskAgent/python/data_loading/db_load_utils.py:58
↓ 2 callersMethodis_aggregation_enabled
Check if aggregation functionality is enabled.
AskAgent/python/core/config.py:637
↓ 2 callersMethodis_decontextualization_done
(self)
AskAgent/python/core/state.py:48
↓ 2 callersFunctionis_process_running
Check if score_openrouter.py is currently running.
ModelRouter/nlweb_router/scripts/nanny_openrouter.py:22
↓ 2 callersMethodis_testing_mode
Returns True if the system is running in testing mode.
AskAgent/python/core/config.py:591
↓ 2 callersMethodis_who_endpoint_enabled
Check if the who endpoint is enabled.
AskAgent/python/core/config.py:641
↓ 2 callersMethodjoin_conversation
Join an existing conversation.
tests/performance/test_load.py:210
↓ 2 callersMethodleave_conversation
Leave the conversation.
tests/e2e/test_multi_participant.py:81
↓ 2 callersMethodloadConversation
(id, chatInterface)
static/conversation-manager.js:177
↓ 2 callersMethodloadConversations
(selectedSite, elements)
static/conversation-manager.js:24
↓ 2 callersFunctionloadJsonToDB
Load data from a file, compute embeddings, and store in the database. The file can have one of multiple formats: 1. Two columns per row,
AskAgent/python/data_loading/db_load.py:679
↓ 2 callersMethodloadSitesViaHttp
()
static/chat-interface-unified.js:1471
↓ 2 callersMethodload_conversation_storage_config
Load conversation storage configuration.
AskAgent/python/core/config.py:780
↓ 2 callersFunctionload_jsonl
(path)
NLWebScorer/training/diagnose_errors.py:27
↓ 2 callersFunctionload_jsonl
(path: str)
NLWebScorer/training/fit_rubric_weights.py:31
↓ 2 callersMethodload_retrieval_config
(self, path: str = "config_retrieval.yaml")
AskAgent/python/core/config.py:318
↓ 2 callersMethodlog_with_context
Log a message with additional context information asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:402
↓ 2 callersMethodmap_to_dcids
Map variable and place names to Data Commons DCIDs.
AskAgent/python/methods/statistics_handler.py:296
↓ 2 callersMethodparse_sitemap
Parse XML sitemap to extract URLs.
AskAgent/python/scraping/expand_json_descriptions.py:119
↓ 2 callersFunctionper_group_metrics
Compute Spearman ρ per group.
NLWebScorer/training/fit_rubric_weights.py:75
↓ 2 callersFunctionplot_results
Plot results and save to file.
AskAgent/python/benchmark/run_speed_benchmark.py:223
↓ 2 callersFunctionprepare_documents_from_json
Prepare documents from URL and JSON data. Args: url: URL for the item json_data: JSON data for the item site: Site i
AskAgent/python/data_loading/db_load_utils.py:157
↓ 2 callersMethodprepare_response
Prepare the streaming response
AskAgent/python/webserver/aiohttp_streaming_wrapper.py:140
↓ 2 callersMethodprint_aggregated_summary
Print summary of aggregated test results.
AskAgent/python/testing/run_tests.py:105
↓ 2 callersMethodprint_detailed_results
Print detailed results for a single test.
AskAgent/python/testing/end_to_end_tests.py:211
↓ 2 callersMethodprint_status
Print the current status
AskAgent/python/scraping/expBackOffCrawl.py:69
↓ 2 callersFunctionprint_summary
Print summary of all query results
AskAgent/python/testing/test_retrieval_with_endpoint_stats.py:169
↓ 2 callersMethodprocessMessageByType
* Handle message processing for different message types
static/chat-ui-common.js:320
↓ 2 callersMethodprocessSitesData
(sites)
static/chat-interface-unified.js:1502
↓ 2 callersMethodprocess_all
Process all sites in the JSONL file.
AskAgent/python/scraping/expand_json_descriptions.py:374
↓ 2 callersFunctionprocess_binary_file
Process a file in binary mode for cases where text encoding is problematic. Specifically handles UTF-16 encoded files.
AskAgent/python/core/utils/trim_schema_json.py:157
↓ 2 callersFunctionprocess_cricket_query
Process a cricket statistics JSON response and return formatted table. Args: json_response: JSON string from cricket statistics API
AskAgent/python/methods/cricketLens.py:329
↓ 2 callersMethodprocess_cricket_response
Main method to process cricket JSON response and return formatted output.
AskAgent/python/methods/cricketLens.py:302
↓ 2 callersFunctionprocess_files
(input_file, size="small", model="text-embedding-3-small", num_to_process=10000000)
AskAgent/python/misc/embedding.py:42
↓ 2 callersFunctionprocess_normal_path
(input_file_path: str, site: str, batch_size: int = 100, delete_site: bool = False, force_recompute: bool = Fa
AskAgent/python/data_loading/db_load.py:1073
↓ 2 callersFunctionprocess_rss_feed
Process an RSS/Atom feed into document objects. Args: file_path: Path to the RSS file or URL site: Site identifier Retu
AskAgent/python/data_loading/db_load.py:500
↓ 2 callersMethodread_yaml_config
Read a YAML configuration file.
check_dependencies.py:64
↓ 2 callersMethodreceive_message
Receive a message.
tests/e2e/test_multi_participant.py:66
↓ 2 callersMethodreconnect
Reconnect with optional sequence ID for sync.
tests/integration/test_websocket.py:168
↓ 2 callersFunctionremoveTypingIndicator
()
code/wordpress/nlweb/assets/nlweb-frontend.js:312
↓ 2 callersMethodrun_query_set
Run a set of queries and return all results Args: queries: List of dicts with 'query' and optional 'site', 'num_results'
AskAgent/python/testing/test_queries_and_rss.py:121
↓ 2 callersFunctionrun_query_tests
Run standard query tests with endpoint tracking
AskAgent/python/testing/test_retrieval_with_endpoint_stats.py:135
↓ 2 callersFunctionrun_query_tests
Run standard query tests
AskAgent/python/testing/test_with_clean_db.py:92
↓ 2 callersMethodrun_test_file
Run tests from a JSON file. Args: file_path: Path to JSON test file test_type: Optional test type override (
AskAgent/python/testing/run_tests.py:42
↓ 2 callersMethodsanitizeUrl
* Sanitizes a URL to prevent javascript: protocol and other potentially dangerous URLs * * @param {string} url - The URL to sanitize * @retu
static/json-renderer.js:602
↓ 2 callersFunctionsatisficer_metrics
Delegate to shared loss_utils.satisficer_metrics (includes pairwise accuracy). Also computes top_k_overlap and high_bad for full evaluation.
NLWebScorer/training/train_rubric_gam.py:208
↓ 2 callersFunctionsatisficer_metrics
Compute satisficer-style metrics: top-k overlap, good/bad picks.
NLWebScorer/training/fit_rubric_weights.py:92
↓ 2 callersMethodsave_jsonl
Save enhanced sites to JSONL file.
AskAgent/python/scraping/expand_json_descriptions.py:359
↓ 2 callersFunctionsave_progress
Save current progress to disk.
ModelRouter/nlweb_router/scripts/score_openrouter.py:236
↓ 2 callersFunctionsave_progress
Save current state to disk.
NLWebScorer/data/generate_hard_negatives.py:287
↓ 2 callersMethodscore
(self, query: str, items: list[dict])
NLWebScorer/inference/server.py:83
↓ 2 callersMethodsearch
Search for sites. Returns: List of {"url": str, "json_ld": str, "name": str, "site": str}
AgentFinder/code/search_backend.py:29
↓ 2 callersMethodsearch
Search for documents matching the query and site using vector similarity. Args: query: Search query string s
AskAgent/python/retrieval_providers/elasticsearch_client.py:421
↓ 2 callersFunctionsearch_by_url
Retrieve a document by its exact URL. Args: url: URL to search for endpoint_name: Optional name of the endpoint to use
AskAgent/python/core/retriever.py:1181
↓ 2 callersMethodsearch_by_url
Retrieve a document by its exact URL. Args: url: URL to search for endpoint_name: Optional endpoint name ove
AskAgent/python/core/retriever.py:903
↓ 2 callersMethodsendAnswers
(self, answers, force=False)
AskAgent/python/core/ranking.py:327
↓ 2 callersMethodsendAnswers
Send ranked sites to the client.
AskAgent/python/core/whoRanking.py:142
↓ 2 callersMethodsend_begin_response
Send begin/start message at the start of query processing.
AskAgent/python/core/utils/message_senders.py:110
↓ 2 callersMethodsend_error_response
Send error response - for compatibility
AskAgent/python/webserver/aiohttp_streaming_wrapper.py:123
↓ 2 callersMethodset_all_loggers_level
Set all loggers to the same level
AskAgent/python/misc/logger/logging_config_helper.py:180
↓ 2 callersMethodset_pre_checks_done
Synchronous version for compatibility
AskAgent/python/core/state.py:32
↓ 2 callersMethodset_read_latency
Set read operation latency.
tests/reliability/test_recovery.py:101
↓ 2 callersMethodshouldSend
(self, result)
AskAgent/python/core/ranking.py:306
↓ 2 callersFunctionshould_skip_item
(site, item)
AskAgent/python/core/utils/trim_schema_json.py:19
↓ 2 callersMethodsimulate_network_delay
Simulate network latency.
tests/reliability/test_recovery.py:70
↓ 2 callersMethodstart
Start the server in a background thread
scripts/run_tests_with_server.py:31
↓ 2 callersMethodstop
Stop the server gracefully
AskAgent/python/webserver/aiohttp_server.py:233
↓ 2 callersMethodstop
Stop the server
scripts/run_tests_with_server.py:110
↓ 2 callersMethodstoreStreamingMessage
(data)
static/chat-interface-unified.js:947
↓ 2 callersFunctionstrip_site_names
Remove site name references, URLs, and publisher info for site-agnostic training.
NLWebScorer/data/prepare_data.py:302
↓ 2 callersMethodto_dict
Convert test case to dictionary.
AskAgent/python/testing/base_test_runner.py:42
↓ 2 callersFunctiontoggle_debug_info
()
AskAgent/python/testing/test_frontend.py:33
↓ 2 callersFunctiontop_k_overlap
Count overlap of top-k items.
ModelRouter/nlweb_router/scripts/analyze_multi_ref.py:84
↓ 2 callersFunctiontop_k_overlap
Count how many of the top-k items by ref_scores are in the top-k by model_scores.
ModelRouter/nlweb_router/scripts/analyze_openrouter.py:61
↓ 2 callersFunctiontrim_json
Trim schema.org JSON to remove unnecessary fields. This matches NLWeb's trim_json function exactly.
ModelRouter/nlweb_router/scripts/json_utils.py:69
↓ 2 callersFunctiontrim_movie
(obj, hard=False)
AskAgent/python/core/utils/json_utils.py:72
← previousnext →401–500 of 2,264, ranked by callers