kobai-sdk 0.3.1__py3-none-any.whl → 0.3.2__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kobai-sdk
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A package that enables interaction with a Kobai tenant.
5
5
  Author-email: Ryan Oattes <ryan@kobai.io>
6
6
  License: Apache License
@@ -292,24 +292,6 @@ k.use_browser_token(access_token="KOBAI_ACESS_TOKEN_FROM_BROWSER")
292
292
  #### Authentication via on-behalf-of flow
293
293
  The sample code demonstrating authentication via the on-behalf-of flow will be provided, if requested.
294
294
 
295
- 3. Initialize a Spark client using your current `SparkSession`, and generate semantically-rich SQL views describing this Kobai tenant.
296
-
297
- Please note that the generation of semantically-rich SQL views describing this Kobai tenant is currently broken and will be fixed in the next release.
298
-
299
- ```python
300
- k.spark_init_session(spark)
301
- k.spark_generate_genie_views()
302
- ```
303
-
304
- 4. Initialize a Databricks API client using your Notebook context, and create a Genie Data Rooms environment for this Kobai tenant.
305
-
306
- ```python
307
- notebook_context = dbutils.notebook.entry_point.getDbutils().notebook().getContext()
308
- sql_warehouse = '8834d98a8agffa76'
309
-
310
- k.databricks_init_notebook(notebook_context, sql_warehouse)
311
- k.databricks_build_genie()
312
- ```
313
295
 
314
296
  ## AI Functionality
315
297
  The Kobai SDK enables users to ask follow-up questions based on the results of previous queries. This functionality currently supports models hosted on Databricks and Azure OpenAI.
@@ -7,8 +7,8 @@ kobai/ms_authenticate.py,sha256=rlmhtvAaSRBlYmvIBy5epMVa4MBGBLPaMwawu1T_xDQ,2252
7
7
  kobai/spark_client.py,sha256=opM_F-4Ut5Hq5zZjWMuLvUps9sDULvyPNZHXGL8dW1k,776
8
8
  kobai/tenant_api.py,sha256=Q5yuFd9_V4lo3LWzvYEEO3LpDRWFgQD4TlRPXDTGbiE,4368
9
9
  kobai/tenant_client.py,sha256=w83NmLuOEyJjOVUuLva2vbq0zpGFzhi9LdSq1pKClA8,38613
10
- kobai_sdk-0.3.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
11
- kobai_sdk-0.3.1.dist-info/METADATA,sha256=kZEU4YFcGVr5rxGeHXk6FhXtS2h5RTPcoPE_oSaWjJc,20022
12
- kobai_sdk-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- kobai_sdk-0.3.1.dist-info/top_level.txt,sha256=ns1El3BrTTHKvoAgU1XtiSaVIudYeCXbEEUVY8HFDZ4,6
14
- kobai_sdk-0.3.1.dist-info/RECORD,,
10
+ kobai_sdk-0.3.2.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
11
+ kobai_sdk-0.3.2.dist-info/METADATA,sha256=7WIGEJBGHn2QIsYPLdbsnkwvtjqx3RJHZJR3kl0gu_M,19304
12
+ kobai_sdk-0.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ kobai_sdk-0.3.2.dist-info/top_level.txt,sha256=ns1El3BrTTHKvoAgU1XtiSaVIudYeCXbEEUVY8HFDZ4,6
14
+ kobai_sdk-0.3.2.dist-info/RECORD,,