About custom caching implementation. #149
-
Hello everyone. I'm Murat. I've been learning programming for a year and a half. First of all, many thanks @marcominerva for the contribution, it's so helpful to practice AI techs by using this library. My question:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Have you tried setting breakpoints in the |
Beta Was this translation helpful? Give feedback.
Ohh thank you again. I missed this point. Refactored the registering of AddChatGpt service with the same lifetime of the dbContext. By doing this I got rid of code duplication. As it seems below 👍
Program.cs :
DatabaseMessageCache.cs :