-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/jupyterlab/jupyter-ai
- Loading branch information
Showing
35 changed files
with
2,619 additions
and
3,258 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,38 @@ | |
|
||
<!-- <START NEW CHANGELOG ENTRY> --> | ||
|
||
## 2.2.0 | ||
|
||
([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/[email protected])) | ||
|
||
### Enhancements made | ||
|
||
- Loads vector store index lazily [#374](https://github.com/jupyterlab/jupyter-ai/pull/374) ([@3coins](https://github.com/3coins)) | ||
- Added alias for bedrock titan model [#368](https://github.com/jupyterlab/jupyter-ai/pull/368) ([@3coins](https://github.com/3coins)) | ||
- Update README, docs [#347](https://github.com/jupyterlab/jupyter-ai/pull/347) ([@JasonWeill](https://github.com/JasonWeill)) | ||
|
||
### Bugs fixed | ||
|
||
- fix newline typo in improve_code [#364](https://github.com/jupyterlab/jupyter-ai/pull/364) ([@michaelchia](https://github.com/michaelchia)) | ||
|
||
### Maintenance and upkeep improvements | ||
|
||
- Upgrades LangChain to 0.0.277 [#375](https://github.com/jupyterlab/jupyter-ai/pull/375) ([@3coins](https://github.com/3coins)) | ||
- relax pinning on importlib_metadata, typing_extensions [#363](https://github.com/jupyterlab/jupyter-ai/pull/363) ([@minrk](https://github.com/minrk)) | ||
|
||
### Documentation improvements | ||
|
||
- Remove front end unit tests from code and README.md [#371](https://github.com/jupyterlab/jupyter-ai/pull/371) ([@andrii-i](https://github.com/andrii-i)) | ||
- Update README, docs [#347](https://github.com/jupyterlab/jupyter-ai/pull/347) ([@JasonWeill](https://github.com/JasonWeill)) | ||
|
||
### Contributors to this release | ||
|
||
([GitHub contributors page for this release](https://github.com/jupyterlab/jupyter-ai/graphs/contributors?from=2023-08-15&to=2023-09-05&type=c)) | ||
|
||
[@3coins](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3A3coins+updated%3A2023-08-15..2023-09-05&type=Issues) | [@andrii-i](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aandrii-i+updated%3A2023-08-15..2023-09-05&type=Issues) | [@JasonWeill](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3AJasonWeill+updated%3A2023-08-15..2023-09-05&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Akrassowski+updated%3A2023-08-15..2023-09-05&type=Issues) | [@michaelchia](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Amichaelchia+updated%3A2023-08-15..2023-09-05&type=Issues) | [@minrk](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aminrk+updated%3A2023-08-15..2023-09-05&type=Issues) | [@welcome](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Awelcome+updated%3A2023-08-15..2023-09-05&type=Issues) | ||
|
||
<!-- <END NEW CHANGELOG ENTRY> --> | ||
|
||
## 2.1.0 | ||
|
||
([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/[email protected])) | ||
|
@@ -24,8 +56,6 @@ | |
|
||
[@3coins](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3A3coins+updated%3A2023-08-08..2023-08-15&type=Issues) | [@anammari](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aanammari+updated%3A2023-08-08..2023-08-15&type=Issues) | [@bjornjorgensen](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Abjornjorgensen+updated%3A2023-08-08..2023-08-15&type=Issues) | [@dlqqq](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Adlqqq+updated%3A2023-08-08..2023-08-15&type=Issues) | [@JasonWeill](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3AJasonWeill+updated%3A2023-08-08..2023-08-15&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Akrassowski+updated%3A2023-08-08..2023-08-15&type=Issues) | [@welcome](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Awelcome+updated%3A2023-08-08..2023-08-15&type=Issues) | ||
|
||
<!-- <END NEW CHANGELOG ENTRY> --> | ||
|
||
## 2.0.1 | ||
|
||
([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/[email protected])) | ||
|
File renamed without changes.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"useWorkspaces": true, | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"npmClient": "yarn", | ||
"useNx": true | ||
} |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,3 +124,4 @@ dmypy.json | |
|
||
# Coverage reports | ||
coverage/* | ||
junit.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,29 @@ | ||
const jestJupyterLab = require('@jupyterlab/testutils/lib/jest-config'); | ||
|
||
const esModules = [ | ||
'@codemirror', | ||
'@jupyter/ydoc', | ||
'@jupyterlab/', | ||
'lib0', | ||
'y\\-protocols', | ||
'y\\-websocket', | ||
'nanoid', | ||
'vscode-ws-jsonrpc', | ||
'y-protocols', | ||
'y-websocket', | ||
'yjs' | ||
].join('|'); | ||
|
||
const jlabConfig = jestJupyterLab(__dirname); | ||
|
||
const { | ||
moduleFileExtensions, | ||
moduleNameMapper, | ||
preset, | ||
setupFilesAfterEnv, | ||
setupFiles, | ||
testPathIgnorePatterns, | ||
transform | ||
} = jlabConfig; | ||
const baseConfig = jestJupyterLab(__dirname); | ||
|
||
module.exports = { | ||
moduleFileExtensions, | ||
moduleNameMapper, | ||
preset, | ||
setupFilesAfterEnv, | ||
setupFiles, | ||
testPathIgnorePatterns, | ||
transform, | ||
...baseConfig, | ||
automock: false, | ||
collectCoverageFrom: [ | ||
'src/**/*.{ts,tsx}', | ||
'!src/**/*.d.ts', | ||
'!src/**/.ipynb_checkpoints/*' | ||
// TODO: re-enable coverage reports when we have more comprehensive testing | ||
// 'src/**/*.{ts,tsx}', | ||
// '!src/**/*.d.ts', | ||
// '!src/**/.ipynb_checkpoints/*' | ||
], | ||
coverageDirectory: 'coverage', | ||
coverageReporters: ['lcov', 'text'], | ||
globals: { | ||
'ts-jest': { | ||
tsconfig: 'tsconfig.json' | ||
} | ||
}, | ||
testRegex: 'src/.*/.*.spec.ts[x]?$', | ||
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+`] | ||
}; |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"title": "Jupyter AI configuration", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$comment": "Default values are sourced from `config_manager.py`.", | ||
"type": "object", | ||
"properties": { | ||
"model_provider_id": { | ||
"$comment": "Language model global ID.", | ||
"type": ["string", "null"], | ||
"default": null, | ||
"readOnly": false | ||
}, | ||
"embeddings_provider_id": { | ||
"$comment": "Embedding model global ID.", | ||
"type": ["string", "null"], | ||
"default": null, | ||
"readOnly": false | ||
}, | ||
"api_keys": { | ||
"$comment": "Dictionary of API keys, mapping key names to key values.", | ||
"type": "object", | ||
"default": {} | ||
}, | ||
"send_with_shift_enter": { | ||
"$comment": "Whether to send a message via Shift-Enter instead of Enter.", | ||
"type": "boolean", | ||
"default": false, | ||
"readOnly": false | ||
}, | ||
"fields": { | ||
"$comment": "Dictionary of model-specific fields, mapping LM GIDs to sub-dictionaries of field key-value pairs.", | ||
"type": "object", | ||
"default": {}, | ||
"patternProperties": { | ||
"^.*$": { | ||
"anyOf": [{ "type": "object" }] | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
Oops, something went wrong.