kobai-sdk 0.2.8rc9__py3-none-any.whl → 0.2.8rc10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kobai-sdk might be problematic. Click here for more details.
- kobai/tenant_client.py +2 -2
- {kobai_sdk-0.2.8rc9.dist-info → kobai_sdk-0.2.8rc10.dist-info}/METADATA +1 -1
- {kobai_sdk-0.2.8rc9.dist-info → kobai_sdk-0.2.8rc10.dist-info}/RECORD +6 -6
- {kobai_sdk-0.2.8rc9.dist-info → kobai_sdk-0.2.8rc10.dist-info}/LICENSE +0 -0
- {kobai_sdk-0.2.8rc9.dist-info → kobai_sdk-0.2.8rc10.dist-info}/WHEEL +0 -0
- {kobai_sdk-0.2.8rc9.dist-info → kobai_sdk-0.2.8rc10.dist-info}/top_level.txt +0 -0
kobai/tenant_client.py
CHANGED
|
@@ -440,7 +440,7 @@ class TenantClient:
|
|
|
440
440
|
context.api_client = self.api_client
|
|
441
441
|
return context
|
|
442
442
|
|
|
443
|
-
def rag_generate_sentences(self, replica_schema=None, concept_white_list=None, use_questions=False):
|
|
443
|
+
def rag_generate_sentences(self, replica_schema=None, concept_white_list=None, use_questions=False, debug=False):
|
|
444
444
|
"""
|
|
445
445
|
Extract Semantic Data from Graph to Delta Table
|
|
446
446
|
|
|
@@ -449,7 +449,7 @@ class TenantClient:
|
|
|
449
449
|
concept_white_list ([str]) OPTIONAL: A list of Domain and Concept names for extraction.
|
|
450
450
|
use_questions (bool) OPTIONAL: Extract facts from published Kobai questions.
|
|
451
451
|
"""
|
|
452
|
-
ai_rag.generate_sentences(self.get_ai_context(), replica_schema=replica_schema, concept_white_list=concept_white_list, use_questions=use_questions)
|
|
452
|
+
ai_rag.generate_sentences(self.get_ai_context(), replica_schema=replica_schema, concept_white_list=concept_white_list, use_questions=use_questions, debug=debug)
|
|
453
453
|
|
|
454
454
|
def rag_encode_to_delta_local(self, st_model: SentenceTransformer, replica_schema=None):
|
|
455
455
|
"""
|
|
@@ -5,9 +5,9 @@ kobai/databricks_client.py,sha256=fyqqMly2Qm0r1AHWsQjkYeNsDdH0G1JSgTkF9KJ55qA,21
|
|
|
5
5
|
kobai/demo_tenant_client.py,sha256=wlNc-bdI2wotRXo8ppUOalv4hYdBlek_WzJNARZV-AE,9293
|
|
6
6
|
kobai/spark_client.py,sha256=opM_F-4Ut5Hq5zZjWMuLvUps9sDULvyPNZHXGL8dW1k,776
|
|
7
7
|
kobai/tenant_api.py,sha256=9U6UbxpaAb-kpbuADXx3kbkNKaOzYy0I-GGwbpiCCOk,4212
|
|
8
|
-
kobai/tenant_client.py,sha256=
|
|
9
|
-
kobai_sdk-0.2.
|
|
10
|
-
kobai_sdk-0.2.
|
|
11
|
-
kobai_sdk-0.2.
|
|
12
|
-
kobai_sdk-0.2.
|
|
13
|
-
kobai_sdk-0.2.
|
|
8
|
+
kobai/tenant_client.py,sha256=6tiZX4MyKk23Ts5YY0DSswpwhHJKBM-Hw0FWQQRryc8,39403
|
|
9
|
+
kobai_sdk-0.2.8rc10.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
10
|
+
kobai_sdk-0.2.8rc10.dist-info/METADATA,sha256=9J12VkQ8BSgZ5k6I9WdyRZjFue16oxUsSNNPBdlzX54,19205
|
|
11
|
+
kobai_sdk-0.2.8rc10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
12
|
+
kobai_sdk-0.2.8rc10.dist-info/top_level.txt,sha256=ns1El3BrTTHKvoAgU1XtiSaVIudYeCXbEEUVY8HFDZ4,6
|
|
13
|
+
kobai_sdk-0.2.8rc10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|