Skip to content

Commit fa2272a

Browse files
committed
instruction -> instructions
1 parent 78aef23 commit fa2272a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/how_to_guides/using_llms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ guard = Guard().use(ProfanityFree())
304304
def my_llm_api(
305305
prompt: Optional[str] = None,
306306
*,
307-
instruction: Optional[str] = None,
307+
instructions: Optional[str] = None,
308308
msg_history: Optional[list[dict]] = None,
309309
**kwargs
310310
) -> str:
@@ -324,7 +324,7 @@ def my_llm_api(
324324

325325
# Call your LLM API here
326326
# What you pass to the llm will depend on what arguments it accepts.
327-
llm_output = some_llm(prompt, instruction, msg_history, **kwargs)
327+
llm_output = some_llm(prompt, instructions, msg_history, **kwargs)
328328

329329
return llm_output
330330

0 commit comments

Comments
 (0)