withPromptContributor

abstract fun withPromptContributor(promptContributor: <Error class: unknown class>): THIS

Returns a copy of this LLM service with an additional prompt contributor.

Return

A new instance with the added contributor

Parameters

promptContributor

The prompt contributor to add