Im interested to know if there is anyone that has implemented chat with your own database datas because I have a case where I need to have this thing. Please let me know, thanks!
Thanks for the chat. So let me just formulate the question for others who might read this and don’t understand what’s it about and what we found out - maybe someone else has a solution on that.
- you are using langchainjs and it comes up with an error from the calculateMaxTokens function in util “Failed to calculate number of tokens, falling back to approximate count”
Since I havn’t seen the library before my suggestion was to go to that code and output what you are sending inside said function (you said you are sending a very tiny set of data) - maybe there is some kind of escape problem or the prompt with the data is too long…
Using Python, I have created chatbot with my own data.
@freelancedev112 are you using langchain for it ?
and which is the name of model of open ai that you’re using?
I am using that with Python.