MCPcopy Create free account

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

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

↓ 2 callersFunctiontrim_movie
(obj, hard=False)
AskAgent/python/core/utils/trim.py:70
↓ 2 callersFunctiontruncateText
(text, maxLength = 50)
static/show_compare.js:104
↓ 2 callersMethodupdateConversationsList
()
static/nlweb-dropdown-chat.js:414
↓ 2 callersMethodupdateConversationsList
(chatInterface, container = null)
static/conversation-manager.js:389
↓ 2 callersFunctionuseWidgetProps
( defaultState?: T | (() => T) )
openai-apps-sdk-integration/src/use-widget-props.ts:3
↓ 2 callersFunctionvt
(e)
static/dompurify.min.js:2
↓ 2 callersMethodwait_for_decontextualization
Wait for decontextualization to complete
AskAgent/python/core/state.py:43
↓ 2 callersMethodwarning
Log a warning message asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:386
↓ 2 callersMethodwrite_stream
Write a message to the SSE stream in a format compatible with existing handlers. Args: message: Message dictionary to se
AskAgent/python/webserver/aiohttp_streaming_wrapper.py:82
↓ 2 callersFunctionwt
(e)
static/dompurify.min.js:2
↓ 1 callersFunctionO
(e)
static/dompurify.min.js:2
↓ 1 callersMethod__init__
(self, handler)
AskAgent/python/core/post_ranking.py:12
↓ 1 callersMethod__init__
(self, examples: list[dict], tokenizer: AutoTokenizer, max_length: int = 512, schema_mapping:
NLWebScorer/models/modernbert_scorer.py:128
↓ 1 callersMethod__init__
(self, bert_dim: int = 768, bert_proj_dim: int = 64, num_schema_types: int = 20, schema_embed
NLWebScorer/models/neural_gam.py:52
↓ 1 callersMethod__post
(self, path: str, body: dict)
AskAgent/python/retrieval_providers/cf_autorag_client.py:121
↓ 1 callersMethod_aggregate_results
Aggregate results from multiple endpoints, merging JSON data for duplicate URLs. When the same URL appears in multiple endpoints, th
AskAgent/python/core/retriever.py:608
↓ 1 callersMethod_apply_dimension_mapping
For templates with dimension_select_map, update the query's SELECT.
DataFinder/translator/plan_executor.py:66
↓ 1 callersMethod_apply_streaming_flag
( self, use_streaming: bool, params: dict[str, Any], json_body: dict[str, Any]
AskAgent/python/webserver/appsdk_adapter_server.py:142
↓ 1 callersMethod_build_item_text
(self, query: str, item: dict)
NLWebScorer/inference/scorer.py:69
↓ 1 callersMethod_build_messages
Construct the system and user message sequence enforcing a JSON schema.
AskAgent/python/llm_providers/openai.py:62
↓ 1 callersMethod_build_messages
Construct the message sequence for JSON-schema enforcement.
AskAgent/python/llm_providers/anthropic.py:62
↓ 1 callersMethod_build_messages
Construct the system and user message sequence enforcing a JSON schema.
AskAgent/python/llm_providers/huggingface.py:62
↓ 1 callersMethod_check_if_substitution_needed
Check if the retrieved recipes need substitutions based on user requirements.
AskAgent/python/methods/recipe_substitution.py:82
↓ 1 callersMethod_clean_for_json
Remove circular references and clean object for JSON serialization.
AskAgent/python/methods/ensemble_tool.py:488
↓ 1 callersFunction_collect_results
Collect result items and the message ids they originated from.
AskAgent/python/core/utils/appsdk_adapter.py:37
↓ 1 callersMethod_compute_rubric_features
Compute and normalize rubric features for a batch of items.
NLWebScorer/inference/scorer.py:89
↓ 1 callersMethod_convert_bing_result_to_nlweb_format
Convert a single Bing search result to NLWeb format. Args: bing_result: Single result from Bing API site: Si
AskAgent/python/retrieval_providers/bing_search_client.py:227
↓ 1 callersFunction_create_client_params
Extract client parameters from endpoint config.
AskAgent/python/retrieval_providers/qdrant_retrieve.py:26
↓ 1 callersMethod_create_client_params
Extract client parameters from endpoint config.
AskAgent/python/retrieval_providers/elasticsearch_client.py:94
↓ 1 callersMethod_create_client_params
Extract client parameters from endpoint config.
AskAgent/python/retrieval_providers/qdrant.py:107
↓ 1 callersMethod_create_index
Create the conversation index with appropriate fields.
AskAgent/python/storage_providers/azure_search_storage.py:99
↓ 1 callersMethod_create_index_definition
Create and return an index definition with specified embedding size
AskAgent/python/retrieval_providers/azure_search_client.py:148
↓ 1 callersMethod_create_index_if_not_exists
Create the Elasticsearch index with proper vector mapping if it doesn't exist. Args: index_name: Optional index name (de
AskAgent/python/storage_providers/elasticsearch_storage.py:84
↓ 1 callersMethod_create_reverse_dcid_mapping
Create a reverse mapping from DCIDs to human-readable names.
AskAgent/python/methods/statistics_handler.py:73
↓ 1 callersMethod_create_site_filter
Create a Qdrant filter for site filtering. Args: site: Site or list of sites to filter by Returns:
AskAgent/python/retrieval_providers/qdrant.py:463
↓ 1 callersMethod_create_vector_properties
Extract embedding properties from endpoint config.
AskAgent/python/retrieval_providers/elasticsearch_client.py:106
↓ 1 callersMethod_create_vector_search_config
Create and return a vector search configuration
AskAgent/python/retrieval_providers/azure_search_client.py:124
↓ 1 callersMethod_dispatch_log
Dispatch log message to the appropriate logger method based on level
AskAgent/python/misc/logger/logging_config_helper.py:279
↓ 1 callersMethod_drain_queue
Process all remaining items in the queue
AskAgent/python/misc/logger/logging_config_helper.py:305
↓ 1 callersFunction_ensure_list
Return value as list, filtering out falsy entries.
AskAgent/python/core/utils/appsdk_adapter.py:11
↓ 1 callersMethod_ensure_log_directory
Resolve log directory path (but don't create it yet)
AskAgent/python/misc/logger/logging_config_helper.py:85
↓ 1 callersFunction_ensure_package_installed
Ensure the required packages for an LLM type are installed. Args: llm_type: The type of LLM provider
AskAgent/python/core/llm.py:55
↓ 1 callersMethod_evaluate_item_match
Evaluate if an item matches the requested item.
AskAgent/python/methods/compare_items.py:94
↓ 1 callersMethod_evaluate_item_match
Evaluate if an item matches the requested item. If the score is above 75, also extract the details that the user is looking for.
AskAgent/python/methods/item_details.py:105
↓ 1 callersMethod_evaluate_tool
Evaluate a single tool for the query.
AskAgent/python/core/router.py:555
↓ 1 callersMethod_evaluate_tools_with_early_termination
Evaluate tools asynchronously with early termination for high-scoring results. Args: query: The query to evaluate too
AskAgent/python/core/router.py:232
↓ 1 callersMethod_execute_parallel_retrieval_and_ranking
Execute retrieval and ranking in parallel for all queries.
AskAgent/python/methods/ensemble_tool.py:406
↓ 1 callersMethod_execute_steps
Execute retrieval steps. Returns (step_results, sql_queries).
DataFinder/translator/plan_executor.py:87
↓ 1 callersFunction_extract_answer_payload
Return the answer payload (if any) from a message.
AskAgent/python/core/utils/appsdk_adapter.py:20
↓ 1 callersMethod_extract_domain_from_url
Extract domain from URL for site identification.
AskAgent/python/retrieval_providers/bing_search_client.py:93
↓ 1 callersFunction_extract_legacy_results
Pull result items from legacy payload structures.
AskAgent/python/core/utils/appsdk_adapter.py:61
↓ 1 callersMethod_extract_messages
(payload: Any)
AskAgent/python/webserver/appsdk_adapter_server.py:258
↓ 1 callersMethod_extract_product_info_from_snippet
Extract product information from title and snippet text. Args: title: Page title from Bing result snippet: S
AskAgent/python/retrieval_providers/bing_search_client.py:105
↓ 1 callersMethod_extract_query_texts
Extract just the query text from previous queries. Handles both simple string lists and complex nested structures.
AskAgent/python/core/baseHandler.py:244
↓ 1 callersMethod_extract_query_value
( params: dict[str, Any], json_body: dict[str, Any] | None, data_body: dict[str, Any]
AskAgent/python/webserver/appsdk_adapter_server.py:157
↓ 1 callersMethod_extract_schema_types
Recursively extract @type values from schema objects.
AskAgent/python/scraping/incrementalCrawlAndLoad.py:123
↓ 1 callersMethod_fetch_page
Fetch a single page and return HTML content and size.
AskAgent/python/scraping/incrementalCrawlAndLoad.py:192
↓ 1 callersMethod_find_config_file
Find the config file by checking multiple possible locations
AskAgent/python/misc/logger/logging_config_helper.py:23
↓ 1 callersMethod_find_matching_items
Find items that match the requested item using parallel LLM calls.
AskAgent/python/methods/item_details.py:85
↓ 1 callersMethod_force_flush
Force all handlers to flush their buffers.
AskAgent/python/misc/logger/logger.py:159
↓ 1 callersMethod_format_results
Format Qdrant search results to match expected API: [url, text_json, name, site]. Args: search_result: Qdrant search res
AskAgent/python/retrieval_providers/qdrant.py:487
↓ 1 callersMethod_generate_ensemble_recommendations
Generate ensemble recommendations using LLM.
AskAgent/python/methods/ensemble_tool.py:670
↓ 1 callersMethod_generate_finished_description_v1
Generate finished pottery description with explicit negation.
AskAgent/python/tools/pottery_description_comparison.py:123
↓ 1 callersMethod_generate_finished_description_v2
Generate finished pottery description with contextual phrasing.
AskAgent/python/tools/pottery_description_comparison.py:145
↓ 1 callersMethod_generate_finished_description_v3
Generate finished pottery description with category prefixing.
AskAgent/python/tools/pottery_description_comparison.py:167
↓ 1 callersMethod_generate_substitutions
Generate substitution suggestions using LLM.
AskAgent/python/methods/recipe_substitution.py:95
↓ 1 callersMethod_generate_supply_description_v1
Generate supply store description with explicit negation.
AskAgent/python/tools/pottery_description_comparison.py:112
↓ 1 callersMethod_generate_supply_description_v2
Generate supply store description with contextual phrasing.
AskAgent/python/tools/pottery_description_comparison.py:134
↓ 1 callersMethod_generate_supply_description_v3
Generate supply store description with category prefixing.
AskAgent/python/tools/pottery_description_comparison.py:156
↓ 1 callersFunction_get_async_processor
Get or create the global async log processor
AskAgent/python/misc/logger/logging_config_helper.py:352
↓ 1 callersMethod_get_base_output_directory
Get the base directory for all output files from the environment variable. Returns None if the environment variable is not set.
AskAgent/python/core/config.py:194
↓ 1 callersMethod_get_cached_sites
Get sites list with caching and background refresh. Uses stale-while-revalidate pattern for better performance. Returns:
AskAgent/python/core/retriever.py:289
↓ 1 callersMethod_get_cf_sdk_client
Get or create a Cloudflare SDK client. Returns: Cloudflare instance
AskAgent/python/retrieval_providers/cf_autorag_client.py:93
↓ 1 callersMethod_get_config_directory
Get the configuration directory from environment variable or use default. Default is NLWeb/config relative to the code directory.
AskAgent/python/core/config.py:169
↓ 1 callersMethod_get_config_from_postgres_connection_string
Parse the PostgreSQL connection string and return a dictionary of configuration parameters. Args: connection_string: Pos
AskAgent/python/retrieval_providers/postgres_client.py:85
↓ 1 callersMethod_get_connection_pool
Get or create the connection pool for PostgreSQL. Connection pooling is used for better performance and resource management.
AskAgent/python/retrieval_providers/postgres_client.py:139
↓ 1 callersMethod_get_default_config
Get default configuration
AskAgent/python/webserver/aiohttp_server.py:66
↓ 1 callersMethod_get_endpoint_config
Get the PostgreSQL endpoint configuration from CONFIG Returns: Tuple of (RetrievalProviderConfig)
AskAgent/python/retrieval_providers/postgres_client.py:112
↓ 1 callersMethod_get_endpoint_config
Get the Elasticsearch endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/elasticsearch_client.py:77
↓ 1 callersMethod_get_endpoint_config
Get the OpenSearch endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/opensearch_client.py:66
↓ 1 callersMethod_get_endpoint_config
Get the Qdrant endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/qdrant.py:57
↓ 1 callersMethod_get_endpoint_config
Get the Cloudflare SDK endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/cf_autorag_client.py:76
↓ 1 callersMethod_get_endpoint_config
Get the Milvus endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/milvus_client.py:58
↓ 1 callersMethod_get_endpoint_config
Get the Azure Search endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/azure_search_client.py:70
↓ 1 callersMethod_get_endpoint_config
Get the Bing Search endpoint configuration from CONFIG
AskAgent/python/retrieval_providers/bing_search_client.py:53
↓ 1 callersMethod_get_item_by_url
Get item details using URL-based retrieval.
AskAgent/python/methods/item_details.py:166
↓ 1 callersFunction_get_nlweb_scorer
Get or create the NLWebScorer instance (lazy-loaded on first use).
AskAgent/python/core/ranking.py:55
↓ 1 callersFunction_handle_regular_response
Handle non-streaming response from NLWebServer. Args: session: The aiohttp session endpoint: The endpoint URL params
AskAgent/python/core/utils/nlweb_client.py:73
↓ 1 callersFunction_handle_streaming_response
Handle streaming (SSE) response from NLWebServer. Args: session: The aiohttp session endpoint: The endpoint URL para
AskAgent/python/core/utils/nlweb_client.py:108
↓ 1 callersMethod_html_file_exists
Check if HTML file for URL already exists.
AskAgent/python/scraping/incrementalCrawlAndLoad.py:212
↓ 1 callersMethod_infer_numeric_property
Infer a numeric property for SUM/AVG based on alias and type.
DataFinder/translator/semantic_to_sql.py:566
↓ 1 callersMethod_initialize_client
Initialize the Elasticsearch client
AskAgent/python/embedding_providers/elasticsearch_embedding.py:52
↓ 1 callersMethod_join
Join results from two steps by a common key. Returns dict: {entity_key: {"entity": left_row, "associated": [right_rows]}}
DataFinder/translator/plan_executor.py:117
↓ 1 callersFunction_llm_map_values
Use LLM to map unknown NL values to ontology filter specs.
DataFinder/translator/value_mapper.py:79
↓ 1 callersMethod_load_all
(self, mappings_dir: str)
DataFinder/translator/mapping_parser.py:36
↓ 1 callersMethod_load_config
Load configuration from YAML file
AskAgent/python/misc/logger/logging_config_helper.py:57
↓ 1 callersMethod_load_config
Load configuration from YAML file
AskAgent/python/webserver/aiohttp_server.py:44
↓ 1 callersMethod_load_dcid_mappings
Load DCID mappings from the JSON file.
AskAgent/python/methods/statistics_handler.py:61
↓ 1 callersMethod_load_status
Load crawl status from file or create new one.
AskAgent/python/scraping/incrementalCrawlAndLoad.py:87
↓ 1 callersMethod_load_templates
Load query templates from the statistics_templates.txt file.
AskAgent/python/methods/statistics_handler.py:34
← previousnext →501–600 of 2,264, ranked by callers