MCPcopy Create free account

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

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

↓ 1 callersFunctiongenerate_deals
Generate ~80 deals. 60% open, 25% won, 15% lost.
DataFinder/generate_data.py:229
↓ 1 callersMethodgenerate_description
Generate a detailed 2000-word description for the store.
AskAgent/python/tools/site_description.py:241
↓ 1 callersFunctiongenerate_employees
()
DataFinder/generate_data.py:213
↓ 1 callersFunctiongenerate_synthetic_queries
Use GPT-4.1 to generate n natural, complex queries for a site.
NLWebScorer/data/generate_hard_negatives.py:253
↓ 1 callersMethodgetBridgeScript
* Get the bridge script to inject into the iframe
code/wordpress/nlweb/assets/nlweb-mcp-renderer.js:101
↓ 1 callersMethodgetConversations
()
static/conversation-manager.js:539
↓ 1 callersMethodgetDescription
(self, url, json_str, query, answer, name, site)
AskAgent/python/methods/generate_answer.py:145
↓ 1 callersMethodgetItemName
* Gets the name of an item * * @param {Object} item - The item data * @returns {string} - The item name
static/json-renderer.js:265
↓ 1 callersFunctiongetResultIcon
(result)
openai-apps-sdk-integration/src/nlweb-list/index.jsx:9
↓ 1 callersFunctiongetResultImage
(result)
openai-apps-sdk-integration/src/nlweb-list/index.jsx:25
↓ 1 callersFunctiongetResultRating
(result)
openai-apps-sdk-integration/src/nlweb-list/index.jsx:44
↓ 1 callersFunctiongetResultSubtitle
(result)
openai-apps-sdk-integration/src/nlweb-list/index.jsx:20
↓ 1 callersFunctiongetResultTitle
(result)
openai-apps-sdk-integration/src/nlweb-list/index.jsx:16
↓ 1 callersMethodgetTimeInfo
* Extracts and formats time information from schema * * @param {Object} schema - The recipe schema * @returns {string} - Formatted tim
static/recipe-renderer.js:170
↓ 1 callersFunctiongetVisualizationTypeLabel
()
openai-apps-sdk-integration/src/nlweb-datacommons/VisualizationBlock.jsx:61
↓ 1 callersMethodget_all_payloads
Get all XSS payloads for comprehensive testing.
tests/security/test_validation.py:81
↓ 1 callersMethodget_allowed_sites
Get the list of allowed sites from NLWeb configuration.
AskAgent/python/core/config.py:605
↓ 1 callersFunctionget_api_key
Retrieve the API key for Gemini API from configuration.
AskAgent/python/embedding_providers/gemini_embedding.py:47
↓ 1 callersMethodget_api_key
Retrieve the OpenAI API key from environment or raise an error.
AskAgent/python/llm_providers/openai.py:41
↓ 1 callersMethodget_api_key
Get the Azure OpenAI API key from configuration.
AskAgent/python/llm_providers/azure_oai.py:46
↓ 1 callersMethodget_api_key
Retrieve the Anthropic API key from the environment or raise an error.
AskAgent/python/llm_providers/anthropic.py:38
↓ 1 callersMethodget_api_key
Get API key from environment variables.
AskAgent/python/llm_providers/inception.py:37
↓ 1 callersMethodget_api_key
Get DeepSeek Azure API key from config
AskAgent/python/llm_providers/azure_deepseek.py:48
↓ 1 callersMethodget_api_key
Retrieve the Hugging Face API key from environment or raise an error.
AskAgent/python/llm_providers/huggingface.py:41
↓ 1 callersMethodget_api_key
Get Llama Azure API key from config
AskAgent/python/llm_providers/azure_llama.py:48
↓ 1 callersMethodget_api_version
Get the Azure OpenAI API version from configuration.
AskAgent/python/llm_providers/azure_oai.py:66
↓ 1 callersMethodget_api_version
Get DeepSeek Azure API version from config
AskAgent/python/llm_providers/azure_deepseek.py:62
↓ 1 callersMethodget_api_version
Get Llama Azure API version from config
AskAgent/python/llm_providers/azure_llama.py:62
↓ 1 callersFunctionget_auth_method
Get the authentication method from configuration.
AskAgent/python/embedding_providers/azure_oai_embedding.py:45
↓ 1 callersMethodget_auth_method
Get the authentication method from configuration.
AskAgent/python/llm_providers/azure_oai.py:57
↓ 1 callersFunctionget_azure_batch_embeddings
Generate embeddings for multiple texts using Azure OpenAI. Args: texts: List of texts to embed model: The model deployment n
AskAgent/python/embedding_providers/azure_oai_embedding.py:174
↓ 1 callersFunctionget_azure_embedding
Generate embeddings using Azure OpenAI. Args: text: The text to embed model: The model deployment name to use (optional)
AskAgent/python/embedding_providers/azure_oai_embedding.py:118
↓ 1 callersMethodget_azure_endpoint
Get the Azure OpenAI endpoint from configuration.
AskAgent/python/llm_providers/azure_oai.py:35
↓ 1 callersMethodget_azure_endpoint
Get DeepSeek Azure endpoint from config
AskAgent/python/llm_providers/azure_deepseek.py:34
↓ 1 callersMethodget_azure_endpoint
Get Llama Azure endpoint from config
AskAgent/python/llm_providers/azure_llama.py:34
↓ 1 callersFunctionget_azure_openai_api_key
Get the Azure OpenAI API key from configuration.
AskAgent/python/embedding_providers/azure_oai_embedding.py:35
↓ 1 callersFunctionget_azure_openai_api_version
Get the Azure OpenAI API version from configuration.
AskAgent/python/embedding_providers/azure_oai_embedding.py:53
↓ 1 callersFunctionget_azure_openai_endpoint
Get the Azure OpenAI endpoint from configuration.
AskAgent/python/embedding_providers/azure_oai_embedding.py:25
↓ 1 callersFunctionget_bert_scores
Run BERT inference and return predicted scores as numpy array.
NLWebScorer/training/fit_rubric_weights.py:42
↓ 1 callersFunctionget_cached_values
(site, item_type, prompt_name)
AskAgent/python/core/prompts.py:166
↓ 1 callersMethodget_categories
Get all podcast categories from the main page
AskAgent/python/misc/podcast_scraper.py:113
↓ 1 callersMethodget_client
Configure and return an asynchronous OpenAI client.
AskAgent/python/llm_providers/openai.py:51
↓ 1 callersMethodget_client
Get or create Ollama client
AskAgent/python/llm_providers/ollama.py:46
↓ 1 callersMethodget_client
Get or initialize the Azure OpenAI client.
AskAgent/python/llm_providers/azure_oai.py:89
↓ 1 callersMethodget_client
Configure and return an async Anthropic client.
AskAgent/python/llm_providers/anthropic.py:51
↓ 1 callersMethodget_client
Get or create DeepSeek Azure client
AskAgent/python/llm_providers/azure_deepseek.py:73
↓ 1 callersMethodget_client
Configure and return an asynchronous Hugging Face client.
AskAgent/python/llm_providers/huggingface.py:51
↓ 1 callersMethodget_client
Get or create Llama Azure client
AskAgent/python/llm_providers/azure_llama.py:73
↓ 1 callersMethodget_command_vectors
Get command injection vectors.
tests/security/test_validation.py:124
↓ 1 callersMethodget_completion
Async chat completion using Google GenAI.
AskAgent/python/llm_providers/gemini.py:141
↓ 1 callersMethodget_config_defaults
Get default values from config files.
AskAgent/python/testing/end_to_end_tests.py:61
↓ 1 callersFunctionget_conversation_by_id
Get all conversations with the given conversation_id. Args: conversation_id: The conversation ID to retrieve limit: Optional
AskAgent/python/core/conversation_history.py:201
↓ 1 callersMethodget_conversation_by_id
Retrieve all conversations with the given conversation_id. Args: conversation_id: The conversation ID to retrieve
AskAgent/python/core/conversation_history.py:51
↓ 1 callersFunctionget_conversations
()
AskAgent/python/testing/storage/test_elasticsearch_storage.py:44
↓ 1 callersFunctionget_crawl_status
Compute crawl status from data files.
ModelRouter/nlweb_router/scripts/analysis_server.py:1352
↓ 1 callersMethodget_default_sitemaps
Try default sitemap locations.
AskAgent/python/tools/site_description.py:181
↓ 1 callersFunctionget_difficulty_level
Compute difficulty level (1-5) based on query index within a site. Each site has queries organized as: - Indices 0-9: Level 1 (Very Easy)
ModelRouter/nlweb_router/scripts/retrieve_results.py:1043
↓ 1 callersFunctionget_documents_from_csv
Reads and parses documents from a CSV-style text file
AskAgent/python/data_loading/qdrant_load.py:32
↓ 1 callersFunctionget_embedding
Get a 1536-d embedding from Azure OpenAI.
ModelRouter/nlweb_router/scripts/retrieve_results.py:1004
↓ 1 callersFunctionget_embedding
(text: str, client: AzureOpenAI)
NLWebScorer/data/generate_holdout.py:250
↓ 1 callersFunctionget_embedding
(text, client)
NLWebScorer/data/generate_hard_negatives.py:130
↓ 1 callersMethodget_embedding
Get embedding vector for text
AgentFinder/code/llm_backend.py:33
↓ 1 callersMethodget_embedding
Synchronous wrapper for get_embedding_async. Args: text: Text to embed Returns: List of floats repr
AskAgent/python/tools/compute_embeddings.py:70
↓ 1 callersMethodget_embedding_async
Get embedding for a text using the embedding API. Args: text: Text to embed Returns: List of floats
AskAgent/python/tools/compute_embeddings.py:40
↓ 1 callersMethodget_errors
Get any server errors
scripts/run_tests_with_server.py:100
↓ 1 callersFunctionget_files_in_directory
(directory)
AskAgent/python/scraping/extractMarkup.py:63
↓ 1 callersFunctionget_files_in_directory
(directory)
AskAgent/python/misc/extractMarkup.py:51
↓ 1 callersFunctionget_gemini_batch_embeddings
Generate embeddings for multiple texts using Google GenAI. Note: Gemini API processes embeddings one at a time, so this function makes m
AskAgent/python/embedding_providers/gemini_embedding.py:144
↓ 1 callersFunctionget_gemini_embeddings
Generate an embedding for a single text using Google GenAI. Args: text: The text to embed model: Optional model ID to use, d
AskAgent/python/embedding_providers/gemini_embedding.py:68
↓ 1 callersMethodget_headers
Get the configured headers to include in responses.
AskAgent/python/core/config.py:547
↓ 1 callersMethodget_level
Get the current logging level.
AskAgent/python/misc/logger/logger.py:135
↓ 1 callersFunctionget_llm_backend
Get the configured LLM backend
AgentFinder/code/llm_backend.py:264
↓ 1 callersMethodget_model_from_config
Get the appropriate model from configuration based on tier.
AskAgent/python/llm_providers/gemini.py:53
↓ 1 callersMethodget_model_from_config
Get the appropriate model from configuration based on tier.
AskAgent/python/llm_providers/azure_oai.py:77
↓ 1 callersMethodget_module_config
Get configuration for a specific module
AskAgent/python/misc/logger/logging_config_helper.py:101
↓ 1 callersFunctionget_ollama_batch_embeddings
Generate embeddings for multiple texts using Ollama. Args: texts: List of texts to embed model: The model name to use (optio
AskAgent/python/embedding_providers/ollama_embedding.py:114
↓ 1 callersFunctionget_ollama_embedding
Generate embeddings using Ollama. Args: text: The text to embed model: The model name to use (optional) timeout: Max
AskAgent/python/embedding_providers/ollama_embedding.py:62
↓ 1 callersFunctionget_ollama_endpoint
Get the Ollama endpoint from configuration.
AskAgent/python/embedding_providers/ollama_embedding.py:26
↓ 1 callersMethodget_ollama_endpoint
Get Ollama endpoint from config
AskAgent/python/llm_providers/ollama.py:31
↓ 1 callersFunctionget_openai_api_key
Retrieve the OpenAI API key from configuration.
AskAgent/python/embedding_providers/openai_embedding.py:25
↓ 1 callersFunctionget_openai_batch_embeddings
Generate embeddings for multiple texts using OpenAI API. Args: texts: List of texts to embed model: Optional model ID to use
AskAgent/python/embedding_providers/openai_embedding.py:118
↓ 1 callersFunctionget_openai_embeddings
Generate an embedding for a single text using OpenAI API. Args: text: The text to embed model: Optional model ID to use, def
AskAgent/python/embedding_providers/openai_embedding.py:62
↓ 1 callersMethodget_podcasts_from_category
Get all podcasts from a category page
AskAgent/python/misc/podcast_scraper.py:133
↓ 1 callersMethodget_podcasts_from_organization
Get all podcasts from an organization page
AskAgent/python/misc/podcast_scraper.py:192
↓ 1 callersMethodget_processed_urls
Get set of URLs already processed from output file.
AskAgent/python/tools/site_description.py:43
↓ 1 callersMethodget_prompt
(self, prompt_name)
AskAgent/python/core/prompts.py:305
↓ 1 callersFunctionget_prompt_variable_value
(variable, handler)
AskAgent/python/core/prompts.py:88
↓ 1 callersFunctionget_prompt_variables_from_prompt
(prompt)
AskAgent/python/core/prompts.py:58
↓ 1 callersMethodget_ranked_answers
(self)
AskAgent/python/methods/generate_answer.py:116
↓ 1 callersMethodget_ranking_prompt
(self)
AskAgent/python/core/ranking.py:167
↓ 1 callersMethodget_ranking_prompt
Construct the WHO ranking prompt with the given query and site description.
AskAgent/python/core/whoRanking.py:37
↓ 1 callersFunctionget_recent_conversations
Get recent conversations for a user and site, grouped by thread. Args: user_id: User ID site: Site to filter by limi
AskAgent/python/core/conversation_history.py:215
↓ 1 callersMethodget_retry_delay
Calculate delay using exponential backoff algorithm. Base delay is 2 seconds, doubled for each attempt with some jitter.
AskAgent/python/scraping/expBackOffCrawl.py:147
↓ 1 callersFunctionget_scifi_movies
()
AskAgent/python/testing/retrieval/test_elasticsearch_retrieval.py:33
↓ 1 callersFunctionget_search_backend
Get the configured search backend
AgentFinder/code/search_backend.py:191
↓ 1 callersMethodget_site_config
Get site configuration for a specific site.
AskAgent/python/core/config.py:692
↓ 1 callersMethodget_sitemap_urls
Extract URLs from sitemap.
AskAgent/python/scraping/expand_json_descriptions.py:70
↓ 1 callersFunctionget_sitemaps_from_robots
Extract sitemap URLs from robots.txt
AskAgent/python/scraping/urlsFromSitemap.py:65
↓ 1 callersMethodget_sitemaps_from_robots
Extract sitemap URLs from robots.txt and detect store type. Returns: (sitemaps, store_type)
AskAgent/python/tools/site_description.py:63
↓ 1 callersFunctionget_sites
Get list of available sites from the database. Args: endpoint_name: Optional name of the endpoint to use query_params: Optio
AskAgent/python/core/retriever.py:1162
← previousnext →801–900 of 2,264, ranked by callers