id: 1 unit: export const useAppDispatch:() file: example-apps/chatbot-rag-app/frontend/src/store/provider.tsx start line: 116 end line: 297 size: 84 LOC McCabe index: 4 number of parameters: 0 id: 2 unit: def search() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 83 LOC McCabe index: 7 number of parameters: 2 id: 3 unit: def handle_search() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 80 LOC McCabe index: 5 number of parameters: 0 id: 4 unit: def _default_config() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 78 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: def openelm_generate_parser() file: supporting-blog-content/using-openelm-models/OpenELM/generate_openelm.py start line: 0 end line: 0 size: 75 LOC McCabe index: 5 number of parameters: 0 id: 6 unit: def main() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/stages/03-stage/index_all_modalities.py start line: 0 end line: 0 size: 73 LOC McCabe index: 4 number of parameters: 0 id: 7 unit: export default function ChatInput() file: example-apps/chatbot-rag-app/frontend/src/components/chat/input.tsx start line: 15 end line: 92 size: 71 LOC McCabe index: 7 number of parameters: 4 id: 8 unit: export default function IndexSelector() file: example-apps/relevance-workbench/app-ui/src/components/IndexSelector.js start line: 7 end line: 82 size: 70 LOC McCabe index: 6 number of parameters: 2 id: 9 unit: export default function SearchInput() file: example-apps/relevance-workbench/app-ui/src/components/SearchInput.js start line: 7 end line: 92 size: 64 LOC McCabe index: 2 number of parameters: 3 id: 10 unit: def handle_search() file: example-apps/search-tutorial/v2/search-tutorial/app.py start line: 0 end line: 0 size: 61 LOC McCabe index: 5 number of parameters: 0 id: 11 unit: def check_index() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 61 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: async onmessage() file: example-apps/chatbot-rag-app/frontend/src/store/provider.tsx start line: 183 end line: 245 size: 58 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: export function buildSearchOptionsFromConfig() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 87 end line: 149 size: 56 LOC McCabe index: 10 number of parameters: 0 id: 14 unit: export default function SettingsDropdown() file: example-apps/relevance-workbench/app-ui/src/components/SettingsDropdown.js start line: 7 end line: 63 size: 53 LOC McCabe index: 1 number of parameters: 2 id: 15 unit: def handle_search() file: example-apps/search-tutorial/v1/search-tutorial/app.py start line: 0 end line: 0 size: 53 LOC McCabe index: 5 number of parameters: 0 id: 16 unit: def parse_documents() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 52 LOC McCabe index: 6 number of parameters: 0 id: 17 unit: export default function SearchInput() file: example-apps/chatbot-rag-app/frontend/src/components/search_input.tsx start line: 7 end line: 59 size: 51 LOC McCabe index: 4 number of parameters: 3 id: 18 unit: public async Task SearchBooksAsync() file: supporting-blog-content/esre-with-blazor/elastic-blazor/Services/ElasticsearchService.cs start line: 177 end line: 268 size: 51 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: def main() file: example-apps/chatbot-rag-app/data/index_data.py start line: 0 end line: 0 size: 44 LOC McCabe index: 10 number of parameters: 0 id: 20 unit: def api_key() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 43 LOC McCabe index: 3 number of parameters: 0 id: 21 unit: def ask_question() file: example-apps/chatbot-rag-app/api/chat.py start line: 0 end line: 0 size: 42 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: def search_knn() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 42 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: async function maybeCreateIndex() file: example-apps/openai-embeddings/generate_embeddings.js start line: 17 end line: 57 size: 38 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: def search_products() file: supporting-blog-content/homecraft-vertex/pages/homecraft_finetuned.py start line: 0 end line: 0 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: def search_products() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 26 unit: def get_default_configuration() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: func main() file: supporting-blog-content/ollama-and-go-for-rag/main.go start line: 13 end line: 60 size: 36 LOC McCabe index: 3 number of parameters: 0 id: 28 unit: export default function ResultSet() file: example-apps/relevance-workbench/app-ui/src/components/ResultSet.js start line: 8 end line: 43 size: 35 LOC McCabe index: 3 number of parameters: 8 id: 29 unit: def get_tracks_metadata() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 34 LOC McCabe index: 15 number of parameters: 2 id: 30 unit: def build_query() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 33 LOC McCabe index: 5 number of parameters: 4 id: 31 unit: func SemanticRetriever() file: supporting-blog-content/ollama-and-go-for-rag/elasticsearch/elasticsearch.go start line: 31 end line: 76 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 32 unit: def search() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt.py start line: 0 end line: 0 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: def ESSearch() file: supporting-blog-content/ElasticGPT_Plugin/app.py start line: 0 end line: 0 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: def run_query_sync() file: supporting-blog-content/github-assistant/query.py start line: 0 end line: 0 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 35 unit: def get_hybrid_search_rrf_request_body() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 36 unit: def deploy_elser() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: def clone_repository() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 28 LOC McCabe index: 7 number of parameters: 4 id: 38 unit: def search_docs() file: supporting-blog-content/homecraft-vertex/pages/homecraft_finetuned.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: def search_docs() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: def extract_filters() file: example-apps/search-tutorial/v1/search-tutorial/app.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: def _load_model() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: def analyze_evidence() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/llm_analyzer.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: def install_elser() file: example-apps/chatbot-rag-app/data/index_data.py start line: 0 end line: 0 size: 24 LOC McCabe index: 8 number of parameters: 0 id: 44 unit: export default function App() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/App.js start line: 59 end line: 82 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: def create_index() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: def get_text_expansion_request_body() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 47 unit: def get_text_expansion_request_body() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 48 unit: async function getLastUpdateDate() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/azure_index.js start line: 18 end line: 42 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 49 unit: export function buildSortOptionsFromConfig() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 166 end line: 188 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: def get_facets_data() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 4 id: 51 unit: async function findRelevantContent() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 12 end line: 33 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: def get_es_vector_store() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: def process_evidence() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/stages/03-stage/index_all_modalities.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 6 id: 54 unit: def generate_embedding() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 55 unit: def search_semantic() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/search.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: async function fetchNasaData() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/loading_data_into_a_index.js start line: 22 end line: 49 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 57 unit: def _setup_index() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/elastic_manager.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: def create_index_embedding() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/infra.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: def search_lexical() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/search.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: async function indexDataIntoElasticsearch() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/loading_data_into_a_index.js start line: 75 end line: 99 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: export function buildAutocompleteQueryConfig() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 190 end line: 209 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 62 unit: def search_similar() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/elastic_manager.py start line: 0 end line: 0 size: 19 LOC McCabe index: 6 number of parameters: 4 id: 63 unit: def route_api_search() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: def _connect_elastic() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/elastic_manager.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: def generate_log_message() file: supporting-blog-content/elasticsearch-through-apache-kafka/kafka_producer.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: async function fetchNasaData() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/azure_index.js start line: 45 end line: 69 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: export function stripUnnecessaryResultFields() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 68 end line: 85 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: def _ent_search_config() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: def search_orders() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: async function runSemanticSearch() file: example-apps/openai-embeddings/search_app.js start line: 28 end line: 48 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: def create_index() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: function createStructuredData() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/loading_data_into_a_index.js start line: 52 end line: 72 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: function createStructuredData() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/azure_index.js start line: 72 end line: 91 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: def add() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 75 unit: def process_depth() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 16 LOC McCabe index: 7 number of parameters: 3 id: 76 unit: def create_index() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/infra_lexical_index.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: def get_notebook_name() file: notebooks/search/telemetry.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 78 unit: def get_notebook_name() file: telemetry/telemetry.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 79 unit: async function processFile() file: example-apps/openai-embeddings/generate_embeddings.js start line: 93 end line: 122 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 80 unit: export default function Document() file: example-apps/relevance-workbench/app-ui/src/pages/_document.js start line: 3 end line: 17 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: export default() file: example-apps/relevance-workbench/app-ui/src/pages/api/[...path].js start line: 14 end line: 29 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: def get_identities_index() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: async function run() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/loading_data_into_a_index.js start line: 102 end line: 121 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 84 unit: def search() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: def toLLM() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 7 id: 86 unit: def personas() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 87 unit: def await_ml_tasks() file: example-apps/chatbot-rag-app/data/index_data.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 88 unit: export function getConfig() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 12 end line: 28 size: 14 LOC McCabe index: 6 number of parameters: 0 id: 89 unit: model: openai() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 39 end line: 52 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: async onopen() file: example-apps/chatbot-rag-app/frontend/src/store/provider.tsx start line: 246 end line: 259 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 91 unit: def _merge_dicts() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 13 LOC McCabe index: 7 number of parameters: 2 id: 92 unit: def handle_exception() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: def bulk_index() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: export async function callApi() file: example-apps/internal-knowledge-search/app-ui/src/api/call_api.tsx start line: 3 end line: 14 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: def search() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: def create_index() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: export function buildFacetConfigFromConfig() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 151 end line: 164 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 98 unit: def _nest_configs() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 99 unit: func EsClient() file: supporting-blog-content/ollama-and-go-for-rag/elasticsearch/elasticsearch.go start line: 15 end line: 28 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 100 unit: def main() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 101 unit: def get_notebook_platform() file: notebooks/search/telemetry.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 102 unit: def enable_telemetry() file: notebooks/search/telemetry.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 103 unit: def get_notebook_platform() file: telemetry/telemetry.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 104 unit: def enable_telemetry() file: telemetry/telemetry.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 105 unit: async function bulkIndexDocs() file: example-apps/openai-embeddings/generate_embeddings.js start line: 59 end line: 74 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: async function generateEmbeddingsWithOpenAI() file: example-apps/openai-embeddings/generate_embeddings.js start line: 76 end line: 91 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: def insert_documents() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: def insert_documents() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 109 unit: export default function RootLayout() file: supporting-blog-content/customer-success-example/chat-example/app/layout.tsx start line: 6 end line: 16 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: def wrap_text() file: supporting-blog-content/github-assistant/evaluation.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 111 unit: private Dictionary ConvertFacetDictionary() file: supporting-blog-content/esre-with-blazor/elastic-blazor/Services/ElasticsearchService.cs start line: 270 end line: 280 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: def make_text_encoder() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/retrieval.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: async function generateEmbeddingsWithOpenAI() file: example-apps/openai-embeddings/search_app.js start line: 14 end line: 26 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: async function run() file: example-apps/openai-embeddings/generate_embeddings.js start line: 124 end line: 133 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: def execute_search_request() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: def indices() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 117 unit: def create_bulk_actions() file: supporting-blog-content/elasticsearch-through-apache-kafka/kafka_consumer.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 118 unit: def chat_gpt() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: def create_inference() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/infra.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: def __init__() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 121 unit: def get_text_search_request_body() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 122 unit: def execute_search_request_using_raw_dsl() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: def run_semantic_search() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 124 unit: def __init__() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: def __init__() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: onerror() file: example-apps/chatbot-rag-app/frontend/src/store/provider.tsx start line: 260 end line: 270 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 127 unit: def load_config() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: def _get_token_credentials() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: def _get_service_client() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: def generate() file: supporting-blog-content/using-openelm-models/OpenELM/generate_openelm.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: def facets() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: def initElastic() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: def print_docs_and_nodes() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 134 unit: def _format_evidence() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/llm_analyzer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 135 unit: def reduce_docs() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/state.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: def get_message_text() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 137 unit: def get_async_client() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/elasticsearch_connection.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: def transform_search_response() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 139 unit: def data_generator() file: example-apps/relevance-workbench/data/index-data.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 140 unit: elasticsearch host to call Elasticsearch directly() file: example-apps/internal-knowledge-search/app-ui/src/components/SearchApplicationSettings.tsx start line: 90 end line: 97 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: def extract_filters() file: example-apps/search-tutorial/v2/search-tutorial/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: def insert_document() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: def extract_filters() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: def insert_document() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: def search() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 146 unit: def __init__() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: def get_llm() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 148 unit: def _get_file_system_client() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 149 unit: def _get_directory_client() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: public ElasticsearchService() file: supporting-blog-content/esre-with-blazor/elastic-blazor/Services/ElasticsearchService.cs start line: 12 end line: 19 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 151 unit: def index_content() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/elastic_manager.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 152 unit: def send_log_batches() file: supporting-blog-content/elasticsearch-through-apache-kafka/kafka_producer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 153 unit: def check_pipeline() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 154 unit: def deploy_elser() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 155 unit: def get_ml_tasks() file: example-apps/chatbot-rag-app/data/index_data.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 156 unit: def api_chat() file: example-apps/chatbot-rag-app/api/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 157 unit: def init_openai_chat() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: def init_azure_chat() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: def __init__() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: def search_products() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: def genAI() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: def load_chat_model() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: def try_parsing_date() file: supporting-blog-content/spotify-to-elasticsearch/python/main.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 164 unit: def run_full_text_search() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 3 id: 165 unit: def reindex() file: example-apps/search-tutorial/v2/search-tutorial/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 166 unit: def reindex() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 167 unit: def reindex() file: example-apps/search-tutorial/v1/search-tutorial/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 168 unit: def insert_documents() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 169 unit: def init_vertex_chat() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: def init_bedrock() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: def create_index() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/infra/create_index.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 172 unit: def index_data_in_batches() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 173 unit: def __init__() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: def query() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: def _format_doc() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 176 unit: def chat_gpt() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: def chat_gpt() file: supporting-blog-content/ElasticGPT_Plugin/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: def __init__() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/elasticsearch_connection.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: def format_text() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/search.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 180 unit: def process_history() file: supporting-blog-content/spotify-to-elasticsearch/python/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: def find_id_index() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 182 unit: def default_settings() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 183 unit: def get_document() file: example-apps/search-tutorial/v2/search-tutorial/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: def reindex() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: def get_document() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: def reindex() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: def get_document() file: example-apps/search-tutorial/v1/search-tutorial/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: def reindex() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: def is_elser_fully_allocated() file: example-apps/chatbot-rag-app/data/index_data.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: def create_index() file: example-apps/chatbot-rag-app/api/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: def add_defaults() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 192 unit: def generate_bulk_actions() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 193 unit: def generate_docs() file: supporting-blog-content/customer-success-example/ingest.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 194 unit: def truncate_text() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 195 unit: def display_eval_df() file: supporting-blog-content/github-assistant/evaluation.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: public ElasticResponse() file: supporting-blog-content/esre-with-blazor/elastic-blazor/Models/Response.cs start line: 5 end line: 9 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 197 unit: def truncate_text() file: supporting-blog-content/homecraft-vertex/pages/homecraft_finetuned.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 198 unit: def truncate_text() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 199 unit: def __init__() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/elastic_manager.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: def format_docs() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 201 unit: def truncate_text() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 202 unit: def truncate_text() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 203 unit: def truncate_text() file: supporting-blog-content/ElasticGPT_Plugin/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 204 unit: def process_history_file() file: supporting-blog-content/spotify-to-elasticsearch/python/main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: def move_file() file: supporting-blog-content/spotify-to-elasticsearch/python/main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: def init_mistral_chat() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: def init_cohere_chat() file: example-apps/chatbot-rag-app/api/llm_integrations.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: def get_elasticsearch_chat_message_history() file: example-apps/chatbot-rag-app/api/elasticsearch_client.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 209 unit: async function indexDataIntoElasticsearch() file: supporting-blog-content/automatically-updating-your-index-nodejs-azure/azure_index.js start line: 94 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: export function getResultTitle() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 60 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: def get_client_es() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/infra/create_index.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: def get_client_es() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: def get_text_vector() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: def read_json_file() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: def get_client_es() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: def get_text_vector() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: export async function POST() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 35 end line: 63 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 218 unit: getInformation: tool() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 45 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 219 unit: def _generate_vector() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: def collect_and_print_file_summary() file: supporting-blog-content/github-assistant/index.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 221 unit: def es_connect() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 222 unit: def initAPM() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt-summarize5.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: def _load_cache() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: function classNames() file: example-apps/relevance-workbench/app-ui/src/components/SettingsOption.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: def create_index() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: def handle_search() file: example-apps/search-tutorial/start/search-tutorial/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 227 unit: export function cn() file: example-apps/chatbot-rag-app/frontend/src/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: function toLowerCase() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 30 end line: 32 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 229 unit: function capitalizeFirstLetter() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: export function getTitleField() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 38 end line: 42 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 231 unit: export function getUrlField() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: export function getThumbnailField() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: export function getFacetFields() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 52 end line: 54 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 234 unit: export function getSortFields() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/config/config-helper.js start line: 56 end line: 58 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 235 unit: def with_max_file_size() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 236 unit: def chunk_data() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/ingestion/ingestion.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 237 unit: messages: convertToCoreMessages() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 43 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: def update_last_hit_date() file: supporting-blog-content/elasticsearch_llm_cache/elasticsearch_llm_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 239 unit: def es_connect() file: supporting-blog-content/homecraft-vertex/pages/homecraft_finetuned.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 240 unit: def vertexAI() file: supporting-blog-content/homecraft-vertex/pages/homecraft_finetuned.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: def es_connect() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 242 unit: def vertexAI() file: supporting-blog-content/homecraft-vertex/homecraft_home.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: def __init__() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: def __init__() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/llm_analyzer.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: def es_connect() file: supporting-blog-content/ElasticDocs_GPT/elasticdocs_gpt.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 246 unit: def es_connect() file: supporting-blog-content/ElasticGPT_Plugin/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 247 unit: def main() file: supporting-blog-content/ElasticGPT_Plugin/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: def __init__() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: def save_cache() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: def __init__() file: supporting-blog-content/spotify-to-elasticsearch/python/services.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 251 unit: def route_api_datasets() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 252 unit: def resource_not_found() file: example-apps/relevance-workbench/app-api/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: def api_index() file: example-apps/internal-knowledge-search/api/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 254 unit: def index() file: example-apps/search-tutorial/v2/search-tutorial/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: def get_embedding() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 256 unit: def search() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 257 unit: def retrieve_document() file: example-apps/search-tutorial/v2/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 258 unit: def index() file: example-apps/search-tutorial/v3/search-tutorial/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: def get_embedding() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 260 unit: def retrieve_document() file: example-apps/search-tutorial/v3/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 261 unit: def index() file: example-apps/search-tutorial/v1/search-tutorial/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: def insert_document() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 263 unit: def search() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 264 unit: def retrieve_document() file: example-apps/search-tutorial/v1/search-tutorial/search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 265 unit: def index() file: example-apps/search-tutorial/start/search-tutorial/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: def get_document() file: example-apps/search-tutorial/start/search-tutorial/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: await fetchEventSource() file: example-apps/chatbot-rag-app/frontend/src/store/provider.tsx start line: 171 end line: 172 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 268 unit: def api_index() file: example-apps/chatbot-rag-app/api/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 269 unit: def get_lazy_llm() file: example-apps/chatbot-rag-app/api/chat.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: def __init__() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 271 unit: def __init__() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: def build() file: supporting-blog-content/onelake-connector-part-ii/connectors/config.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: def _get_account_url() file: supporting-blog-content/onelake-connector-part-ii/connectors/sources/onelake.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: def build_hybrid_query() file: supporting-blog-content/hybrid-search-for-an-e-commerce-product-catalogue/product-store-search/api/api.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 275 unit: def cache_query() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 276 unit: def add_to_cache() file: supporting-blog-content/elasticsearch_llm_cache/elasticRAG_with_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 277 unit: def process_vision() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 278 unit: def process_audio() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 279 unit: def process_text() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/embedding_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 280 unit: def analyze_cross_modal_connections() file: supporting-blog-content/building-multimodal-rag-with-elasticsearch-gotham/src/llm_analyzer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: def add_queries() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/state.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 282 unit: def make_elastic_retriever() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/retrieval.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: def make_pinecone_retriever() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/retrieval.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: def make_mongodb_retriever() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/retrieval.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 285 unit: def make_retriever() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/retrieval.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 286 unit: def from_runnable_config() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/configuration.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 287 unit: def ensure_docs_have_user_id() file: supporting-blog-content/langraph-retrieval-agent-template-demo/src/retrieval_graph/index_graph.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: def get_client() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/elasticsearch_connection.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: def partition_list() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/ingestion_lexical_index.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 290 unit: def partition_list() file: supporting-blog-content/building-a-recipe-search-with-elasticsearch/ingestion.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 291 unit: Article Author() file: supporting-blog-content/add-ai-generated-summaries/app-search-reference-ui-react-master/src/AiSummary.js start line: 12 end line: 12 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: execute: async() file: supporting-blog-content/customer-success-example/chat-example/app/api/chat/route.ts start line: 50 end line: 50 size: 1 LOC McCabe index: 1 number of parameters: 1