You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent_genie/manual_ai_content.py
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@
35
35
description,
36
36
ai_classify(description, ARRAY('clothing', 'shoes', 'accessories', 'furniture')) AS category
37
37
FROM
38
-
products
39
-
;""",
38
+
products;
39
+
shoes""",
40
40
41
41
"ai_extract": """Syntax
42
42
ai_extract(content, labels)
@@ -101,15 +101,13 @@
101
101
Summer Bike Sale: Grab Your Dream Bike at 20% Off!
102
102
103
103
> SELECT
104
-
question,
104
+
'What is the impact of AI on reducing hospital readmissions?',
105
105
ai_gen(
106
-
'You are a teacher. Answer the students question in 50 words: ' || question
106
+
'Answer the question: ' || 'What is the impact of AI on reducing hospital readmissions?'
107
107
) AS answer
108
108
FROM
109
-
questions
110
-
;
111
-
112
-
""",
109
+
questions;
110
+
AI helps identify high-risk patients early by analyzing EHR data, lifestyle, and treatment patterns. Predictive models enable proactive care coordination and follow-up, reducing avoidable hospital readmissions and improving patient outcomes while optimizing resource utilization and lowering costs.""",
113
111
"ai_mask": """Syntax
114
112
ai_mask(content, labels)
115
113
@@ -244,10 +242,8 @@
244
242
horizon => '2016-03-31',
245
243
time_col => 'ds',
246
244
value_col => 'revenue'
247
-
);
248
-
249
-
""",
250
-
"ai_query": """Syntax
245
+
);""",
246
+
"ai_query": """Syntax
251
247
To query an endpoint that serves a foundation model:
A multi-agent AI engine that answers questions, forecasts trends, classifies data, summarizes records, translates languages, and recommends next-best actions.
1351
+
A multi-agent AI engine that answers questions, forecasts trends, classifies data, summarizes records, translates languages, and recommends next-best actions. For any questions or feedback, please reach out to nitin.aggarwal@databricks.com
# There can be only one CODEOWNERS file in the repo for clarity. See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
2
+
3
+
# Catch-all rule comes first
4
+
5
+
*@databrickslabs/sandbox-write
6
+
7
+
# Specific owners are listed last. Please keep this list in the alphabetical order
0 commit comments