Spaces:
Runtime error
Runtime error
leandrocarneiro
commited on
Update llm.py
Browse files
llm.py
CHANGED
@@ -15,7 +15,7 @@ def invoke_llm(context, task):
|
|
15 |
"""
|
16 |
|
17 |
llm=ChatOpenAI(model_name="gpt-3.5-turbo",
|
18 |
-
temperature=0.
|
19 |
openai_api_key=os.environ['OPENAI_KEY'],
|
20 |
max_tokens=1000)
|
21 |
result = llm.invoke(prompt)
|
|
|
15 |
"""
|
16 |
|
17 |
llm=ChatOpenAI(model_name="gpt-3.5-turbo",
|
18 |
+
temperature=0.3,
|
19 |
openai_api_key=os.environ['OPENAI_KEY'],
|
20 |
max_tokens=1000)
|
21 |
result = llm.invoke(prompt)
|