Skip to main content

A Jupyter Notebook assistant powered by Groq LLMs

Project description

Jupyter Groq Assistant

A Python library to bring Groq's LLMs directly into your Jupyter Notebooks via simple magic commands (%groq, %%groq_fix).

Installation

You can install this directly from Git (recommended to keep your API key private) or locally:

pip install .

Setup

If you hardcoded your API key in magics.py, you're good to go! Otherwise, set it as an environment variable or pass it to the helper.

Usage

Load the extension in any Jupyter Notebook:

%load_ext jupyter_groq

Ask a question:

%groq What is a decorator in Python?

Fix code in a cell:

%%groq_fix
def add(a, b)
    return a + b

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

jupyter_groq_soham-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

jupyter_groq_soham-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jupyter_groq_soham-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d13d09fed19401ffe6cde8e2cc2c8a4d474d924cfe341a13656d3878e358e7bb
MD5 7f08f461f502f87b76b87b596503e2dd
BLAKE2b-256 d44b42361765ab8e1f5af02da8ce8fc591ec96984180e984081ee9b340f72efb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyter_groq_soham-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa0e9cef31a6f53f9583805f644d01f57b8bc66e62d8ce2a26f28d10385b0c58
MD5 91737ba3a9089e97540f4292d1547693
BLAKE2b-256 bb55a298dbe519e93d1f23dc6d34dae3c02d36d0f4fa79059ec13223e24bade5

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