Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nlweb-ai/NLWeb
/ functions
Functions
2,264 in github.com/nlweb-ai/NLWeb
⨍
Functions
2,264
◇
Types & classes
290
↳
Endpoints
4
↓ 4 callers
Method
simulate_ai_response
Simulate AI response in conversation.
tests/e2e/test_multi_participant.py:144
↓ 4 callers
Method
start
Start the server
AskAgent/python/webserver/aiohttp_server.py:157
↓ 4 callers
Function
translate_to_semantic
Translate a natural language question to a semantic query JSON.
DataFinder/translator/nl_to_semantic.py:140
↓ 4 callers
Function
type_print
Print text with typewriter effect
DataFinder/record_demo_auto.py:29
↓ 4 callers
Method
updateConversationsList
()
static/chat-interface-unified.js:1652
↓ 4 callers
Method
updateURL
()
static/chat-interface-unified.js:1660
↓ 4 callers
Function
widgetMeta
(widget: NLWebWidget)
openai-apps-sdk-integration/nlweb_server_node/src/server.ts:28
↓ 4 callers
Function
write_jsonl
(data: list[dict], path: Path)
NLWebScorer/data/prepare_data.py:545
↓ 3 callers
Method
__init__
(self, handler)
AskAgent/python/core/query_analysis/decontextualize.py:27
↓ 3 callers
Function
_build_example
Build a single training example with all rubric features.
NLWebScorer/data/prepare_data.py:362
↓ 3 callers
Function
_extract_readable_text
Extract human-readable text from schema JSON, avoiding noise like URLs and JSON syntax.
NLWebScorer/data/prepare_data.py:198
↓ 3 callers
Method
_find_column_in_table
(self, database: str, table: str, ont_property: str)
DataFinder/translator/semantic_to_sql.py:584
↓ 3 callers
Method
_find_matching_items
Find items that match the requested item using parallel LLM calls.
AskAgent/python/methods/compare_items.py:71
↓ 3 callers
Function
_forward_batch
Extract inputs from batch and run forward pass.
NLWebScorer/training/train_modernbert.py:79
↓ 3 callers
Method
_get_index_client
Get the Azure AI Search index client for managing indices
AskAgent/python/retrieval_providers/azure_search_client.py:87
↓ 3 callers
Function
_normalize_bool
(value: str | None, default: bool = False)
AskAgent/python/webserver/appsdk_adapter_server.py:30
↓ 3 callers
Function
_parse_schema
Parse schema.org JSON, handling lists and errors.
NLWebScorer/data/prepare_data.py:56
↓ 3 callers
Method
_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 callers
Method
_send_error_message
Send an error message to the user.
AskAgent/python/methods/statistics_handler.py:801
↓ 3 callers
Method
_send_no_items_found_message
Send message when items cannot be found for comparison.
AskAgent/python/methods/compare_items.py:177
↓ 3 callers
Method
_send_no_results_message
Send message when no matching accompaniments are found.
AskAgent/python/methods/accompaniment.py:73
↓ 3 callers
Method
_send_no_results_message
Send message when no matching conversations are found.
AskAgent/python/methods/conversation_search.py:204
↓ 3 callers
Function
_stable_repr
Generate a hashable representation for potentially nested data structures.
AskAgent/python/core/utils/appsdk_adapter.py:223
↓ 3 callers
Function
bt
(e)
static/dompurify.min.js:2
↓ 3 callers
Function
build_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 callers
Method
check_package_installed
Check if a package is installed.
check_dependencies.py:43
↓ 3 callers
Function
collateObjAttr
(obj)
AskAgent/python/core/utils/json_utils.py:95
↓ 3 callers
Function
collateObjAttr
(obj)
AskAgent/python/core/utils/trim.py:93
↓ 3 callers
Method
createIntermediateMessageHtml
(message)
static/streaming.js:415
↓ 3 callers
Method
createJsonItemHtml
(jsonItem)
static/streaming.js:243
↓ 3 callers
Function
createMediaQueryFn
(query: string)
openai-apps-sdk-integration/src/media-queries.ts:5
↓ 3 callers
Method
create_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 callers
Method
debug
Log a debug message asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:378
↓ 3 callers
Method
delete_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 callers
Method
expand_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 callers
Method
extractImageInternal
* 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 callers
Method
extractImageUrlFromImageObject
(imageObj)
static/streaming.js:374
↓ 3 callers
Function
extract_schema_type
Extract @type from schema.org JSON.
NLWebScorer/data/prepare_data.py:69
↓ 3 callers
Method
from_dict
Create Message from dictionary.
AskAgent/python/core/schemas.py:143
↓ 3 callers
Method
generate_improved_description
Generate improved description using specified strategy.
AskAgent/python/tools/pottery_description_comparison.py:86
↓ 3 callers
Method
getMessages
* Get all messages for a conversation
static/indexed-storage.js:123
↓ 3 callers
Method
get_all_env_vars
Get all environment variables and their current values
AskAgent/python/misc/logger/logging_config_helper.py:195
↓ 3 callers
Function
get_all_pages
(url, headers, params=None)
demo/extract_github_data.py:17
↓ 3 callers
Function
get_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 callers
Function
get_handler
Get or create the global handler instance
AgentFinder/code/who_handler.py:341
↓ 3 callers
Function
get_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 callers
Method
get_model_task_type
Get the model task type for the configured inference endpoint (self._model).
AskAgent/python/embedding_providers/elasticsearch_embedding.py:80
↓ 3 callers
Function
get_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 callers
Method
get_parallel
(self)
ModelRouter/nlweb_router/scripts/score_azure_oai.py:127
↓ 3 callers
Method
get_parallel
(self)
ModelRouter/nlweb_router/scripts/score_openrouter.py:132
↓ 3 callers
Method
get_participant_info
(self)
tests/unit/test_participants.py:55
↓ 3 callers
Method
get_percentiles
Get latency percentiles for operation.
tests/performance/test_latency.py:79
↓ 3 callers
Method
get_ranked_answers
(self)
AskAgent/python/core/baseHandler.py:425
↓ 3 callers
Method
get_stats
Get handler statistics
AgentFinder/code/who_handler.py:304
↓ 3 callers
Method
get_tools_by_type
Get tools for a specific schema type, including inherited tools from parent types.
AskAgent/python/core/router.py:293
↓ 3 callers
Function
gt
()
static/dompurify.min.js:2
↓ 3 callers
Function
handleSearch
()
code/wordpress/nlweb/assets/nlweb-frontend.js:37
↓ 3 callers
Method
hideCenteredInput
()
static/chat-interface-unified.js:1272
↓ 3 callers
Method
info
Log an info message asynchronously.
AskAgent/python/misc/logger/logging_config_helper.py:382
↓ 3 callers
Method
initialize
Initialize the Qdrant client and create collection if needed.
AskAgent/python/storage_providers/qdrant_storage.py:43
↓ 3 callers
Method
is_analyze_query_enabled
Check if query analysis is enabled.
AskAgent/python/core/config.py:625
↓ 3 callers
Method
is_decontextualize_enabled
Check if decontextualization is enabled.
AskAgent/python/core/config.py:629
↓ 3 callers
Method
join_conversation
Join a conversation.
tests/e2e/test_multi_participant.py:76
↓ 3 callers
Function
jsonify
(obj)
AskAgent/python/core/utils/trim.py:10
↓ 3 callers
Method
loadConversation
(conversationId)
static/chat-interface-unified.js:1579
↓ 3 callers
Function
loadJsonWithEmbeddingsToDB
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 callers
Function
load_jsonl
(path: str)
NLWebScorer/training/train_gam.py:26
↓ 3 callers
Function
log_unknown_provider
Log an unknown provider configuration
AskAgent/python/testing/check_connectivity.py:38
↓ 3 callers
Function
log_unknown_provider
Log an unknown provider configuration
AskAgent/python/testing/connectivity/check_connectivity.py:36
↓ 3 callers
Function
normalize_features
Normalize scalar features to zero mean, unit variance. Returns normalized features and stats dict (for inference).
NLWebScorer/training/train_gam.py:55
↓ 3 callers
Function
parse_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 callers
Function
prepare_features
Extract handcrafted features from examples as tensors.
NLWebScorer/training/train_gam.py:36
↓ 3 callers
Method
print_summary
Print test summary in a formatted way.
AskAgent/python/testing/base_test_runner.py:225
↓ 3 callers
Method
print_summary
Print overall summary of all queries
AskAgent/python/testing/test_queries_and_rss.py:142
↓ 3 callers
Function
process_work
Process a work item with semaphore control.
ModelRouter/nlweb_router/scripts/score_openrouter.py:427
↓ 3 callers
Function
read_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 callers
Method
registerAll
* Registers all type renderers with a JSON renderer * * @param {JsonRenderer} jsonRenderer - The JSON renderer to register with
static/type-renderers.js:152
↓ 3 callers
Method
registerTypeRenderer
* 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 callers
Method
render
* 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 callers
Method
sanitizeUrl
* Sanitize a URL to prevent dangerous protocols
static/chat-ui-common.js:47
↓ 3 callers
Method
saveConversations
()
static/conversation-manager.js:104
↓ 3 callers
Function
search
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 callers
Function
search_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 callers
Method
search_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 callers
Method
send_authenticated_message
Send message through authenticated WebSocket.
tests/security/test_auth.py:143
↓ 3 callers
Method
send_typing
Send typing indicator.
tests/integration/test_websocket.py:115
↓ 3 callers
Method
set_level
Set the logging verbosity level.
AskAgent/python/misc/logger/logger.py:130
↓ 3 callers
Method
showCenteredInput
()
static/chat-interface-unified.js:1041
↓ 3 callers
Method
showDropdown
()
static/nlweb-dropdown-chat.js:497
↓ 3 callers
Method
showError
(message)
static/chat-interface-unified.js:1328
↓ 3 callers
Function
siteToItemType
(site)
AskAgent/python/core/utils/utils.py:63
↓ 3 callers
Function
site_supports_standard_retrieval
Check if a site supports standard vector database retrieval
AskAgent/python/core/fastTrack.py:25
↓ 3 callers
Function
summarize
Summarize query results into natural language.
DataFinder/translator/summarize_results.py:10
↓ 3 callers
Method
updateUIForLoggedInUser
(user)
static/oauth-login.js:267
↓ 3 callers
Method
upload_documents
Upload documents to the database. Args: documents: List of document objects **kwargs: Additional parameters
AskAgent/python/core/retriever.py:744
↓ 3 callers
Method
wait_for_message
Wait for a specific type of message.
tests/integration/test_websocket.py:139
↓ 3 callers
Method
wait_for_message
Wait for a specific type of message.
tests/e2e/test_multi_participant_real.py:96
↓ 3 callers
Function
write_list
(name: str, picks: list[str])
ModelRouter/nlweb_router/scripts/fetch_cheapest_models.py:86
↓ 3 callers
Method
write_sse_event
Write a named SSE event (v0.55 format): event: X\\ndata: {...}\\n\\n
AskAgent/python/webserver/aiohttp_streaming_wrapper.py:45
↓ 2 callers
Function
Dt
(e)
static/dompurify.min.js:2
← previous
next →
201–300 of 2,264, ranked by callers