summaryrefslogtreecommitdiffstats
path: root/models.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-19 12:15:54 +0800
committerGitHub <noreply@github.com>2024-06-19 12:15:54 +0800
commit3b3d39cef0211b607d51360d0739022f953ba1a7 (patch)
tree65fefe139b939ef6f27ac172e8bde89305f51ecc /models.yaml
parent1fb06ecdc4daeed618ec971170e82931464a8399 (diff)
downloadaichat-3b3d39cef0211b607d51360d0739022f953ba1a7.tar.gz
refactor: rag add rag_minimum_score config (#617)
Diffstat (limited to 'models.yaml')
-rw-r--r--models.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/models.yaml b/models.yaml
index 7562f91..1724036 100644
--- a/models.yaml
+++ b/models.yaml
@@ -62,6 +62,11 @@
max_input_tokens: 8191
default_chunk_size: 4000
max_concurrent_chunks: 100
+ - name: text-embedding-ada-002
+ mode: embedding
+ max_input_tokens: 8191
+ default_chunk_size: 4000
+ max_concurrent_chunks: 100
- platform: gemini
# docs:
@@ -609,6 +614,10 @@
input_price: 7
output_price: 7
supports_vision: true
+ - name: embedding-2
+ mode: embedding
+ max_input_tokens: 2048
+ default_chunk_size: 2000
- platform: lingyiwanwu
# docs: