Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jupyterlab/jupyter-ai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @jupyter-ai/core@0.9.0
Choose a base ref
...
head repository: jupyterlab/jupyter-ai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 70725c0ff9b5eb313294bdab6e3ff183a6aad88b
Choose a head ref
  • 8 commits
  • 55 files changed
  • 5 contributors

Commits on Jul 10, 2023

  1. Migrate to Dask (#244)

    * use dask to parallelize document learning
    
    * prefer threads
    
    * remove memory actor
    
    * remove providers actor
    
    * remove chat provider and embeddings actors
    
    * remove config actor
    
    * remove router actor
    
    * move embedding logic from base to learn actor
    
    * move remaining actors to chat_handlers
    
    * remove references to ray and grpcio
    
    * implement async handlers and concurrency
    
    * precommit
    
    * remove compute_delayed()
    
    * clear chat history in clear handler
    
    * log chat handler latency
    
    * delete useless comment
    
    * make /generate async and concurrent
    
    * raise Python version ceiling to 3.11
    
    * support Dask on Python 3.11
    
    * pre-commit fixes
    
    * create task per message in root chat handler, fix concurrency
    
    * log server extension init time
    
    * remove unused code from the era of model engines
    
    * pre-commit fixes
    
    * bump langchain to 0.0.220
    
    * fix recursion error when switching embedding providers
    
    * fix pickle issue and relearning logic
    
    * relearn on /ask if embedding model was changed
    
    * pre-commit
    
    * implement _acall for AI21 and Cohere providers
    
    * pin anthropic to 0.2.10
    
    * pre-commit
    
    * write to self.llm_params after creating chain
    
    * fix LearnChatHandler to not throw on empty config
    
    * update example notebooks
    
    * return if no embedding provider selected
    
    * make SM Endpoints provider async
    
    * implement async for HF Hub provider
    
    * strip quotation marks from generated notebook titles
    dlqqq authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    d324673 View commit details
    Browse the repository at this point in the history
  2. Updates docs with reset, model lists (#254)

    * Adds clear history documentation
    
    * Explanatory text about HF and SM
    
    * --help param
    
    * HuggingFace -> Hugging Face (as company name)
    
    * Adds provision for provider to have help when no model list exists
    
    * Missing space
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Renames model_help key to "help"
    
    * Example for HuggingFace
    
    * Additional detail on arguments
    
    * Update packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
    
    Co-authored-by: Piyush Jain <piyushjain@duck.com>
    
    * Update docs/source/users/index.md
    
    Co-authored-by: Piyush Jain <piyushjain@duck.com>
    
    * Update packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
    
    Co-authored-by: Piyush Jain <piyushjain@duck.com>
    
    * Updates sample notebook
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Piyush Jain <piyushjain@duck.com>
    3 people authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    a24338f View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. [pre-commit.ci] pre-commit autoupdate (#262)

    updates:
    - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)
    - [github.com/asottile/pyupgrade: v3.8.0 → v3.9.0](asottile/pyupgrade@v3.8.0...v3.9.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    e19c4ea View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Added Bedrock provider (#263)

    * Added Bedrock provider
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Added Bedrock info to docs
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update docs/source/users/index.md
    
    Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>
    3 people authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    0f61906 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef2f341 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Validate JSON for request schema (#261)

    * Corrects capitalization for SageMaker endpoint
    
    * WIP: Pass expected format in model for field
    
    * Validates JSON using JSON.parse
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * WIP: Validate JSON in magics
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix reference to error
    
    * Update packages/jupyter-ai-magics/jupyter_ai_magics/magics.py
    
    Co-authored-by: david qiu <david@qiu.dev>
    
    * Avoids redundant parameter
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: david qiu <david@qiu.dev>
    3 people authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    39fe023 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Allows specifying chunk size and overlap with /learn (#267)

    * Allows specifying chunk size and overlap with /learn
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Refactored as per PR review comments
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Documents -c and -o options
    
    * Update docs/source/users/index.md
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Jason Weill <jweill@amazon.com>
    3 people authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    3275f30 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (#272)

    updates:
    - [github.com/sirosen/check-jsonschema: 0.23.2 → 0.23.3](python-jsonschema/check-jsonschema@0.23.2...0.23.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    70725c0 View commit details
    Browse the repository at this point in the history
Loading