Skip to content

Commit f5c989d

Browse files
committed
Fix the prompt in samples
1 parent d0e370d commit f5c989d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

samples/profile_explain_sql.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,5 @@
2222
profile_name="oci_ai_profile",
2323
)
2424
print(profile.description)
25-
explanation = profile.explain_sql(
26-
prompt="How many promotions are there in the database?"
27-
)
25+
explanation = profile.explain_sql(prompt="How many promotions?")
2826
print(explanation)

samples/profile_narrate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@
2323
profile = select_ai.Profile(
2424
profile_name="oci_ai_profile",
2525
)
26-
narration = profile.narrate(
27-
prompt="How many promotions are there in the database?"
28-
)
26+
narration = profile.narrate(prompt="How many promotions?")
2927
print(narration)

0 commit comments

Comments
 (0)