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.0.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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyter_groq_soham-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9ee8d0e5851bd4b73bc5757f8debc082574ee766f5befe33c996c0b3f8ef5cfa
MD5 22fa20ecf82e5578dfeb69df7ace9061
BLAKE2b-256 59361281510f661e2e890e03018ab78edae656cd2346c526755b4a35e0c6b2aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyter_groq_soham-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de406ec703d28af868791e0ed77a2efdc39a4bf740548eb0adf618e5312945c5
MD5 dc92fc207d72ec83c54ee76eef75d0ae
BLAKE2b-256 fcf11b8f92a5fbf861ecefb5c5c7541d424bcd84ed19c1fa29a51e96b694f77b

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