From 90ba49d6130dca8f971c3cd00626e4dc8f0cc2e1 Mon Sep 17 00:00:00 2001 From: acano Date: Thu, 12 Mar 2026 12:32:05 +0100 Subject: [PATCH] refactor: remove unused test scripts for Elasticsearch integration --- scratches/izapata/tst_elastic_seach.py | 19 ------------------- scratches/pseco/tst_elastic_seach.py | 5 ----- 2 files changed, 24 deletions(-) delete mode 100644 scratches/izapata/tst_elastic_seach.py delete mode 100644 scratches/pseco/tst_elastic_seach.py diff --git a/scratches/izapata/tst_elastic_seach.py b/scratches/izapata/tst_elastic_seach.py deleted file mode 100644 index 3a08c45..0000000 --- a/scratches/izapata/tst_elastic_seach.py +++ /dev/null @@ -1,19 +0,0 @@ -from langchain_elasticsearch import ElasticsearchStore -from langchain_community.llms import Ollama -from langchain_community.embeddings import OllamaEmbeddings - -es_url = "http://localhost:9200" - -base_url = "http://ollama-light-service:11434" -model_name = "qwen2.5:1.5b" - -print(f"Starting server") - -llm = Ollama(base_url=base_url, model=model_name) -embeddings = OllamaEmbeddings(base_url=base_url, model="nomic-embed-text") - - -vector_store = ElasticsearchStore( - es_url=es_url, index_name="avap_manuals", embedding=embeddings -) -print(vector_store) diff --git a/scratches/pseco/tst_elastic_seach.py b/scratches/pseco/tst_elastic_seach.py deleted file mode 100644 index a4b00ec..0000000 --- a/scratches/pseco/tst_elastic_seach.py +++ /dev/null @@ -1,5 +0,0 @@ -from langchain_elasticsearch import ElasticsearchStore -print("Hello world") - - -