Skip to content

Conversation

@muthukumaran25
Copy link

No description provided.

Copy link
Contributor

@rawkintrevo rawkintrevo left a comment

Choose a reason for hiding this comment

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

Please remove images from the workbook (move to seperate files in the PR if they are needed). Then please rebase on main and add recipes/generate_sql_and_execute/generate_sql_and_exec.ipynb
to the appropriate file in .git/workflows

]
},
{
"attachments": {
Copy link
Contributor

Choose a reason for hiding this comment

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

If you need an image in your workbook, please include it as a seperate file, not inline in the notebook.

Copy link
Author

Choose a reason for hiding this comment

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

Done. Removed the images and added to .github/workflows and .github/notebook_lists

@muthukumaran25
Copy link
Author

@rawkintrevo I have made the requested changes. Am i missing anything for the approval and merge? Please let me know.

@rawkintrevo
Copy link
Contributor

hi @muthukumaran25 the testing has radically changed since my last comments. You'll want to work with @bjhargrave going forward, replacing myself with him as a reviewer

@rawkintrevo rawkintrevo requested review from bjhargrave and removed request for rawkintrevo December 2, 2024 16:45
Copy link
Member

@bjhargrave bjhargrave left a comment

Choose a reason for hiding this comment

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

Please also rebase on the tip of main.

- 'recipes/Text_to_Shell/Text_to_Shell.ipynb'
- 'recipes/Text_to_Shell_Exec/Text_to_Shell_Exec.ipynb'
- 'recipes/Text_to_SQL/Text_to_SQL.ipynb'
- 'recipes/generate_sql_and_execute/generate_sql_and_exec.ipynb'
Copy link
Member

Choose a reason for hiding this comment

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

This file no longer exists and you don't need to modify the workflows anymore for a new recipe.

recipes/Auto_Documentation/Auto_Documentation.ipynb
recipes/Text_to_Shell_Exec/Text_to_Shell_Exec.ipynb
recipes/Text_to_SQL/Text_to_SQL.ipynb
recipes/generate_sql_and_execute/generate_sql_and_exec.ipynb
Copy link
Member

Choose a reason for hiding this comment

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

Recipes in this file are tested during the CI build. I am not sure this recipe can be tested since it seems to include a number of manual steps instead of executable cells. If that is the case, then it should not be listed in this file.

It should however be mentioned in the readme like other recipes are.

"db2\": {\n",
" \"authentication\": {\n",
" \"method\": \"direct\",\n",
" \"password\": \"maDVHz4oUqmVE_mod\",\n",
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be a real username and password rather than a placeholder?

"metadata": {},
"outputs": [],
"source": [
"!pip install git+https://github.com/ibm-granite-community/granite-kitchen"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"!pip install git+https://github.com/ibm-granite-community/granite-kitchen"
"!pip install git+https://github.com/ibm-granite-community/utils.git"

We are using utils now. You may need to include other python packages needed by this recipe here like langchain_community, replicate, etc.

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.

3 participants