Skip to main content

AI functions for Spark SQL

Project description

Querix

AI functions for Spark SQL.

Install

pip install querix

Quickstart

export OPENAI_API_KEY=your_key

from pyspark.sql import SparkSession
from querix import init

spark = SparkSession.builder.getOrCreate()
init(spark)

spark.sql("SELECT AI_SUMMARIZE(text) FROM table").show()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

querix-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

querix-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file querix-0.1.1.tar.gz.

File metadata

  • Download URL: querix-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for querix-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f063ae2b8416bf422dba3e3a8075f3c28af4361abc5c0fc1f1595f384955f321
MD5 42cea520cf2eeaf8b71a6dfb2de3f475
BLAKE2b-256 849317214f2e027395e109f814958d8128c271e8373d00bee0f9bc6ecc98ce8a

See more details on using hashes here.

File details

Details for the file querix-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: querix-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for querix-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae0fb191c76786f23b46073964c1533acf1c70f3d10cc513baf960fd341d700
MD5 51260cbfc33a33f4b6ce408b5115c7e5
BLAKE2b-256 067c63c79e4239b8d6fb4272ae86a6e9d4d3c1e5b1097fa73655c788c5fd8b02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page