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.2.tar.gz (3.7 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.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: querix-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 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.2.tar.gz
Algorithm Hash digest
SHA256 45341c30bc87508aea81bddfffc2ddbdaf3a9e65f0302e3a9ec2c4128d5e879a
MD5 4aeb47bf94e3a90570d25c7583ea6c07
BLAKE2b-256 90c9ce49bf17d5da8143d89c396b4176a7b35e011f5fce462ee89bd0e77857d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: querix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0bb278d4723ef832ea4538f028fede2bca691585ca7a47f22077aacffa551f4
MD5 8430d33aaf2ff9470ad39914b4a71396
BLAKE2b-256 afa068cd7afe5a4cea30ba1c656fd81554d84f84ddbb2a9b76d2a307c7c3547d

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