Spaces:
Runtime error
Runtime error
Errolmking
commited on
Commit
·
a92fff6
1
Parent(s):
cd75bed
Update app.py
Browse fileschanged model to 3.5
app.py
CHANGED
@@ -161,10 +161,10 @@ class QueueCallback(BaseCallbackHandler):
|
|
161 |
|
162 |
class DDSAgent:
|
163 |
|
164 |
-
def __init__(self, name, prompt_template='', model_name='gpt-
|
165 |
self.verbose = verbose
|
166 |
self.llm = ChatOpenAI(
|
167 |
-
model_name="gpt-
|
168 |
temperature=temp
|
169 |
)
|
170 |
|
@@ -200,7 +200,7 @@ class DDSAgent:
|
|
200 |
job_done = object()
|
201 |
|
202 |
llm = ChatOpenAI(
|
203 |
-
model_name='gpt-
|
204 |
callbacks=[QueueCallback(q),
|
205 |
PromptLayerCallbackHandler(pl_tags=["sudo_lang"])],
|
206 |
streaming=True,
|
|
|
161 |
|
162 |
class DDSAgent:
|
163 |
|
164 |
+
def __init__(self, name, prompt_template='', model_name='gpt-3.5-turbo-16k', verbose=False, temp=0.2):
|
165 |
self.verbose = verbose
|
166 |
self.llm = ChatOpenAI(
|
167 |
+
model_name="gpt-3.5-turbo-16k",
|
168 |
temperature=temp
|
169 |
)
|
170 |
|
|
|
200 |
job_done = object()
|
201 |
|
202 |
llm = ChatOpenAI(
|
203 |
+
model_name='gpt-3.5-turbo-16k',
|
204 |
callbacks=[QueueCallback(q),
|
205 |
PromptLayerCallbackHandler(pl_tags=["sudo_lang"])],
|
206 |
streaming=True,
|