vjain commited on
Commit
c1285d9
β€’
1 Parent(s): f8342a5

Rename prompt.py to app.py

Browse files
Files changed (1) hide show
  1. prompt.py β†’ app.py +1 -3
prompt.py β†’ app.py RENAMED
@@ -7,9 +7,7 @@ from langchain.chat_models import ChatOpenAI
7
  import os
8
  from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
9
  from langchain import OpenAI,LLMChain
10
- os.environ['OPENAI_API_KEY'] = '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'
11
- os.environ["WOLFRAM_ALPHA_APPID"] = "5829GX-JVY5Y6LR3Q"
12
-
13
  prefix = """
14
  Hi! I'm a data analysis bot. I can help you perform basic exploratory data analysis (EDA) on your pandas dataframe.
15
 
 
7
  import os
8
  from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
9
  from langchain import OpenAI,LLMChain
10
+ openai.api_key= os.environ.get("openai.api_key")
 
 
11
  prefix = """
12
  Hi! I'm a data analysis bot. I can help you perform basic exploratory data analysis (EDA) on your pandas dataframe.
13