Caleb Gucciardi

Results 6 comments of Caleb Gucciardi

Hi 🙌 What would you save there? We insert metadata when we store documents in memory, as you could see [here](https://github.com/pieroit/cheshire-cat/blob/78b15c529eb2fd4241f1c865445595f3956ee1e3/core/cat/rabbit_hole.py#L137). Does this answer your questions? maybe I didn't get...

> something like > > ```python > @hook > def before_insertion_in_vector_memory(doc, cat): > > # do stuff with doc.page_content or doc.metadata > > return doc > ``` I'm thinking now,...

@pieroit I agree on using document metadata to pass context inside the hook. Source, is_summary, when and text are a perfect start. The only thing that could also be useful,...

PR #186 added a hook to all documents that are inserted in vector_memory @pieroit and I discussed in the comments of that PR how to proceed with the other hooks...

yep, I like the modal idea, we can style it like web telegram (or something similar)

Good question @pieroit I would create a tool for langchain as a plugin that reads CSVs from a specific folder in the root directory maybe. I don't think we need...