{"repo":"yatendra2001/AI_Buddy","free":true,"listed":false,"github":"https://github.com/yatendra2001/AI_Buddy","clone":"git clone https://github.com/yatendra2001/AI_Buddy.git","description":"Your personal free-to-use AI assistant, built with gemini & flutter.","language":"Dart","stars":235,"topics":["embeddings","flutter","gemini","hive"],"license":"AGPL-3.0","category":"mobile-apps","readme_excerpt":"AI Buddy Your personal completely open-sourced and free-to-use AI assistant, built with gemini & flutter. Features AI Buddy is a cross-platform mobile application that leverages the power of AI to provide users with a personal assistant capable of understanding and responding to various queries. Chat with PDF Ask Image Text Chatbot --- ----------- ------ Architecture The architecture of the AI Buddy app is designed to efficiently process and interact with PDF documents. Here's a breakdown of the workflow: Overview The \"Chat with PDF\" feature of the AI Buddy app allows users to interact with the content of a PDF document in a conversational manner. The app extracts information from the PDF, processes it, and provides relevant responses to user queries. Workflow Diagram Workflow Steps 1. PDF Extraction : The PDF document is processed to extract its pages. 2. Chunking : The extracted pages are then split into manageable chunks for processing. 3. Batching : Chunks are grouped into batches (e.g., 1 batch = 100 chunks) for parallel processing. 4. Embedding Generation : Each batch is sent to an Embeddings API with the task type set to 'Document'. The API generates a list of vector embeddings for each chunk. 5. Local Storage : The generated embeddings for each batch are split into individual chunk embeddings. These embeddings are stored locally using Hive (a key-value database). 6. User Interaction : When a user inputs an instruction (e.g., \"Give me an intro to the book\"), the app se","default_branch":null,"files":null,"tree":[],"storefront":"/r/yatendra2001","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yatendra2001/AI_Buddy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}