Skip to main content

jupyter_ai_wekeo

jupyter_ai_wekeo is a Jupyter AI module, a package that registers additional model providers and slash commands for the Jupyter AI extension.

Requirements

  • Python 3.8 - 3.12
  • JupyterLab 4

Install

To install the extension, execute:

pip install jupyter-ai-wekeo

Config

  1. Locate or create the Jupyter AI configuration file jupyter_jupyter_ai_config.py. You can copy it into the Jupyter config folder, which can be discovered with:
jupyter --paths
  1. Edit jupyter_jupyter_ai_config.py to add the server endpoint:
c = get_config()

c.AiExtension.default_language_model = "wekeo-provider:server"
c.AiExtension.allowed_providers = ["wekeo-provider", "openai", "openai-chat"]
c.AiExtension.default_max_chat_history = None

c.AiExtension.model_parameters = {
    "wekeo-provider:server": {
        "endpoint": "<http://wekeo-llm-server-endpoint>/rag"
    }
}
  1. Save the file in the Jupyter config folder so it will be automatically discovered by Jupyter.

Uninstall

To remove the extension, execute:

pip uninstall jupyter-ai-wekeo

Contributing

Development install

cd jupyter-ai-wekeo
pip install -e "."

Development uninstall

pip uninstall jupyter-ai-wekeo

Backend tests

This package uses Pytest for Python testing.

Install test dependencies (needed only once):

cd jupyter-ai-wekeo
pip install -e ".[test]"

To execute them, run:

pytest -vv -r ap --cov jupyter-ai-wekeo

Metadata

Release files for jupyter-ai-wekeo 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyter-ai-wekeo 0.1.4
File Size Uploaded Provenance Actions
jupyter_ai_wekeo-0.1.4.tar.gz 5.5 kB Without provenance Details for jupyter_ai_wekeo-0.1.4.tar.gz

Release files / jupyter_ai_wekeo-0.1.4.tar.gz

Download URL jupyter_ai_wekeo-0.1.4.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f0246e21dee722c30c06b2424a3a51ed16c51126cbc7f2b5a74f87330aeb1f4f
BLAKE2b-256 checksum
How to use checksums
a391e3f51bf91af398e51c870dcda19d85b0f31420b8963f75bfbcc0f1c716dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for jupyter-ai-wekeo 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page