Closed ngoiyaeric closed 3 weeks ago
We can definitely scan pdfs currently, and also allow to declare tools/functions but we don't have a mechanism currently to add messages to the chat and call again. I assume you are looking for being able to generate more "user" message and reexecute the chat query?
Yes, perhaps even in parallel to generate questions and verify their relevance to the contents of the content. The idea is to allow automated question and answer pair generation. https://github.com/e-p-armstrong/augmentoolkit made an attempt to solve this, it seems like a possible additional feature for this repo.
I am thinking about the ability of registering a function that gets called in the chat loop and gets the opportunity to add new messages to start a new turn. That function has a generation context that also has runPrompt so it can do sub LLM requests.
What about the defChatParticipant
function which lets you register a callback for each chat "turn" that crafts a new message in the message list.
in 1.39, reopen if you need more.
Hi, would this repository allow me to scan a pdf and create multi-turn conversations for the purpose of fine-tuning.