@@ -29,7 +29,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
2929 p_code => gc_test_code,
3030 p_description => 'Test profile for basic creation',
3131 p_system_prompt_template => 'You are a helpful assistant.',
32- p_user_prompt_template => 'Answer this question: # question# ',
32+ p_user_prompt_template => 'Answer this question: { question} ',
3333 p_provider => uc_ai.c_provider_openai,
3434 p_model => uc_ai_openai.c_model_gpt_4o_mini,
3535 p_version => 1,
@@ -78,7 +78,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
7878 p_code => gc_test_code || '_CONFIG',
7979 p_description => 'Test profile with configuration',
8080 p_system_prompt_template => 'You are a helpful assistant.',
81- p_user_prompt_template => 'Answer: # question# ',
81+ p_user_prompt_template => 'Answer: { question} ',
8282 p_provider => uc_ai.c_provider_openai,
8383 p_model => uc_ai_openai.c_model_gpt_4o_mini,
8484 p_model_config_json => l_config,
@@ -106,7 +106,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
106106 p_code => gc_test_code || '_UPDATE',
107107 p_description => 'Original description',
108108 p_system_prompt_template => 'You are a helpful assistant.',
109- p_user_prompt_template => 'Question: # question# ',
109+ p_user_prompt_template => 'Question: { question} ',
110110 p_provider => uc_ai.c_provider_openai,
111111 p_model => uc_ai_openai.c_model_gpt_4o_mini
112112 );
@@ -116,7 +116,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
116116 p_id => l_id,
117117 p_description => l_new_description,
118118 p_system_prompt_template => 'You are a very helpful assistant.',
119- p_user_prompt_template => 'Please answer: # question# ',
119+ p_user_prompt_template => 'Please answer: { question} ',
120120 p_provider => uc_ai.c_provider_openai,
121121 p_model => uc_ai_openai.c_model_gpt_4o
122122 );
@@ -142,7 +142,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
142142 p_code => gc_test_code || '_UPDATE2',
143143 p_description => 'Original description',
144144 p_system_prompt_template => 'You are a helpful assistant.',
145- p_user_prompt_template => 'Question: # question# ',
145+ p_user_prompt_template => 'Question: { question} ',
146146 p_provider => uc_ai.c_provider_openai,
147147 p_model => uc_ai_openai.c_model_gpt_4o_mini,
148148 p_version => 1
@@ -154,7 +154,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
154154 p_version => 1,
155155 p_description => l_new_description,
156156 p_system_prompt_template => 'You are a very helpful assistant.',
157- p_user_prompt_template => 'Please answer: # question# ',
157+ p_user_prompt_template => 'Please answer: { question} ',
158158 p_provider => uc_ai.c_provider_openai,
159159 p_model => uc_ai_openai.c_model_gpt_4o
160160 );
@@ -182,7 +182,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
182182 p_code => gc_test_code || '_DELETE',
183183 p_description => 'Profile to delete',
184184 p_system_prompt_template => 'You are a helpful assistant.',
185- p_user_prompt_template => 'Question: # question# ',
185+ p_user_prompt_template => 'Question: { question} ',
186186 p_provider => uc_ai.c_provider_openai,
187187 p_model => uc_ai_openai.c_model_gpt_4o_mini
188188 );
@@ -213,7 +213,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
213213 p_code => gc_test_code || '_DELETE2',
214214 p_description => 'Profile to delete',
215215 p_system_prompt_template => 'You are a helpful assistant.',
216- p_user_prompt_template => 'Question: # question# ',
216+ p_user_prompt_template => 'Question: { question} ',
217217 p_provider => uc_ai.c_provider_openai,
218218 p_model => uc_ai_openai.c_model_gpt_4o_mini,
219219 p_version => 1
@@ -251,7 +251,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
251251 p_code => gc_test_code || '_STATUS',
252252 p_description => 'Status test profile',
253253 p_system_prompt_template => 'You are a helpful assistant.',
254- p_user_prompt_template => 'Question: # question# ',
254+ p_user_prompt_template => 'Question: { question} ',
255255 p_provider => uc_ai.c_provider_openai,
256256 p_model => uc_ai_openai.c_model_gpt_4o_mini,
257257 p_status => 'draft'
@@ -291,7 +291,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
291291 p_code => gc_test_code || '_VERSION',
292292 p_description => 'Version 1',
293293 p_system_prompt_template => 'You are a helpful assistant.',
294- p_user_prompt_template => 'Question: # question# ',
294+ p_user_prompt_template => 'Question: { question} ',
295295 p_provider => uc_ai.c_provider_openai,
296296 p_model => uc_ai_openai.c_model_gpt_4o_mini,
297297 p_version => 1,
@@ -333,7 +333,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
333333 p_code => gc_test_code || '_GET',
334334 p_description => 'Get test profile',
335335 p_system_prompt_template => 'You are a helpful assistant.',
336- p_user_prompt_template => 'Question: # question# ',
336+ p_user_prompt_template => 'Question: { question} ',
337337 p_provider => uc_ai.c_provider_openai,
338338 p_model => uc_ai_openai.c_model_gpt_4o_mini
339339 );
@@ -359,7 +359,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
359359 p_code => gc_test_code || '_LATEST',
360360 p_description => 'Version 1',
361361 p_system_prompt_template => 'You are a helpful assistant v1.',
362- p_user_prompt_template => 'Question: # question# ',
362+ p_user_prompt_template => 'Question: { question} ',
363363 p_provider => uc_ai.c_provider_openai,
364364 p_model => uc_ai_openai.c_model_gpt_4o_mini,
365365 p_version => 1,
@@ -370,7 +370,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
370370 p_code => gc_test_code || '_LATEST',
371371 p_description => 'Version 2',
372372 p_system_prompt_template => 'You are a helpful assistant v2.',
373- p_user_prompt_template => 'Question: # question# ',
373+ p_user_prompt_template => 'Question: { question} ',
374374 p_provider => uc_ai.c_provider_openai,
375375 p_model => uc_ai_openai.c_model_gpt_4o_mini,
376376 p_version => 2,
@@ -381,7 +381,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
381381 p_code => gc_test_code || '_LATEST',
382382 p_description => 'Version 3',
383383 p_system_prompt_template => 'You are a helpful assistant v3.',
384- p_user_prompt_template => 'Question: # question# ',
384+ p_user_prompt_template => 'Question: { question} ',
385385 p_provider => uc_ai.c_provider_openai,
386386 p_model => uc_ai_openai.c_model_gpt_4o_mini,
387387 p_version => 3,
@@ -455,8 +455,8 @@ create or replace package body test_uc_ai_prompt_profiles_api as
455455 l_id := uc_ai_prompt_profiles_api.create_prompt_profile(
456456 p_code => gc_test_code || '_PLACEHOLDERS',
457457 p_description => 'Profile with placeholders',
458- p_system_prompt_template => 'You are a # role# assistant.',
459- p_user_prompt_template => 'What is the capital of # country# ?',
458+ p_system_prompt_template => 'You are a { role} assistant.',
459+ p_user_prompt_template => 'What is the capital of { country} ?',
460460 p_provider => uc_ai.c_provider_openai,
461461 p_model => uc_ai_openai.c_model_gpt_4o_mini,
462462 p_status => 'active'
@@ -660,7 +660,7 @@ create or replace package body test_uc_ai_prompt_profiles_api as
660660 p_code => gc_test_code || '_TOOLS',
661661 p_description => 'Profile with tool usage',
662662 p_system_prompt_template => 'You are an assistant with access to user information. Answer concisely.',
663- p_user_prompt_template => 'What is the email of # user_name# ?',
663+ p_user_prompt_template => 'What is the email of { user_name} ?',
664664 p_provider => uc_ai.c_provider_openai,
665665 p_model => uc_ai_openai.c_model_gpt_4o_mini,
666666 p_status => 'active',
0 commit comments