Skip to content

Contribute demo-hallucination.pdl to granite-snack-cookbook #559

Open
@esnible

Description

@esnible

Is your feature request related to a problem? Please describe.

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions