jupyter-ai
jupyter-ai copied to clipboard
A generative AI extension for JupyterLab
## Description I'm trying to use a huggingface api with jupyter_ai I keep getting this ``` Task exception was never retrieved future: Traceback (most recent call last): File "/home/user1/anaconda3/lib/python3.11/site-packages/jupyter_ai/handlers.py", line...
When CohereAPIError happens, error is not propagated to Jupyter AI, langchain is stuck in the loop
## Description When CohereAPIError happens, error is not propagated to Jupyter AI, langchain is stuck in the loop ## Reproduce 1. Choose Cohere model, use bad API key 2. Attempt...
### Problem I think it could be useful to be able to setup up `Base API URL` for Embedding Model as well. For example if we use a custom `Base...
### Problem Users would like a provider that allows them to download a model from HF Hub and invoke it locally. ### Proposed Solution LangChain's `SelfHostedHuggingFaceLLM` provider should offer what...
## Description %%ai chatgpt seems not using the api base url ## Reproduce set base URL to openai api compatiable e.g. https://api.xxx.com/v1 ## Expected behavior it always return auth error...
In #584, I noticed that on a provider _instance_ `p`, `p.name` resolves to `None` instead of the class attribute. Likely because of the new `name` Pydantic field added by LangChain,...
# :grey_question: About I'm trying to add a demo on top of huggingface mode with the following code: ```python %%ai huggingface_hub:TinyLlama/TinyLlama-1.1B-Chat-v1.0 Write a poem about rust language ``` ... but...
## Description When selecting Hugging Face Hub as the language model in the chat UI settings, the help text below the "Local model ID" input box is inaccurate. `huggingface_hub:` is...
## Description _Original issue on OpenAI community forum: https://community.openai.com/t/attributeerror-module-openai-has-no-attribute-error/486676_ The new version of the `openai` package is breaking the the Jupyter-ai notebook. Any command to the openai models raises the...
Looking at the code, there seems to be some components that expect to work on a `LabShell` only: https://github.com/jupyterlab/jupyter-ai/blob/9c69a7b851d46a66bb9664b4b906bdd7e55e984e/packages/jupyter-ai/src/selection-watcher.ts#L102 Which can prevent using the extension in other lab-based applications such...