Closed eraykeskinmac closed 3 months ago
@enesakar is this what you imaged? Let me know.
cok tesekkurler @eraykeskinmac
devamini bekleriz @eraykeskinmac
@enesakar Çok teşekkürler abi! Devamı için çalışıyorum, projeyi inceledikçe daha fazlasını yapmak istiyorum.
@eraykeskinmac This is good, but I think we should also consider whether we want to fetch history from the store. @enesakar what do you think?
when historyDisabled, the SDK should not call redis (to fetch history)
@eraykeskinmac Addition to what we have right now, can you disable history fetch when disableHistory
is active?
@ogzhanolguncu Sure i will add that feature to disable history fetch when disableHistory is active
@eraykeskinmac There were lots of conflicts I moved all your commits to https://github.com/upstash/rag-chat/pull/57 here. Your contributions are still there so nothing to worry about.
This PR implements the
disableHistory
option for the RAGChat class as requested in issue #44. Here's what this PR includes:disableHistory
option toChatOptions
RAGChat
class to handle the new optiondisableHistory
is set to trueThis feature allows users to disable history recording for specific chat interactions, providing more flexibility in how chat history is managed.
Testing:
Note: Some tests may fail due to missing environment variables. I've used the QStash token as suggested, but please let me know if any adjustments are needed.