-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
problem with the Chat backend #335
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@feika Could you provide details on how you installed Jupyter AI? We have seen some users on JupyterLab 3 trying to install The installation instructions in our user documentation are the authoritative reference for how to install Jupyter AI. We can't guarantee a successful installation with methods not listed there. |
I use pip install which mentioned in the link you paste , and " jupyter server extension list " reports all OK |
"jupyter_ai | extension failed loading with message: ValidationError(model='CohereEmbeddingsProvider', errors=[{'loc': ('root',), 'msg': 'Could not import cohere python package. Please install it with but after I installed cohere withou confilict, it warned "jupyter_ai | extension failed loading with message: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
`` |
Problem solved by delete config file in /home//.local/share/jupyter/jupyter_ai/config.json* |
@feika This could be caused by your shell username being |
no ,problem already sloved , not because the user name , my user name is
not **, ** is replace by myself before I upload the log, is was the config
file
david qiu ***@***.***> 于 2023年8月15日周二 01:59写道:
… @feika <https://github.com/feika> This could be caused by your shell
username being **, which might interfere with some path-handling
libraries we are using.
—
Reply to this email directly, view it on GitHub
<#335 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZGQO4UWMPOGEOIK2WIGI3XVJRQXANCNFSM6AAAAAA3MKL6PU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
HI installed via: In the chat window: On the console Any suggestion for resolution? Thanks |
IS this resolved>??? |
i have installed jupyter lab in a conda environment using pip install jupyter_ai i got this error There seems to be a problem with the Chat backend, please look at the JupyterLab server logs or contact your administrator to correct this problem. |
same here |
+1 |
I have the same issue, and it doesn't allow me to reset my LLM model. the issue first happened when jupyter-ai became unresponsive , i had asked to analyze quite a large js file . i uninstalled and reintalled jupyter and jupyter-ai and the issue persists diagnostics: output of jupyter troubleshoot
sys.path: sys.executable: sys.version: platform.platform(): which -a jupyter: pip list: |
Reopened this issue due to recent comments. If you're seeing a 404 error when calling |
Other troubleshooting steps include deleting |
Here is the log of running the jupyter lab command and seeing the 404 error jupyter-lab
[I 2024-01-09 22:14:41.802 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-01-09 22:14:42.336 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server |
Yeah, deleting the config.json file gave me the option to reconfigure the LLM backends |
Where did you find that file? It says it is in the Jupyter AI settings directory. Where is that? These are the contents of my Jupyter AI folder: |
the file on my mac was in folder |
Same error: On local m2 mac: deleted the entire dir: /Users//%myname%/Library/Jupyter/
Why? This is a container, brand new, prestine? |
Same here:
Server logI called out "[E 2024-02-26 20:33:16.835 AiExtension] Could not load vector index from disk." below... (venv) nonroot@moon:~$ jupyter lab --config=$JUP_CONF
[I 2024-02-26 20:33:16.836 AiExtension] Initialized Jupyter AI server extension in 379 ms. |
I resolved my issue by removing The command should read:
|
Hey folks, I see that there has been a lot of activity in this issue, which was met from a limited response from us. We apologize and will be better about responding promptly in the future. To help remedy this for users, I will offer insight into this error, give recommendations to users, and then close this issue so discussion can begin anew. Here's some more information about this bug:
Here are my recommendations to users:
I hope this helps. Thank you for using Jupyter AI! ❤️ 🤗 |
Description
“There seems to be a problem with the Chat backend, please look at the JupyterLab server logs or contact your administrator to correct this problem.” show on web
In teminal, it showed 404 GET /api/ai/chats (662c3af254c24dc7939484fd0fb38feb@172.24.149.119) 1.17ms referer=None
Reproduce
Expected behavior
Context
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: