feat(completion): add scoped metadata assistant
This commit is contained in:
1 parent
3f65297f25
commit
cebb39cb80
37 files changed
+2709
-85
No files matched your search
@@ -137,6 +137,14 @@ pub async fn list_completion_objects(
|
||||
dbx_core::schema::list_completion_objects_core(&state, &connection_id, &database, &schema).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn completion_assistant_search(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
request: db::CompletionAssistantRequest,
|
||||
) -> Result<db::CompletionAssistantResponse, String> {
|
||||
dbx_core::schema::completion_assistant_search_core(&state, request).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn get_object_source(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
|
||||
Reference in new issue
Block a user