MCPcopy Create free account

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

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

↓ 4 callersMethodsimulate_ai_response
Simulate AI response in conversation.
tests/e2e/test_multi_participant.py:144
↓ 4 callersMethodstart
Start the server
AskAgent/python/webserver/aiohttp_server.py:157
↓ 4 callersFunctiontranslate_to_semantic
Translate a natural language question to a semantic query JSON.
DataFinder/translator/nl_to_semantic.py:140
↓ 4 callersFunctiontype_print
Print text with typewriter effect
DataFinder/record_demo_auto.py:29
↓ 4 callersMethodupdateConversationsList
()
static/chat-interface-unified.js:1652
↓ 4 callersMethodupdateURL
()
static/chat-interface-unified.js:1660
↓ 4 callersFunctionwidgetMeta
(widget: NLWebWidget)
openai-apps-sdk-integration/nlweb_server_node/src/server.ts:28
↓ 4 callersFunctionwrite_jsonl
(data: list[dict], path: Path)
NLWebScorer/data/prepare_data.py:545
↓ 3 callersMethod__init__
(self, handler)
AskAgent/python/core/query_analysis/decontextualize.py:27
↓ 3 callersFunction_build_example
Build a single training example with all rubric features.
NLWebScorer/data/prepare_data.py:362
↓ 3 callersFunction_extract_readable_text
Extract human-readable text from schema JSON, avoiding noise like URLs and JSON syntax.
NLWebScorer/data/prepare_data.py:198
↓ 3 callersMethod_find_column_in_table
(self, database: str, table: str, ont_property: str)
DataFinder/translator/semantic_to_sql.py:584
↓ 3 callersMethod_find_matching_items
Find items that match the requested item using parallel LLM calls.
AskAgent/python/methods/compare_items.py:71
↓ 3 callersFunction_forward_batch
Extract inputs from batch and run forward pass.
NLWebScorer/training/train_modernbert.py:79
↓ 3 callersMethod_get_index_client
Get the Azure AI Search index client for managing indices
AskAgent/python/retrieval_providers/azure_search_client.py:87
↓ 3 callersFunction_normalize_bool
(value: str | None, default: bool = False)
AskAgent/python/webserver/appsdk_adapter_server.py:30
↓ 3 callersFunction_parse_schema
Parse schema.org JSON, handling lists and errors.
NLWebScorer/data/prepare_data.py:56
↓ 3 callersMethod_resolve_path
Resolve relative paths to absolute paths. Args: path: The path to resolve Returns: str: Absolute pa
AskAgent/python/retrieval_providers/qdrant.py:74
↓ 3 callersMethod_send_error_message
Send an error message to the user.
AskAgent/python/methods/statistics_handler.py:801
↓ 3 callersMethod_send_no_items_found_message
Send message when items cannot be found for comparison.
AskAgent/python/methods/compare_items.py:177
↓ 3 callersMethod_send_no_results_message
Send message when no matching accompaniments are found.
AskAgent/python/methods/accompaniment.py:73
↓ 3 callersMethod_send_no_results_message
Send message when no matching conversations are found.
AskAgent/python/methods/conversation_search.py:204
↓ 3 callersFunction_stable_repr
Generate a hashable representation for potentially nested data structures.
AskAgent/python/core/utils/appsdk_adapter.py:223
↓ 3 callersFunctionbt
(e)
static/dompurify.min.js:2
↓ 3 callersFunctionbuild_nlweb_gateway_url
Build a complete URL to the NLWeb gateway with query parameters. Args: site_url: The site domain (will be cleaned of https:// if pre
AskAgent/python/core/utils/utils.py:19
↓ 3 callersMethodcheck_package_installed
Check if a package is installed.
check_dependencies.py:43
↓ 3 callersFunctioncollateObjAttr
(obj)
AskAgent/python/core/utils/json_utils.py:95
↓ 3 callersFunctioncollateObjAttr
(obj)
AskAgent/python/core/utils/trim.py:93
↓ 3 callersMethodcreateIntermediateMessageHtml
(message)
static/streaming.js:415
↓ 3 callersMethodcreateJsonItemHtml
(jsonItem)
static/streaming.js:243
↓ 3 callersFunctioncreateMediaQueryFn
(query: string)
openai-apps-sdk-integration/src/media-queries.ts:5
↓ 3 callersMethodcreate_index_if_not_exists
Create the OpenSearch index with proper kNN vector mapping if it doesn't exist. Args: index_name: Optional index name (d
AskAgent/python/retrieval_providers/opensearch_client.py:103
↓ 3 callersMethoddebug
Log a debug message asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:378
↓ 3 callersMethoddelete_index
Delete the OpenSearch index. Args: index_name: Optional index name (defaults to configured index name) Returns:
AskAgent/python/retrieval_providers/opensearch_client.py:245
↓ 3 callersMethodexpand_test_cases_for_providers
Expand test cases that have llm_provider: "all" to test all available providers. Args: test_cases: Original test cases
AskAgent/python/testing/base_test_runner.py:315
↓ 3 callersMethodextractImageInternal
* Extracts an image URL from various image formats * * @param {*} image - The image data * @returns {string|null} - The image URL or null
static/json-renderer.js:438
↓ 3 callersMethodextractImageUrlFromImageObject
(imageObj)
static/streaming.js:374
↓ 3 callersFunctionextract_schema_type
Extract @type from schema.org JSON.
NLWebScorer/data/prepare_data.py:69
↓ 3 callersMethodfrom_dict
Create Message from dictionary.
AskAgent/python/core/schemas.py:143
↓ 3 callersMethodgenerate_improved_description
Generate improved description using specified strategy.
AskAgent/python/tools/pottery_description_comparison.py:86
↓ 3 callersMethodgetMessages
* Get all messages for a conversation
static/indexed-storage.js:123
↓ 3 callersMethodget_all_env_vars
Get all environment variables and their current values
AskAgent/python/misc/logger/logging_config_helper.py:195
↓ 3 callersFunctionget_all_pages
(url, headers, params=None)
demo/extract_github_data.py:17
↓ 3 callersFunctionget_available_providers
Get a list of LLM providers that have their required API keys available. Returns: List of provider names that are available for use.
AskAgent/python/core/llm.py:269
↓ 3 callersFunctionget_handler
Get or create the global handler instance
AgentFinder/code/who_handler.py:341
↓ 3 callersFunctionget_logger
Get or create a logger instance with caching. Args: name: Logger name level_env_var: Environment variable name for log level
AskAgent/python/misc/logger/logger.py:219
↓ 3 callersMethodget_model_task_type
Get the model task type for the configured inference endpoint (self._model).
AskAgent/python/embedding_providers/elasticsearch_embedding.py:80
↓ 3 callersFunctionget_next_work
Get next work item using round-robin across models for fairness. Round-robin ensures we cycle through models fairly when selecting, b
ModelRouter/nlweb_router/scripts/score_openrouter.py:436
↓ 3 callersMethodget_parallel
(self)
ModelRouter/nlweb_router/scripts/score_azure_oai.py:127
↓ 3 callersMethodget_parallel
(self)
ModelRouter/nlweb_router/scripts/score_openrouter.py:132
↓ 3 callersMethodget_participant_info
(self)
tests/unit/test_participants.py:55
↓ 3 callersMethodget_percentiles
Get latency percentiles for operation.
tests/performance/test_latency.py:79
↓ 3 callersMethodget_ranked_answers
(self)
AskAgent/python/core/baseHandler.py:425
↓ 3 callersMethodget_stats
Get handler statistics
AgentFinder/code/who_handler.py:304
↓ 3 callersMethodget_tools_by_type
Get tools for a specific schema type, including inherited tools from parent types.
AskAgent/python/core/router.py:293
↓ 3 callersFunctiongt
()
static/dompurify.min.js:2
↓ 3 callersFunctionhandleSearch
()
code/wordpress/nlweb/assets/nlweb-frontend.js:37
↓ 3 callersMethodhideCenteredInput
()
static/chat-interface-unified.js:1272
↓ 3 callersMethodinfo
Log an info message asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:382
↓ 3 callersMethodinitialize
Initialize the Qdrant client and create collection if needed.
AskAgent/python/storage_providers/qdrant_storage.py:43
↓ 3 callersMethodis_analyze_query_enabled
Check if query analysis is enabled.
AskAgent/python/core/config.py:625
↓ 3 callersMethodis_decontextualize_enabled
Check if decontextualization is enabled.
AskAgent/python/core/config.py:629
↓ 3 callersMethodjoin_conversation
Join a conversation.
tests/e2e/test_multi_participant.py:76
↓ 3 callersFunctionjsonify
(obj)
AskAgent/python/core/utils/trim.py:10
↓ 3 callersMethodloadConversation
(conversationId)
static/chat-interface-unified.js:1579
↓ 3 callersFunctionloadJsonWithEmbeddingsToDB
Load data from a file with precomputed embeddings into the database. The file should have 3 columns per row, separated by tabs: 1. URL f
AskAgent/python/data_loading/db_load.py:557
↓ 3 callersFunctionload_jsonl
(path: str)
NLWebScorer/training/train_gam.py:26
↓ 3 callersFunctionlog_unknown_provider
Log an unknown provider configuration
AskAgent/python/testing/check_connectivity.py:38
↓ 3 callersFunctionlog_unknown_provider
Log an unknown provider configuration
AskAgent/python/testing/connectivity/check_connectivity.py:36
↓ 3 callersFunctionnormalize_features
Normalize scalar features to zero mean, unit variance. Returns normalized features and stats dict (for inference).
NLWebScorer/training/train_gam.py:55
↓ 3 callersFunctionparse_rss_2_0
Parse an RSS 2.0 feed into Schema.org format. Args: root: XML root element feed_url: URL of the feed Returns: L
AskAgent/python/data_loading/rss2schema.py:228
↓ 3 callersFunctionprepare_features
Extract handcrafted features from examples as tensors.
NLWebScorer/training/train_gam.py:36
↓ 3 callersMethodprint_summary
Print test summary in a formatted way.
AskAgent/python/testing/base_test_runner.py:225
↓ 3 callersMethodprint_summary
Print overall summary of all queries
AskAgent/python/testing/test_queries_and_rss.py:142
↓ 3 callersFunctionprocess_work
Process a work item with semaphore control.
ModelRouter/nlweb_router/scripts/score_openrouter.py:427
↓ 3 callersFunctionread_file_lines
Read lines from a file, handling different encodings. Args: file_path: Path to the file Returns: List of lines from the
AskAgent/python/data_loading/db_load_utils.py:34
↓ 3 callersMethodregisterAll
* Registers all type renderers with a JSON renderer * * @param {JsonRenderer} jsonRenderer - The JSON renderer to register with
static/type-renderers.js:152
↓ 3 callersMethodregisterTypeRenderer
* Registers a renderer for a specific type * * @param {string} type - The type to register for * @param {Function} renderer - The renderer f
static/json-renderer.js:27
↓ 3 callersMethodrender
* Renders JSON as HTML for display * * @param {Object|string} json - The JSON to render * @returns {string} - HTML representation of the JSO
static/json-renderer.js:37
↓ 3 callersMethodsanitizeUrl
* Sanitize a URL to prevent dangerous protocols
static/chat-ui-common.js:47
↓ 3 callersMethodsaveConversations
()
static/conversation-manager.js:104
↓ 3 callersFunctionsearch
Send a search request to a Cortex Search Service which has the columns URL and SCHEMA. See: https://docs.snowflake.com/developer-guide/s
AskAgent/python/retrieval_providers/snowflake_client.py:62
↓ 3 callersFunctionsearch_all_sites
Search across all sites using a simplified interface. Args: query: The search query top_n: Number of results to return (defa
AskAgent/python/core/retriever.py:1137
↓ 3 callersMethodsearch_all_sites
Search across all sites. Args: query: Search query string num_results: Maximum number of results to return
AskAgent/python/core/retriever.py:962
↓ 3 callersMethodsend_authenticated_message
Send message through authenticated WebSocket.
tests/security/test_auth.py:143
↓ 3 callersMethodsend_typing
Send typing indicator.
tests/integration/test_websocket.py:115
↓ 3 callersMethodset_level
Set the logging verbosity level.
AskAgent/python/misc/logger/logger.py:130
↓ 3 callersMethodshowCenteredInput
()
static/chat-interface-unified.js:1041
↓ 3 callersMethodshowDropdown
()
static/nlweb-dropdown-chat.js:497
↓ 3 callersMethodshowError
(message)
static/chat-interface-unified.js:1328
↓ 3 callersFunctionsiteToItemType
(site)
AskAgent/python/core/utils/utils.py:63
↓ 3 callersFunctionsite_supports_standard_retrieval
Check if a site supports standard vector database retrieval
AskAgent/python/core/fastTrack.py:25
↓ 3 callersFunctionsummarize
Summarize query results into natural language.
DataFinder/translator/summarize_results.py:10
↓ 3 callersMethodupdateUIForLoggedInUser
(user)
static/oauth-login.js:267
↓ 3 callersMethodupload_documents
Upload documents to the database. Args: documents: List of document objects **kwargs: Additional parameters
AskAgent/python/core/retriever.py:744
↓ 3 callersMethodwait_for_message
Wait for a specific type of message.
tests/integration/test_websocket.py:139
↓ 3 callersMethodwait_for_message
Wait for a specific type of message.
tests/e2e/test_multi_participant_real.py:96
↓ 3 callersFunctionwrite_list
(name: str, picks: list[str])
ModelRouter/nlweb_router/scripts/fetch_cheapest_models.py:86
↓ 3 callersMethodwrite_sse_event
Write a named SSE event (v0.55 format): event: X\\ndata: {...}\\n\\n
AskAgent/python/webserver/aiohttp_streaming_wrapper.py:45
↓ 2 callersFunctionDt
(e)
static/dompurify.min.js:2
← previousnext →201–300 of 2,264, ranked by callers