Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from langchain.tools import BaseTool
|
|
11 |
from langchain.chains import LLMChain
|
12 |
from langchain import PromptTemplate, FewShotPromptTemplate
|
13 |
|
14 |
-
OPENAI_API_KEY=
|
15 |
OPENAI_API_BASE=os.getenv("OPENAI_API_BASE")
|
16 |
DEP_NAME=os.getenv("deployment_name")
|
17 |
llm=AzureChatOpenAI(deployment_name=DEP_NAME,openai_api_base=OPENAI_API_BASE,openai_api_key=OPENAI_API_KEY,openai_api_version="2023-03-15-preview",model_name="gpt-3.5-turbo")
|
|
|
11 |
from langchain.chains import LLMChain
|
12 |
from langchain import PromptTemplate, FewShotPromptTemplate
|
13 |
|
14 |
+
OPENAI_API_KEY='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'
|
15 |
OPENAI_API_BASE=os.getenv("OPENAI_API_BASE")
|
16 |
DEP_NAME=os.getenv("deployment_name")
|
17 |
llm=AzureChatOpenAI(deployment_name=DEP_NAME,openai_api_base=OPENAI_API_BASE,openai_api_key=OPENAI_API_KEY,openai_api_version="2023-03-15-preview",model_name="gpt-3.5-turbo")
|