mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Insert Local File instead of link

Open masteryodaa opened this issue 3 years ago • 2 comments

How do I train the model with my local files? Suppose I have a pdf in root directory and I want to add it like mygpt.add("pdf_file", "book.pdf"). Is it possible?

masteryodaa avatar Jun 27 '23 12:06 masteryodaa

you could just read the code you know :)

my_bot.add("pdf_file",'/Users/youruser/Downloads/yourpdf.pdf')

jamiequint avatar Jun 28 '23 06:06 jamiequint

thanks.

masteryodaa avatar Jun 28 '23 06:06 masteryodaa