mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
[improvement](chat) remove ModelProvider and in_memory (#491)
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
package dev.langchain4j;
|
||||
|
||||
enum ModelProvider {
|
||||
OPEN_AI,
|
||||
HUGGING_FACE,
|
||||
LOCAL_AI,
|
||||
IN_MEMORY
|
||||
}
|
||||
@@ -53,9 +53,7 @@ langchain4j:
|
||||
temperature: 0.0
|
||||
timeout: PT60S
|
||||
#2.embedding-model
|
||||
#2.1 in_memory
|
||||
embedding-model:
|
||||
provider: in_memory
|
||||
#2.1 in_memory(default)
|
||||
#2.2 open_ai
|
||||
# embedding-model:
|
||||
# provider: open_ai
|
||||
|
||||
@@ -45,8 +45,6 @@ langchain4j:
|
||||
temperature: 0.0
|
||||
timeout: PT60S
|
||||
#2.embedding-model
|
||||
embedding-model:
|
||||
provider: in_memory
|
||||
# embedding-model:
|
||||
# hugging-face:
|
||||
# access-token: hg_access_token
|
||||
|
||||
Reference in New Issue
Block a user