Spaces:
Running
Running
Commit
·
d4f93b7
1
Parent(s):
c90d7f1
chaning customer details in DB
Browse files- .idea/.gitignore +3 -0
- .idea/inspectionProfiles/Project_Default.xml +26 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- .idea/visualquery.iml +10 -0
- ecomm.db +0 -0
- langchain_helper.py +1 -1
.idea/.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Default ignored files
|
| 2 |
+
/shelf/
|
| 3 |
+
/workspace.xml
|
.idea/inspectionProfiles/Project_Default.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<component name="InspectionProjectProfileManager">
|
| 2 |
+
<profile version="1.0">
|
| 3 |
+
<option name="myName" value="Project Default" />
|
| 4 |
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
| 5 |
+
<option name="ignoredPackages">
|
| 6 |
+
<value>
|
| 7 |
+
<list size="5">
|
| 8 |
+
<item index="0" class="java.lang.String" itemvalue="awscli" />
|
| 9 |
+
<item index="1" class="java.lang.String" itemvalue="SparkContext" />
|
| 10 |
+
<item index="2" class="java.lang.String" itemvalue="SparkSession" />
|
| 11 |
+
<item index="3" class="java.lang.String" itemvalue="HiveContext" />
|
| 12 |
+
<item index="4" class="java.lang.String" itemvalue="SparkConf" />
|
| 13 |
+
</list>
|
| 14 |
+
</value>
|
| 15 |
+
</option>
|
| 16 |
+
</inspection_tool>
|
| 17 |
+
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
| 18 |
+
<option name="ignoredIdentifiers">
|
| 19 |
+
<list>
|
| 20 |
+
<option value="main.pyspark" />
|
| 21 |
+
<option value="pyspark" />
|
| 22 |
+
</list>
|
| 23 |
+
</option>
|
| 24 |
+
</inspection_tool>
|
| 25 |
+
</profile>
|
| 26 |
+
</component>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<component name="InspectionProjectProfileManager">
|
| 2 |
+
<settings>
|
| 3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
| 4 |
+
<version value="1.0" />
|
| 5 |
+
</settings>
|
| 6 |
+
</component>
|
.idea/misc.xml
ADDED
|
@@ -0,0 +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.9 (visualquery)" project-jdk-type="Python SDK" />
|
| 4 |
+
</project>
|
.idea/modules.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="ProjectModuleManager">
|
| 4 |
+
<modules>
|
| 5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/visualquery.iml" filepath="$PROJECT_DIR$/.idea/visualquery.iml" />
|
| 6 |
+
</modules>
|
| 7 |
+
</component>
|
| 8 |
+
</project>
|
.idea/vcs.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="VcsDirectoryMappings">
|
| 4 |
+
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
| 5 |
+
</component>
|
| 6 |
+
</project>
|
.idea/visualquery.iml
ADDED
|
@@ -0,0 +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 |
+
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
| 6 |
+
</content>
|
| 7 |
+
<orderEntry type="inheritedJdk" />
|
| 8 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
| 9 |
+
</component>
|
| 10 |
+
</module>
|
ecomm.db
CHANGED
|
Binary files a/ecomm.db and b/ecomm.db differ
|
|
|
langchain_helper.py
CHANGED
|
@@ -28,7 +28,7 @@ from plotly.express import bar, line, scatter, area, pie
|
|
| 28 |
from dotenv import load_dotenv, find_dotenv
|
| 29 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
| 30 |
|
| 31 |
-
current_model_id = os.getenv('
|
| 32 |
|
| 33 |
def get_few_shot_db_chain(user_message):
|
| 34 |
chromadb.api.client.SharedSystemClient.clear_system_cache()
|
|
|
|
| 28 |
from dotenv import load_dotenv, find_dotenv
|
| 29 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
| 30 |
|
| 31 |
+
current_model_id = os.getenv('MODEL_ID')
|
| 32 |
|
| 33 |
def get_few_shot_db_chain(user_message):
|
| 34 |
chromadb.api.client.SharedSystemClient.clear_system_cache()
|