diff --git a/docs/how_to_guides/using_llms.md b/docs/how_to_guides/using_llms.md index 4e99201f2..1c038de89 100644 --- a/docs/how_to_guides/using_llms.md +++ b/docs/how_to_guides/using_llms.md @@ -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", ) @@ -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. \ No newline at end of file +See LiteLLM’s documentation [here](https://docs.litellm.ai/docs/providers) for details on many other llms.