Update release note for #5526 (#5664)

This commit is contained in:
Vladimir Blagojevic 2023-08-29 14:25:52 +02:00 committed by GitHub
parent fa81c611e8
commit 1f7c7b716a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,11 @@
---
upgrade:
- |
This update impacts only those who have created custom invocation layers by subclassing PromptModelInvocationLayer.
Previously, the invoke() method in your custom layer received all prompt template parameters (like query,
documents, etc.) as keyword arguments. With this change, these parameters will no longer be passed in as keyword
arguments. If you've implemented such a custom layer, you'll need to potentially update your code to accommodate
this change.
enhancements:
- |
Remove template variables from invocation layer kwargs