Open
Description
Is your feature request related to a problem? Please describe.
- Contribute demo-hallucination.pdl to https://github.com/ibm-granite-community/granite-snack-cookbook/
- Contribute a Jupyter notebook explaining the demo.
Describe the solution you'd like
- demo-hallucination.pdl uses a hard-coded passage. Make an example more like the existing Granite examples.
- The notebooks should have a cell with
%load_ext pdl.pdl_notebook_ext
to load the PDL Jupyter extension. - The PDL programs should follow a format like
%%pdl --reset-context
text:
- "What is the meaning of life?\n"
- model: ollama/granite-code:8b
This issue is to write a PDL example with the functionality of https://github.com/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Intrinsics/Granite_RAG_LoRA.ipynb and contribute it as a community cookbook.
Additional context
Design discussion can be done under this Issue. When we are ready, we will create an Issue and PR in https://github.com/ibm-granite-community/granite-snack-cookbook/