diff --git a/chat/core/src/main/java/com/tencent/supersonic/chat/config/LLMConfig.java b/chat/core/src/main/java/com/tencent/supersonic/chat/config/LLMConfig.java index c73743545..844291bac 100644 --- a/chat/core/src/main/java/com/tencent/supersonic/chat/config/LLMConfig.java +++ b/chat/core/src/main/java/com/tencent/supersonic/chat/config/LLMConfig.java @@ -13,7 +13,7 @@ public class LLMConfig { @Value("${llm.url:}") private String url; - @Value("${query2sql.path:query2sql}") + @Value("${query2sql.path:/query2sql}") private String queryToSqlPath; } diff --git a/chat/core/src/main/python/requirements.txt b/chat/core/src/main/python/requirements.txt index 44750f464..a5a48d046 100644 --- a/chat/core/src/main/python/requirements.txt +++ b/chat/core/src/main/python/requirements.txt @@ -4,5 +4,4 @@ fastapi==0.95.1 chromadb==0.3.21 tiktoken==0.3.3 uvicorn[standard]==0.21.1 - - +pandas==1.5.3 \ No newline at end of file diff --git a/launchers/chat/src/main/resources/application-local.yaml b/launchers/chat/src/main/resources/application-local.yaml index d02e1f1f6..79f6da9dc 100644 --- a/launchers/chat/src/main/resources/application-local.yaml +++ b/launchers/chat/src/main/resources/application-local.yaml @@ -27,3 +27,6 @@ authentication: semantic: url: prefix: http://127.0.0.1:9081 + +llm: + url: http://127.0.0.1:9092 diff --git a/launchers/standalone/src/main/resources/application-local.yaml b/launchers/standalone/src/main/resources/application-local.yaml index 52649ba71..47fb4987a 100644 --- a/launchers/standalone/src/main/resources/application-local.yaml +++ b/launchers/standalone/src/main/resources/application-local.yaml @@ -33,3 +33,6 @@ time: mybatis: mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml + +llm: + url: http://127.0.0.1:9092