Updated docstring for the prompt_template in the generate_prompt_chunk function

This commit is contained in:
shenchucheng 2023-08-09 21:55:46 +08:00
parent f13d433f78
commit fc88a0edd5

View file

@ -37,7 +37,7 @@ def generate_prompt_chunk(
Args:
text: The text to split.
prompt_template: The template for the prompt.
prompt_template: The template for the prompt, containing a single `{}` placeholder. For example, "### Reference\n{}".
model_name: The name of the encoding to use. (e.g., "gpt-3.5-turbo")
system_text: The system prompts.
reserved: The number of reserved tokens.