-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a fake model that always returns the same canned response regardl…
…ess of what the prompt was. While this behavior is technically achievable via the `StaticMapping` model, we can reduce the burden on the user to have to create the mapping of all `(prompt: canned_response)` pairs by making it into its own model. PiperOrigin-RevId: 571449156
- Loading branch information
Langfun Authors
committed
Oct 6, 2023
1 parent
dbe61af
commit 27f545b
Showing
2 changed files
with
46 additions
and
7 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