Skip to content

Docs/pipe llm multiplicity#106

Merged
lchoquel merged 5 commits intodevfrom
docs/PipeLM-Multiplicity
Jun 20, 2025
Merged

Docs/pipe llm multiplicity#106
lchoquel merged 5 commits intodevfrom
docs/PipeLM-Multiplicity

Conversation

@lchoquel
Copy link
Copy Markdown
Member

📝 Description

  • Fixed docs about PipeLM multiplicity params

🔄 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • [X 📚 Documentation update
  • 🧹 Code refactor
  • ⚡ Performance improvement
  • ✅ Test update

@lchoquel lchoquel requested a review from thomashebrard June 20, 2025 07:13

1. **Single Output** (default): Don't specify `nb_output` or `multiple_output`, or set `multiple_output = false`. The LLM generates exactly one result.

2. **Fixed Multiple Outputs**: Use `nb_output = N` (where N is a positive integer) when you need exactly N outputs. For example, `nb_output = 3` will try to generate 3 results. The parameter `_nb_output` will be available in the prompt template, e.g. "Give me the names of $_nb_output flowers".
Copy link
Copy Markdown
Member

@thomashebrard thomashebrard Jun 20, 2025

Choose a reason for hiding this comment

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

will be available in the prompt template, e.g. "Give me the names of $_nb_output flowers".

Shouldn't we display this in a full pipe ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes

thomashebrard
thomashebrard previously approved these changes Jun 20, 2025
# Conflicts:
#	docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeLLM.md
@@ -1,4 +1,4 @@
# PipeLLM
V# PipeLLM
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Typo

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed

@lchoquel lchoquel merged commit babf75d into dev Jun 20, 2025
12 of 13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 20, 2025
@lchoquel lchoquel deleted the docs/PipeLM-Multiplicity branch June 20, 2025 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants