Spaces:
Build error
Build error
Rename prompt.py to app.py
Browse files- 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
|
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 |
|