Skip to content

Commit dbe3049

Browse files
authored
docs: Add docstring for PromptNode debug attribute (#4672)
1 parent 79727ed commit dbe3049

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

haystack/nodes/prompt/prompt_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def __init__(
8181
: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.
8282
:param stop_words: Stops text generation if any of the stop words is generated.
8383
:param model_kwargs: Additional keyword arguments passed when loading the model specified in `model_name_or_path`.
84+
:param debug: Whether to include the used prompts as debug information in the output under the key _debug.
8485
8586
Note that Azure OpenAI InstructGPT models require two additional parameters: azure_base_url (the URL for the
8687
Azure OpenAI API endpoint, usually in the form `https://<your-endpoint>.openai.azure.com') and

0 commit comments

Comments
 (0)