diff --git a/assembly/bin/supersonic-build.bat b/assembly/bin/supersonic-build.bat index 204accba6..1f64e5344 100644 --- a/assembly/bin/supersonic-build.bat +++ b/assembly/bin/supersonic-build.bat @@ -40,7 +40,7 @@ move webapp ..\..\launchers\standalone\target\classes rem 5. build backend python modules if "%service%"=="pyllm" ( echo "start installing python modules with pip: ${pip_path}" - set requirementPath="%baseDir%/../chat/python/requirements.txt" + set requirementPath="%baseDir%/../headless/python/requirements.txt" %pip_path% install -r %requirementPath% echo "install python modules success" ) diff --git a/assembly/bin/supersonic-build.sh b/assembly/bin/supersonic-build.sh index 70bfb0d92..2561afd21 100755 --- a/assembly/bin/supersonic-build.sh +++ b/assembly/bin/supersonic-build.sh @@ -46,7 +46,7 @@ rm -fr ${buildDir}/webapp #5. build backend python modules if [ "$service" == "pyllm" ]; then echo "start installing python modules with pip: ${pip_path}" - requirementPath=$baseDir/../chat/python/requirements.txt + requirementPath=$baseDir/../headless/python/requirements.txt ${pip_path} install -r ${requirementPath} echo "install python modules success" fi diff --git a/chat/python/config/config_parse.py b/headless/python/config/config_parse.py similarity index 100% rename from chat/python/config/config_parse.py rename to headless/python/config/config_parse.py diff --git a/chat/python/config/run_config.ini b/headless/python/config/run_config.ini similarity index 100% rename from chat/python/config/run_config.ini rename to headless/python/config/run_config.ini diff --git a/chat/python/few_shot_example/s2sql_exemplar.py b/headless/python/few_shot_example/s2sql_exemplar.py similarity index 100% rename from chat/python/few_shot_example/s2sql_exemplar.py rename to headless/python/few_shot_example/s2sql_exemplar.py diff --git a/chat/python/few_shot_example/s2sql_exemplar3_transformed.json b/headless/python/few_shot_example/s2sql_exemplar3_transformed.json similarity index 100% rename from chat/python/few_shot_example/s2sql_exemplar3_transformed.json rename to headless/python/few_shot_example/s2sql_exemplar3_transformed.json diff --git a/chat/python/instances/chromadb_instance.py b/headless/python/instances/chromadb_instance.py similarity index 100% rename from chat/python/instances/chromadb_instance.py rename to headless/python/instances/chromadb_instance.py diff --git a/chat/python/instances/llm_instance.py b/headless/python/instances/llm_instance.py similarity index 100% rename from chat/python/instances/llm_instance.py rename to headless/python/instances/llm_instance.py diff --git a/chat/python/instances/logging_instance.py b/headless/python/instances/logging_instance.py similarity index 100% rename from chat/python/instances/logging_instance.py rename to headless/python/instances/logging_instance.py diff --git a/chat/python/instances/text2vec_instance.py b/headless/python/instances/text2vec_instance.py similarity index 100% rename from chat/python/instances/text2vec_instance.py rename to headless/python/instances/text2vec_instance.py diff --git a/chat/python/requirements.txt b/headless/python/requirements.txt similarity index 100% rename from chat/python/requirements.txt rename to headless/python/requirements.txt diff --git a/chat/python/services/plugin_call/prompt_construct.py b/headless/python/services/plugin_call/prompt_construct.py similarity index 100% rename from chat/python/services/plugin_call/prompt_construct.py rename to headless/python/services/plugin_call/prompt_construct.py diff --git a/chat/python/services/plugin_call/run.py b/headless/python/services/plugin_call/run.py similarity index 100% rename from chat/python/services/plugin_call/run.py rename to headless/python/services/plugin_call/run.py diff --git a/chat/python/services/query_retrieval/retriever.py b/headless/python/services/query_retrieval/retriever.py similarity index 100% rename from chat/python/services/query_retrieval/retriever.py rename to headless/python/services/query_retrieval/retriever.py diff --git a/chat/python/services/query_retrieval/run.py b/headless/python/services/query_retrieval/run.py similarity index 100% rename from chat/python/services/query_retrieval/run.py rename to headless/python/services/query_retrieval/run.py diff --git a/chat/python/services/s2sql/auto_cot.py b/headless/python/services/s2sql/auto_cot.py similarity index 100% rename from chat/python/services/s2sql/auto_cot.py rename to headless/python/services/s2sql/auto_cot.py diff --git a/chat/python/services/s2sql/auto_cot_run.py b/headless/python/services/s2sql/auto_cot_run.py similarity index 100% rename from chat/python/services/s2sql/auto_cot_run.py rename to headless/python/services/s2sql/auto_cot_run.py diff --git a/chat/python/services/s2sql/constructor.py b/headless/python/services/s2sql/constructor.py similarity index 100% rename from chat/python/services/s2sql/constructor.py rename to headless/python/services/s2sql/constructor.py diff --git a/chat/python/services/s2sql/examples_reload_run.py b/headless/python/services/s2sql/examples_reload_run.py similarity index 100% rename from chat/python/services/s2sql/examples_reload_run.py rename to headless/python/services/s2sql/examples_reload_run.py diff --git a/chat/python/services/s2sql/output_parser.py b/headless/python/services/s2sql/output_parser.py similarity index 100% rename from chat/python/services/s2sql/output_parser.py rename to headless/python/services/s2sql/output_parser.py diff --git a/chat/python/services/s2sql/run.py b/headless/python/services/s2sql/run.py similarity index 100% rename from chat/python/services/s2sql/run.py rename to headless/python/services/s2sql/run.py diff --git a/chat/python/services/s2sql/sql_agent.py b/headless/python/services/s2sql/sql_agent.py similarity index 100% rename from chat/python/services/s2sql/sql_agent.py rename to headless/python/services/s2sql/sql_agent.py diff --git a/chat/python/services_router/plugin_call_service.py b/headless/python/services_router/plugin_call_service.py similarity index 100% rename from chat/python/services_router/plugin_call_service.py rename to headless/python/services_router/plugin_call_service.py diff --git a/chat/python/services_router/preset_query_service.py b/headless/python/services_router/preset_query_service.py similarity index 100% rename from chat/python/services_router/preset_query_service.py rename to headless/python/services_router/preset_query_service.py diff --git a/chat/python/services_router/query2sql_service.py b/headless/python/services_router/query2sql_service.py similarity index 100% rename from chat/python/services_router/query2sql_service.py rename to headless/python/services_router/query2sql_service.py diff --git a/chat/python/services_router/retriever_service.py b/headless/python/services_router/retriever_service.py similarity index 100% rename from chat/python/services_router/retriever_service.py rename to headless/python/services_router/retriever_service.py diff --git a/chat/python/services_router/solved_query_service.py b/headless/python/services_router/solved_query_service.py similarity index 100% rename from chat/python/services_router/solved_query_service.py rename to headless/python/services_router/solved_query_service.py diff --git a/chat/python/supersonic_pyllm.py b/headless/python/supersonic_pyllm.py similarity index 100% rename from chat/python/supersonic_pyllm.py rename to headless/python/supersonic_pyllm.py diff --git a/chat/python/utils/chromadb_utils.py b/headless/python/utils/chromadb_utils.py similarity index 100% rename from chat/python/utils/chromadb_utils.py rename to headless/python/utils/chromadb_utils.py diff --git a/chat/python/utils/text2vec.py b/headless/python/utils/text2vec.py similarity index 100% rename from chat/python/utils/text2vec.py rename to headless/python/utils/text2vec.py