Spaces:
Sleeping
Sleeping
venkat charan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
openai_api_k = os.getenv("openai_api")
|
7 |
|
8 |
-
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo",openai_api_key=openai_api_k)
|
9 |
prompt = ChatPromptTemplate.from_messages([
|
10 |
("system", "You are a helpful assistant that gives a reply email for a particular email"),
|
11 |
("human", "{input}")
|
|
|
5 |
|
6 |
openai_api_k = os.getenv("openai_api")
|
7 |
|
8 |
+
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo",openai_api_key=openai_api_k,max_tokens=150)
|
9 |
prompt = ChatPromptTemplate.from_messages([
|
10 |
("system", "You are a helpful assistant that gives a reply email for a particular email"),
|
11 |
("human", "{input}")
|