You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
did pip install
ran sage-chat hugging-face/transformers
gradio runs, but upon first questions. returns an error.
I asusmed this is because indexing is not done
performed index, still not working.
Expected behavior
Chat to work
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Python version: 3.11
OS: 13.66
LOGS
File "/Users/faizank/workspace/experiments/sage/venv/lib/python3.11/site-packages/gradio/utils.py", line 691, in async_iteration
return await anext(iterator)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/faizank/workspace/experiments/sage/sage/chat.py", line 105, in _predict
sources = [(doc.metadata["file_path"], doc.metadata["url"]) for doc in event["data"]["output"]]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-174' coro=<<async_generator_athrow without __name__>()> exception=BadRequestError("Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'system.0: Input does not match the expected shape.'}}")>
Traceback (most recent call last):
The text was updated successfully, but these errors were encountered:
eff-kay
changed the title
[BUG] Followed the docs, does not work as expected, used anthropic API.
[BUG] Followed the docs, does not work as expected, used both anthropic API and openAI API key
Jan 21, 2025
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
sage-chat hugging-face/transformers
I asusmed this is because indexing is not done
performed index, still not working.
Expected behavior
Chat to work
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
LOGS
The text was updated successfully, but these errors were encountered: