Spaces:
Runtime error
Runtime error
done
Browse files- .gitignore +13 -0
- .idea/ZapierAgent.iml +4 -2
- .idea/misc.xml +1 -1
- app.py +1 -2
.gitignore
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### venv template
|
| 2 |
+
# Virtualenv
|
| 3 |
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
| 4 |
+
.Python
|
| 5 |
+
[Bb]in
|
| 6 |
+
[Ii]nclude
|
| 7 |
+
[Ll]ib
|
| 8 |
+
[Ll]ib64
|
| 9 |
+
[Ll]ocal
|
| 10 |
+
[Ss]cripts
|
| 11 |
+
pyvenv.cfg
|
| 12 |
+
venv
|
| 13 |
+
pip-selfcheck.json
|
.idea/ZapierAgent.iml
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<module type="PYTHON_MODULE" version="4">
|
| 3 |
<component name="NewModuleRootManager">
|
| 4 |
-
<content url="file://$MODULE_DIR$"
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
<orderEntry type="sourceFolder" forTests="false" />
|
| 7 |
</component>
|
| 8 |
</module>
|
|
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<module type="PYTHON_MODULE" version="4">
|
| 3 |
<component name="NewModuleRootManager">
|
| 4 |
+
<content url="file://$MODULE_DIR$">
|
| 5 |
+
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
| 6 |
+
</content>
|
| 7 |
+
<orderEntry type="jdk" jdkName="Python 3.11 (Agent001)" jdkType="Python SDK" />
|
| 8 |
<orderEntry type="sourceFolder" forTests="false" />
|
| 9 |
</component>
|
| 10 |
</module>
|
.idea/misc.xml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
| 3 |
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11" project-jdk-type="Python SDK" />
|
| 4 |
</project>
|
|
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
| 3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (Agent001)" project-jdk-type="Python SDK" />
|
| 4 |
</project>
|
app.py
CHANGED
|
@@ -5,9 +5,8 @@ from langchain.llms import OpenAI
|
|
| 5 |
from langchain.agents import initialize_agent
|
| 6 |
from langchain.agents.agent_toolkits import ZapierToolkit
|
| 7 |
from langchain.agents import AgentType
|
| 8 |
-
from langchain.utilities.zapier import
|
| 9 |
import json
|
| 10 |
-
import requests
|
| 11 |
|
| 12 |
|
| 13 |
def main():
|
|
|
|
| 5 |
from langchain.agents import initialize_agent
|
| 6 |
from langchain.agents.agent_toolkits import ZapierToolkit
|
| 7 |
from langchain.agents import AgentType
|
| 8 |
+
from langchain.utilities.zapier import ZapierNLAWrapper
|
| 9 |
import json
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
def main():
|