-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable query tracking for Langfun agents.
By introducing `lf.agentic.Session.query`, we are able to track calls to `lf.query` and associate them with the right action and call venue. It also enables a possibility of returning `lf.query` output from stored trajectory. After this change, agents developers are encouraged to use `session.query` to replace `lf.query` within an Action for automatic tracking/saving capability. PiperOrigin-RevId: 702456741
- Loading branch information
Showing
2 changed files
with
94 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters