Skip to content
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

Add NVIDIA medical chatbot example #62

Closed
wants to merge 2 commits into from

Conversation

annthurium
Copy link
Contributor

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we install both nvidia-haystack and another integration?


Reply via ReviewNB

Copy link
Contributor Author

@annthurium annthurium Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Writing a custom component didn't work when I only had nvidia-haystack installed. I ran into some import errors. Maybe that's a bug?

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #3.    !pip install nvidia-haystack==0.0.1

I believe you dont need the exclamation mark here


Reply via ReviewNB

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think many users know about the userdata.get functionality (also, probably not runnable outside of Google Colab). You can replace it with getpass


Reply via ReviewNB

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have the context, it would be nice to include information about the parameters you used here. What's bad,stop ,seed and why we provided None


Reply via ReviewNB

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #27.    keyword_llm.warm_up()

JFYI, you don't need to call warm_up if you're going to use these generators in a pipeline as Pipeline calls it when it runs but no harm keeping these calls


Reply via ReviewNB

@@ -0,0 +1,322 @@
{
Copy link
Contributor

@bilgeyucel bilgeyucel Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!


Reply via ReviewNB

@annthurium annthurium closed this Jun 5, 2024
@annthurium annthurium deleted the tt-2024-mar-nvidia-chatbot branch June 5, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants