Skip to content

Commit

Permalink
Merge pull request #972 from adeshmukh/main
Browse files Browse the repository at this point in the history
fix(docs): Minor fix to how_to_guides/using_llms.md
  • Loading branch information
zsimjee authored Jul 29, 2024
2 parents 43e848b + fc54490 commit 6f9962d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how_to_guides/using_llms.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ guard = Guard.from_pydantic(Basket)
result = guard(
messages=[{"role":"user", "content":"Generate a basket of 5 fruits"}],
model="gpt-4o",
tools=guard.add_json_function_calling_tool([]),
tools=guard.json_function_calling_tool([]),
tool_choice="required",
)

Expand Down Expand Up @@ -248,4 +248,4 @@ print(f"{result.validated_output}")

## Other LLMs

See LiteLLM’s documentation [here](https://docs.litellm.ai/docs/providers) for details on many other llms.
See LiteLLM’s documentation [here](https://docs.litellm.ai/docs/providers) for details on many other llms.

0 comments on commit 6f9962d

Please sign in to comment.