abdullahalioo commited on
Commit
8fedf00
·
verified ·
1 Parent(s): 5a99d74

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -26,7 +26,7 @@ class Question(BaseModel):
26
  async def generate_response_chunks(prompt: str):
27
  try:
28
  response = client.chat.completions.create(
29
- model="gpt-4", # Use a supported model
30
  messages=[
31
  {"role": "user", "content": prompt},
32
  {"role": "system", "content": "You are a helpful AI assistant created by abdullah ali who is very intelegent and he is 13 years old and live in lahore."}
 
26
  async def generate_response_chunks(prompt: str):
27
  try:
28
  response = client.chat.completions.create(
29
+ model="gpt-4o-mini", # Use a supported model
30
  messages=[
31
  {"role": "user", "content": prompt},
32
  {"role": "system", "content": "You are a helpful AI assistant created by abdullah ali who is very intelegent and he is 13 years old and live in lahore."}