robertselvam commited on
Commit
808db63
·
verified ·
1 Parent(s): 9c24cde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -43,7 +43,7 @@ class PDFAnalytics:
43
  self.extracted_text = ""
44
 
45
  self.openai_llm = AzureChatOpenAI(
46
- deployment_name="ChatGPT",
47
  )
48
 
49
 
@@ -89,7 +89,7 @@ class PDFAnalytics:
89
  ]
90
  # Generate completion using ChatGPT model
91
  response = self.client.chat.completions.create(
92
- model="ChatGPT",
93
  messages=conversation,
94
  temperature=0,
95
  max_tokens=1000
@@ -134,7 +134,7 @@ class PDFAnalytics:
134
  ]
135
  # Generate completion using ChatGPT model
136
  response = self.client.chat.completions.create(
137
- model="ChatGPT",
138
  messages=conversation,
139
  temperature=0,
140
  max_tokens=1000
@@ -176,7 +176,7 @@ class PDFAnalytics:
176
  ]
177
  # Generate completion using ChatGPT model
178
  response = self.client.chat.completions.create(
179
- model="ChatGPT",
180
  messages=conversation,
181
  temperature=0,
182
  max_tokens=1000
 
43
  self.extracted_text = ""
44
 
45
  self.openai_llm = AzureChatOpenAI(
46
+ deployment_name="GPT-3",
47
  )
48
 
49
 
 
89
  ]
90
  # Generate completion using ChatGPT model
91
  response = self.client.chat.completions.create(
92
+ model="GPT-3",
93
  messages=conversation,
94
  temperature=0,
95
  max_tokens=1000
 
134
  ]
135
  # Generate completion using ChatGPT model
136
  response = self.client.chat.completions.create(
137
+ model="GPT-3",
138
  messages=conversation,
139
  temperature=0,
140
  max_tokens=1000
 
176
  ]
177
  # Generate completion using ChatGPT model
178
  response = self.client.chat.completions.create(
179
+ model="GPT-3",
180
  messages=conversation,
181
  temperature=0,
182
  max_tokens=1000