mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-02 10:49:30 +00:00
docs: Add docstring for PromptNode debug attribute (#4672)
This commit is contained in:
parent
79727ed31f
commit
dbe3049682
@ -81,6 +81,7 @@ class PromptNode(BaseComponent):
|
||||
:param top_k: The number of independently generated texts to return per prompt. For example, if you set top_k=3, the model will generate three answers to the query.
|
||||
:param stop_words: Stops text generation if any of the stop words is generated.
|
||||
:param model_kwargs: Additional keyword arguments passed when loading the model specified in `model_name_or_path`.
|
||||
:param debug: Whether to include the used prompts as debug information in the output under the key _debug.
|
||||
|
||||
Note that Azure OpenAI InstructGPT models require two additional parameters: azure_base_url (the URL for the
|
||||
Azure OpenAI API endpoint, usually in the form `https://<your-endpoint>.openai.azure.com') and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user