VectorStoreChatMemoryAdvisor constructors cleanup
- Deprecate all constructors except one with all fields - Update the build method to include order in the VectorStoreChatMemoryAdvisor's constructor
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
6035516044
commit
cd871eaddc
@@ -135,7 +135,7 @@ class PgVectorStoreWithChatMemoryAdvisorIT {
|
||||
.build()
|
||||
.prompt()
|
||||
.user("joke")
|
||||
.advisors(new VectorStoreChatMemoryAdvisor(store))
|
||||
.advisors(VectorStoreChatMemoryAdvisor.builder(store).build())
|
||||
.call()
|
||||
.chatResponse();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user