Vaibhav84 commited on
Commit
b8ca3f3
·
1 Parent(s): 95c8c69
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -713,9 +713,11 @@ async def get_financial_recommendations(customer_id: str):
713
 
714
  @app.get("/contentcreation/{category}")
715
  async def contentcreation(category:str):
 
 
716
  completion = client.chat.completions.create(
717
  model="microsoft/phi-4-mini-instruct",
718
- messages=[{"role":"user","content":"Generate some investment articles in 10 words. Don't show the thinking part in the output"}],
719
  temperature=0.6,
720
  top_p=0.7,
721
  max_tokens=4096,
 
713
 
714
  @app.get("/contentcreation/{category}")
715
  async def contentcreation(category:str):
716
+ inputdata = "Generate articles for "
717
+ inputdata += category +" in few words. Don't show the thinking part in the output"
718
  completion = client.chat.completions.create(
719
  model="microsoft/phi-4-mini-instruct",
720
+ messages=[{"role":"user","content":inputdata}],
721
  temperature=0.6,
722
  top_p=0.7,
723
  max_tokens=4096,