kobai-sdk 0.3.1__tar.gz → 0.3.2__tar.gz

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.
@@ -59,24 +59,6 @@ k.use_browser_token(access_token="KOBAI_ACESS_TOKEN_FROM_BROWSER")
59
59
  #### Authentication via on-behalf-of flow
60
60
  The sample code demonstrating authentication via the on-behalf-of flow will be provided, if requested.
61
61
 
62
- 3. Initialize a Spark client using your current `SparkSession`, and generate semantically-rich SQL views describing this Kobai tenant.
63
-
64
- 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.
65
-
66
- ```python
67
- k.spark_init_session(spark)
68
- k.spark_generate_genie_views()
69
- ```
70
-
71
- 4. Initialize a Databricks API client using your Notebook context, and create a Genie Data Rooms environment for this Kobai tenant.
72
-
73
- ```python
74
- notebook_context = dbutils.notebook.entry_point.getDbutils().notebook().getContext()
75
- sql_warehouse = '8834d98a8agffa76'
76
-
77
- k.databricks_init_notebook(notebook_context, sql_warehouse)
78
- k.databricks_build_genie()
79
- ```
80
62
 
81
63
  ## AI Functionality
82
64
  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.
@@ -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.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kobai-sdk"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "A package that enables interaction with a Kobai tenant."
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Ryan Oattes", email = "ryan@kobai.io" }]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes