-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added classification_location parameter in PebbloSafeLoader. #47
Added classification_location parameter in PebbloSafeLoader. #47
Conversation
bb467fb
to
30c51e2
Compare
ae09530
to
5544b59
Compare
Signed-off-by: Rahul Tripathi <[email protected]>
Signed-off-by: Rahul Tripathi <[email protected]>
Signed-off-by: Rahul Tripathi <[email protected]>
…loRetrievalQA. Signed-off-by: Rahul Tripathi <[email protected]>
Signed-off-by: Rahul Tripathi <[email protected]>
1b13f3a
to
7729af6
Compare
Signed-off-by: Rahul Tripathi <[email protected]>
Signed-off-by: Rahul Tripathi <[email protected]>
_discover_sent: bool = False #: :meta private: | ||
classifier_location: str = "local" #: :meta private: | ||
"""Classifier location. It could be either of 'local' or 'pebblo-cloud'.""" | ||
_discover_sent = False #: :meta private: |
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.
What is the use of _discover_sent
and _prompt_sent
? They are only set and never used in the code. Additionally, since these are class-level variables, how will they work with multiple prompt requests?
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.
These flags are not intended to be used within the code, but by the end user.
The end user user can check the status of discovery or prompt/document payload sent successfully or not.
Currently they are only for pebblo-server, can be enhanced for pebblo-cloud as well.
To fix _prompt_sent, now I have intentionally set it to False in the beginning of _call method.
Signed-off-by: Rahul Tripathi <[email protected]>
Signed-off-by: Rahul Tripathi <[email protected]>
7919297
to
1903c15
Compare
Signed-off-by: Rahul Tripathi <[email protected]>
1903c15
to
50c835b
Compare
Closing this PR since the changes are already merged into |
Description: Add classifier_url parameter in PebbloSafeLoader, It enables following flow of code execution.