-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix doc builds after recent changes #494
Conversation
if not isinstance(input, collections.abc.Collection): | ||
input = [input] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Driveby to also allow single documents.
*, | ||
source_storage: Union[Type[SourceStorage], SourceStorage], | ||
assistant: Union[Type[Assistant], Assistant], | ||
corpus_name: Optional[str], | ||
corpus_name: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nenb I've added a default value here, because I don't want to force users to always set this one.
"source_storage": source_storages.RagnaDemoSourceStorage.display_name(), | ||
"assistant": DemoStreamingAssistant.display_name(), | ||
"corpus_name": None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to have this as default value as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still valid after your comments in #493?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine, but I'm not 💯 sure if you want to set the corpus_name
as None
or use a sentinel after #493.
Superseded by #498. |
This is to get the CI green again on the
corpus-dev
branch. We still need to add actual documentation for the changes we have made. I'll flag some of them below.