diff --git a/controllers/guidance_ctrl/Lib/guidance/library/_gen.py b/controllers/guidance_ctrl/Lib/guidance/library/_gen.py index 2f9b3c39..11ec793c 100644 --- a/controllers/guidance_ctrl/Lib/guidance/library/_gen.py +++ b/controllers/guidance_ctrl/Lib/guidance/library/_gen.py @@ -27,7 +27,7 @@ def gen(lm, name=None, *, max_tokens=1000, list_append=False, regex=None, Parameters ---------- name : str or None - If this is not None then the the results of the generation will be saved as a variable on + If this is not None then the results of the generation will be saved as a variable on the Model object (so you can access the result as `lm["var_name"]`). max_tokens : int @@ -236,4 +236,4 @@ def will_gen(lm, stop=None, stop_regex=None, ignore_spaces=False, max_tokens=30) @guidance def call_tool(lm, tool): - return lm + tool.call_grammar + tool.tool_call() \ No newline at end of file + return lm + tool.call_grammar + tool.tool_call()