mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-28 21:32:05 +00:00
[Query Copilot V2] Wire and adjust Output bubble with backend communication (#1599)
* Initial wiring of copilot backend and bubble * Additional changes in explanation bubbles * Changes based on checks * test snapshots updated --------- Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
This commit is contained in:
@@ -11,11 +11,13 @@ export interface GenerateSQLQueryResponse {
|
||||
enum MessageSource {
|
||||
User,
|
||||
AI,
|
||||
AIExplanation,
|
||||
}
|
||||
|
||||
export interface CopilotMessage {
|
||||
source: MessageSource;
|
||||
message: string;
|
||||
sqlQuery?: string;
|
||||
explanation?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user