mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-03-13 15:56:37 +00:00
Update prompting.py
This commit is contained in:
parent
4364f4b3cc
commit
11b283defa
@ -182,6 +182,8 @@ class LollmsContextDetails:
|
||||
" }",
|
||||
"}",
|
||||
"```",
|
||||
"Do not explain how the function call works, just call it with the parameters",
|
||||
"Once you call the function, it will be executed and the output returned to the user.",
|
||||
"It is mandatory to use the function markdown tag (not json) or it won't be executed."
|
||||
"Important Notes:",
|
||||
"- **Always** enclose the function call in a `function` markdown code block.",
|
||||
@ -207,4 +209,4 @@ class LollmsContextDetails:
|
||||
print(f"Prompt size : {nb_prompt_tokens}")
|
||||
print(f"Requested generation max size : {nb_tokens}")
|
||||
|
||||
return prompt
|
||||
return prompt
|
||||
|
Loading…
x
Reference in New Issue
Block a user