Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ summary_prompt = PromptTemplate(
|
|
154 |
|
155 |
summary_chain = LLMChain(
|
156 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
157 |
-
|
158 |
prompt=summary_prompt,
|
159 |
verbose="true",
|
160 |
)
|
@@ -192,7 +192,7 @@ bot_prompt = PromptTemplate(
|
|
192 |
|
193 |
bot_chain = LLMChain(
|
194 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
195 |
-
|
196 |
prompt=bot_prompt,
|
197 |
verbose="true",
|
198 |
)
|
@@ -221,7 +221,7 @@ user_story_prompt = PromptTemplate(
|
|
221 |
|
222 |
user_story_chain = LLMChain(
|
223 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
224 |
-
|
225 |
prompt=user_story_prompt,
|
226 |
verbose="true",
|
227 |
)
|
@@ -235,7 +235,7 @@ json_prompt_template = PromptTemplate(
|
|
235 |
|
236 |
json_chain = LLMChain(
|
237 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
238 |
-
|
239 |
prompt=json_prompt_template,
|
240 |
verbose="true",
|
241 |
)
|
|
|
154 |
|
155 |
summary_chain = LLMChain(
|
156 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
157 |
+
api_key= os.environ.get('OPENAI_API_KEY')),
|
158 |
prompt=summary_prompt,
|
159 |
verbose="true",
|
160 |
)
|
|
|
192 |
|
193 |
bot_chain = LLMChain(
|
194 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
195 |
+
api_key= os.environ.get('OPENAI_API_KEY')),
|
196 |
prompt=bot_prompt,
|
197 |
verbose="true",
|
198 |
)
|
|
|
221 |
|
222 |
user_story_chain = LLMChain(
|
223 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
224 |
+
api_key= os.environ.get('OPENAI_API_KEY')),
|
225 |
prompt=user_story_prompt,
|
226 |
verbose="true",
|
227 |
)
|
|
|
235 |
|
236 |
json_chain = LLMChain(
|
237 |
llm=OpenAI(model_name='gpt-3.5-turbo-16k', temperature=0.7,
|
238 |
+
api_key= os.environ.get('OPENAI_API_KEY')),
|
239 |
prompt=json_prompt_template,
|
240 |
verbose="true",
|
241 |
)
|