Skip to content

Conversation

@zastrowm
Copy link
Member

Description

Add a cookbook section with useful hook examples including:

  1. Fixed tool arguments
  2. Limiting the # of times a tool can be called

The first example already existed but the second example is new but also requested by users

Notes

I'm not entirely convinced the Cookbook makes sense, but I don't want to bloat out the main content of the page with a bunch of examples - open to ideas/revision though.

When we have the site-revamp, I'd like to have a dedicated CookBook/Recipes top level section where all of the examples would be instead.

Type of Change

  • Content update/revision

Motivation and Context

People have asked for examples of this + a cookbook section makes more sense than bloating out the entire page.

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using mkdocs serve
  • Links in the documentation are valid and working
  • Images/diagrams are properly sized and formatted
  • All new and existing tests pass

Additional Notes

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add a cookbook section with useful hook examples including:
  1. Fixed tool arguments
  2. Limiting the # of times a tool can be called

The first example already existed but the second example is new but also requested by users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant