mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
updated
This commit is contained in:
1 parent
3901f34e8e
commit
8e897f1810
2 files changed
+14
-14
No files matched your search
+13
-13
@@ -1358,19 +1358,19 @@ services:
|
||||
start_period: 10s
|
||||
command: "postgres"
|
||||
|
||||
appwrite-embedding:
|
||||
image: appwrite/embedding
|
||||
environment:
|
||||
EMBEDDING_MODELS: "nomic"
|
||||
container_name: appwrite-embedding
|
||||
ports:
|
||||
- "11430:11434"
|
||||
restart: unless-stopped
|
||||
# persistent for caching models across restarts and preloading
|
||||
volumes:
|
||||
- embedding_models:/home/embedder/models
|
||||
networks:
|
||||
- appwrite
|
||||
appwrite-embedding:
|
||||
image: appwrite/embedding
|
||||
environment:
|
||||
EMBEDDING_MODELS: "nomic"
|
||||
container_name: appwrite-embedding
|
||||
ports:
|
||||
- "11430:11434"
|
||||
restart: unless-stopped
|
||||
# persistent for caching models across restarts and preloading
|
||||
volumes:
|
||||
- embedding_models:/home/embedder/models
|
||||
networks:
|
||||
- appwrite
|
||||
|
||||
redis:
|
||||
image: redis:7.4.7-alpine
|
||||
|
||||
@@ -107,7 +107,7 @@ class Create extends CreateDocumentAction
|
||||
$results[] = $this->embeddingResult($model, $dimension, $embedding);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$totalErrors++;
|
||||
$totalErrors += \count($batch);
|
||||
$this->logError($e, $model, $project, $log, $logger);
|
||||
|
||||
// One error result per text in the failed batch.
|
||||
|
||||
Reference in new issue
Block a user