mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #11570 from appwrite/fix/vectorsdb-console-improvements
fix: vectorsdb SDK spec and DatabaseType enum
This commit is contained in:
@@ -68,9 +68,8 @@ class Create extends CreateDocumentAction
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
parameters: [
|
||||
new Parameter('databaseId', optional: false),
|
||||
new Parameter('collectionId', optional: false),
|
||||
new Parameter('documents', optional: false),
|
||||
new Parameter('texts', optional: false),
|
||||
new Parameter('model', optional: true),
|
||||
]
|
||||
)
|
||||
])
|
||||
|
||||
@@ -45,7 +45,7 @@ class Database extends Model
|
||||
'description' => 'Database type.',
|
||||
'default' => 'legacy',
|
||||
'example' => 'legacy',
|
||||
'enum' => ['legacy', 'tablesdb', 'documentsdb'],
|
||||
'enum' => ['legacy', 'tablesdb', 'documentsdb', 'vectorsdb'],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user