-
-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contributor docs updated for incomplete installation commands #1187
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…yterlab#1092) * Updated `anthropic.py` to remove deprecated models, remove `AnthropicProvider` class, add new models Removed all deprecated models as listed here: https://docs.anthropic.com/en/docs/resources/model-deprecations. This makes the `AnthropicProvider` class redundant, so it is now removed. The corresponding entry in `pyproject.toml` is also deleted. The class `ChatAnthropicProvider` is updated to include the new `Claude-3.5-Haiku`model, and the function to check for API key exception has been added. The older version of `Claude-3.5-sonnet` has also been removed. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Anthropic models added --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
jupyterlab#1094) * allow dollar symbols to delimit inline math in human messages * update escaping logic and system prompt * update system prompt * update system prompt
SHA256 hashes: jupyter-ai-core-2.28.0.tgz: e169d793b98cf73623b5c9137fc0db3daa492f1e0425e55c671930d621e19be5 jupyter_ai-2.28.0-py3-none-any.whl: f52457018d1f81b12b7719e61e3694095d928cd9b9ef38714de9e7bd35e5ec81 jupyter_ai-2.28.0.tar.gz: e9a82f403042d1c8cee4dd1a3927aa3112777d1985241113a996e5b729c2151a jupyter_ai_magics-2.28.0-py3-none-any.whl: 7073d3c67d22d5b30290aec33cf3b00d5ca3ecb4a7078d3982865a9e34e0a315 jupyter_ai_magics-2.28.0.tar.gz: 281f435417ee3f4e678b2ffc222d02bc96ce3287ab331e4668d61cb6514251ef
SHA256 hashes: jupyter-ai-core-2.28.1.tgz: 0baa5f2b897ce3c2215480ce11ba28d6e0806580d3ab4b07cea0e8e42fb66b46 jupyter_ai-2.28.1-py3-none-any.whl: fee72b1d96a14b749880ef6854c92b742ad9d9c36c7dbc977d79c422d0581fca jupyter_ai-2.28.1.tar.gz: db6dfff6bb61822b0cb1a1dfda489b995f3a8e5f23a580e518b0e420fd52d806 jupyter_ai_magics-2.28.1-py3-none-any.whl: 98cd748405d1b5daf5cafca1d83c8dca5636d384d5d1206284a24e842b0114e4 jupyter_ai_magics-2.28.1.tar.gz: 658168c6bb140ea684f735958a5162fa9abad8a5c4554d5e8b8683ebe16908c0
* fix rendering of code blocks in JupyterLab >=4.3.0 * add jp-ThemedContainer to root element * dedupe style rules * pre-commit
… chat (jupyterlab#1106) * Prevent error on non plaintext files in `@file` * Updated to handle binary blobs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update file.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update file.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
SHA256 hashes: jupyter-ai-core-2.28.2.tgz: bf8c23f49ba192d872ca28f35332c190d0c3ecad806fe17c9404ba32b9d27ba1 jupyter_ai-2.28.2-py3-none-any.whl: 2a99fe405ee910150a095136207fafb0e469f6f4e5f0114c99a476cdbbcc6d73 jupyter_ai-2.28.2.tar.gz: e893f2494033bb948f04cf3aa28f44e1ea27a18767027e2b721198151b5ed8b0 jupyter_ai_magics-2.28.2-py3-none-any.whl: f289bd5aad421bfa5a81b960e38d39da6835b16c276d2686455bc6ff2402282d jupyter_ai_magics-2.28.2.tar.gz: 4576186ef2f85dd7d667c64bb3f6ef87a662062bd50569c651d58a4f828fba2c
* Downgrade spurious 'error' logs Since it is expected that not all model providers will be loadable, it is wrong to log the case that one cannot be loaded with level 'error'. Resolves jupyterlab#839. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Fixes jupyterlab#836 1. Removed `gpt-3.5-turbo-0125` as it points to `got-3.5-turbo`. 2. Removed `gpt-3.5-turbo-0301`, deprecated as of 2024-06-13 3. Removed `gpt-3.5-turbo-0613", deprecated as of 2024-06-13 4. Removed `gpt-3.5-turbo-16k`, not offered any more 5. Removed `gpt-3.5-turbo-16k-0613`, deprecated as of 2024-06-13 6. Removed `gpt-4-32k`, no longer offered 7. Removed `gpt-4-32k-0613`, no longer offered 8. Added `gpt-4o-2024-11-20`, `chatgpt-4o-latest` 9. Will add `o1-preview`, `o1-mini` later as this is not widely available as yet While `gpt-3.5-turbo` OpenAI recommends using `gpt-4o` instead: “As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo, as it is cheaper, more capable, multimodal, and just as fast. gpt-3.5-turbo is still available for use in the API.” There are no changes to the embedding models from OpenAI.
updates: - [github.com/sirosen/check-jsonschema: 0.29.4 → 0.30.0](python-jsonschema/check-jsonschema@0.29.4...0.30.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add failing test that asserts fields are included in lm_provider_params * fix lm_provider_params prop to include fields * fix bug that writes to `self.settings["model_parameters"]` * add test capturing bug introduced by jupyterlab#421 * pre-commit
* fix install in CI * pre-commit
* fixing jupyterlab#1128 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplify impl and verify dict() requires no args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: David L. Qiu <[email protected]>
* fix completion fields and add unit test * pre-commit * fix install in CI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
SHA256 hashes: jupyter-ai-core-2.28.3.tgz: a45e43ca01993073257a1d5ca78db123f8781a8123a6b8f957bb2ebc8c86a981 jupyter_ai-2.28.3-py3-none-any.whl: b5a6a56d027b1083f66aaf134def754dc175cded903bc80c96e1bede31d26f93 jupyter_ai-2.28.3.tar.gz: 4be34772c3bd2b0dd34736843e57ce2f8b7bb271d2ae2b728df6645354074b89 jupyter_ai_magics-2.28.3-py3-none-any.whl: 62937989faae9974afea6d9acb252cdaf8930b4276ceab5a9f08762cbc3c9538 jupyter_ai_magics-2.28.3.tar.gz: 643c568b20a0aaf543da3291503bc493113ba1d3ee63260045722c3462a3a8de
…n Amazon Bedrock (jupyterlab#1134) * Updated UI and documentation for Amazon Bedrock Cross Region Inference * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * screenshot for CRI usage * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Consolidated Bedrock chat documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update bedrock.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update install.sh * Update install.sh * Fix install step in CI (jupyterlab#1139) * fix install in CI * pre-commit * Update docs/source/users/index.md Co-authored-by: david qiu <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: david qiu <[email protected]>
…rlab#1136) * Base API URL added for embedding models Jupyter AI currently allows the user to call a model at a URL (location) different from the default one by specifying a selected Base API URL. This can be done for Ollama, OpenAI provider models. However, for these providers, there is no way to change the API URL for embedding models when using the `/learn` command in RAG mode. This PR adds an extra field to make this feasible. Tested as follows for Ollama: [1] Start the Ollama system from port 11435 instead 11434 (the default): `OLLAMA_HOST=127.0.0.1:11435 ollama serve` [2] Set the Base API URL: [3] Check that the new API URL works: * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * allow embedding model fields to be saved * exclude empty str fields from config manager * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: David L. Qiu <[email protected]>
* trigger based on commenter role not PR author role * Update Playwright Snapshots --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
In an IPython terminal, using `code` format doesn't copy the code to the output cell but this works in a JupyterLab cell. Removing the payload_manager and using the `set_next_input` method directly fixes this behavior in IPython while maintaining the functionality in JupyterLab Co-authored-by: Divyansh Choudhary <[email protected]>
…yterlab#1158) * Update to ensure no hanging code cells in generated notebooks * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update generate.py * Update generate.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update generate.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
SHA256 hashes: jupyter-ai-core-2.28.4.tgz: 870f32535ba423f31e7d43c499b8d101e386be9f8d2cfdfec23471d82e5035cb jupyter_ai-2.28.4-py3-none-any.whl: 4acba013511ce00d8cf1bdd5afb72dca4f303bcc035b77fb9f5a3e38f0d83cb2 jupyter_ai-2.28.4.tar.gz: a9ca786e3fc8d2f941a5295923a7d01b5ee6ad5fdcaa0e97250aa8808c29d0c5 jupyter_ai_magics-2.28.4-py3-none-any.whl: e36d6193360b459b120ae85dd3e59013b007d2785ce239facd23a48078aed41f jupyter_ai_magics-2.28.4.tar.gz: 4e03f2001818d83a4ce8a025d0a07673769e03a5e5e5ab1f1478bba540432866
* Backport PR jupyterlab#1049: Added new Anthropic Sonnet3.5 v2 models (jupyterlab#1050) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1051: Added Developer documentation for streaming responses (jupyterlab#1058) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1048: Implement streaming for `/fix` (jupyterlab#1059) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1057: [pre-commit.ci] pre-commit autoupdate (jupyterlab#1060) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Backport PR jupyterlab#1064: Added Ollama to the providers table in user docs (jupyterlab#1066) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1056: Add examples of using Fields and EnvAuthStrategy to developer documentation (jupyterlab#1073) Co-authored-by: Alan Meeson <[email protected]> * Backport PR jupyterlab#1069: Merge Anthropic language model providers (jupyterlab#1076) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1068: Allow `$` to literally denote quantities of USD in chat (jupyterlab#1079) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1075: Fix magic commands when using non-chat providers w/ history (jupyterlab#1080) Co-authored-by: Alan Meeson <[email protected]> * Backport PR jupyterlab#1077: Fix `/export` by including streamed agent messages (jupyterlab#1081) Co-authored-by: Mahmut CAVDAR <[email protected]> * Backport PR jupyterlab#1072: Reduced padding in cell around code icons in code toolbar (jupyterlab#1084) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1087: Improve installation documentation and clarify provider dependencies (jupyterlab#1091) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1092: Remove retired models and add new `Haiku-3.5` model in Anthropic (jupyterlab#1093) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1094: Continue to allow `$` symbols to delimit inline math in human messages (jupyterlab#1095) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1097: Update `faiss-cpu` version range (jupyterlab#1101) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1104: Fix rendering of code blocks in JupyterLab 4.3.0+ (jupyterlab#1105) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1106: Catch error on non plaintext files in `@file` and reply gracefully in chat (jupyterlab#1110) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1109: Bump LangChain minimum versions (jupyterlab#1112) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1119: Downgrade spurious 'error' logs (jupyterlab#1124) Co-authored-by: ctcjab <[email protected]> * Backport PR jupyterlab#1127: Removes outdated OpenAI models and adds new ones (jupyterlab#1130) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1131: [pre-commit.ci] pre-commit autoupdate (jupyterlab#1132) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Backport PR jupyterlab#1125: Update model fields immediately on save (jupyterlab#1133) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1139: Fix install step in CI (jupyterlab#1140) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1129: Fix JSON serialization error in Ollama models (jupyterlab#1141) Co-authored-by: Mr.W <[email protected]> * Backport PR jupyterlab#1137: Update completion model fields immediately on save (jupyterlab#1142) Co-authored-by: david qiu <[email protected]> * [v3-dev] Initial migration to `jupyterlab-chat` (jupyterlab#1043) * Very first version of the AI working in jupyterlab_collaborative_chat * Allows both collaborative and regular chat to work with AI * handle the help message in the chat too * Autocompletion (jupyterlab#2) * Fix handler methods' parameters * Add slash commands (autocompletion) to the chat input * Stream messages (jupyterlab#3) * Allow for stream messages * update jupyter collaborative chat dependency * AI settings (jupyterlab#4) * Add a menu option to open the AI settings * Remove the input option from the setting widget * pre-commit * linting * Homogeneize typing for optional arguments * Fix import * Showing that the bot is writing (answering) (jupyterlab#5) * Show that the bot is writing (answering) * Update jupyter chat dependency * Some typing * Update extension to jupyterlab_chat (0.6.0) (jupyterlab#8) * Fix linting * Remove try/except to import jupyterlab_chat (not optional anymore), and fix typing * linter * Python unit tests * Fix typing * lint * Fix lint and mypy all together * Fix web_app settings accessor * Fix jupyter_collaboration version Co-authored-by: david qiu <[email protected]> * Remove unecessary try/except * Dedicate one set of chat handlers per room (jupyterlab#9) * create new set of chat handlers per room * make YChat an instance attribute on BaseChatHandler * revert changes to chat handlers * pre-commit * use room_id local var Co-authored-by: Nicolas Brichet <[email protected]> --------- Co-authored-by: Nicolas Brichet <[email protected]> --------- Co-authored-by: david qiu <[email protected]> Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1134: Improve user messaging and documentation for Cross-Region Inference on Amazon Bedrock (jupyterlab#1143) Co-authored-by: Sanjiv Das <[email protected]> * Backport PR jupyterlab#1136: Add base API URL field for Ollama and OpenAI embedding models (jupyterlab#1149) Co-authored-by: Sanjiv Das <[email protected]> * [v3-dev] Remove `/export`, `/clear`, and `/fix` (jupyterlab#1148) * remove /export * remove /clear * remove /fix * Fix CI in `v3-dev` branch (jupyterlab#1154) * fix check release by bumping to impossible version * fix types * Update Playwright Snapshots --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [v3-dev] Dedicate one LangChain history object per chat (jupyterlab#1151) * dedicate a separate LangChain history object per chat * pre-commit * fix mypy * Backport PR jupyterlab#1160: Trigger update snapshots based on commenter's role (jupyterlab#1161) Co-authored-by: david qiu <[email protected]> * Backport PR jupyterlab#1155: Fix code output format in IPython (jupyterlab#1162) Co-authored-by: Divyansh Choudhary <[email protected]> * Backport PR jupyterlab#1158: Update `/generate` to not split classes & functions across cells (jupyterlab#1164) Co-authored-by: Sanjiv Das <[email protected]> * Remove v2 frontend components (jupyterlab#1156) * First pass to remove the front end chat * Remove code-toolbar by using a simplified markdown renderer in settings * Remove chat-message-menu (should be ported in jupyter-chat) * Remove chat handler * Follow up 'Remove chat-message-menu (should be ported in jupyter-chat)' commit * Clean package.json * Remove UI tests * Remove the generative AI menu * Remove unused components * run yarn dedupe --------- Co-authored-by: David L. Qiu <[email protected]> * Upgrade to `jupyterlab-chat>=0.7.0` (jupyterlab#1166) * upgrade to jupyterlab-chat 0.7.0 * pre-commit * upgrade to @jupyter/chat ^0.7.0 in frontend * Remove v2 backend components (jupyterlab#1168) * remove v2 llm memory, implement ReplyStream * remove v2 websockets & REST handlers * remove unused v2 data models * fix slash command autocomplete * fix unit tests * remove unused _learned context provider * fix mypy * pre-commit * fix optional k arg in YChatHistory * bump jupyter chat to 0.7.1 to fix Python 3.9 tests * revert accidentally breaking /learn --------- Co-authored-by: Lumberbot (aka Jack) <[email protected]> Co-authored-by: Sanjiv Das <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alan Meeson <[email protected]> Co-authored-by: Mahmut CAVDAR <[email protected]> Co-authored-by: ctcjab <[email protected]> Co-authored-by: Mr.W <[email protected]> Co-authored-by: Nicolas Brichet <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Divyansh Choudhary <[email protected]>
SHA256 hashes: jupyter-ai-core-3.0.0-alpha.0.tgz: 07fe6ab97f8f98c527ae876cb8b9dc880baac133c3972abfd6126163df605454 jupyter_ai-3.0.0a0-py3-none-any.whl: c5541871b49770a295813d96e15f60665ea695ab91a064c7016a27115854268c jupyter_ai-3.0.0a0.tar.gz: 7e70f5c079138542ca605708b90163e99d8170534198dbbe16c118f93c9c6b06 jupyter_ai_magics-3.0.0a0-py3-none-any.whl: c66c535c8e43b7d932f4a1f014b285af694f4013dba2649540132989c4307a66 jupyter_ai_magics-3.0.0a0.tar.gz: c1a7050b6214142e71a92e5dfe2cc7adf62b7c184ea268362ec85dd97995837c
* add *.chat files to gitignore * gracefully handle new messages without a selected chat model * pre-commit
After the install script, also run `jlpm` and `jlpm build`.
for more information, see https://pre-commit.ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A small edit to add the commands
jlpm
andjlpm build
after the/scripts/install.sh
is applied. These were not in the documentation.