hive_generator
Hive 的擴展。自動為任何類別產生 TypeAdapters 來儲存資料。
您的個人免費使用AI助理,基於gemini與flutter建構。
Hive 的擴展。自動為任何類別產生 TypeAdapters 來儲存資料。
v2.11.1免費開源的聊天 SDK。使用高效率、可自訂的跨平台介面,快速建立即時應用與生成式 AI 代理。
v33.2.6Flutter PDF 是一個以 Dart 原生撰寫的程式庫,可用於在 Android、iOS 和 Web 平台上建立、讀取、編輯和保護 PDF 檔案。
v33.2.6Flutter PDF 查看器庫用於順暢且高效地顯示 PDF 文件。
在 Flutter 中原生渲染 After Effects 動畫。此套件是 Lottie 播放器的純 Dart 實現。
Dart 應用程式日誌記錄器,使用 mixin 以便在需要時更容易分離
{"sdk":"flutter"}^2.0.3^11.1.3^6.1.14^6.1.0^3.3.0^2.2.3^1.6.12^4.3.3^3.6.2^2.4.1^4.8.1^5.4.0^2.1.2^4.2.1^2.4.10^2.3.4^6.1.1^1.0.7^24.2.4^24.2.5^5.2.0^3.0.0^1.0.2{"sdk":"flutter"}^2.0.0^2.4.8^2.4.7^2.0.0^6.7.1^5.4.4^3.16.7以下為英文專案原文快照,最新內容請造訪 GitHub。
Forks Stargazers Issues GPL License
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 |
|---|---|---|
| Chat with PDF | Ask Image | Text Chatbot |
The architecture of the AI Buddy app is designed to efficiently process and interact with PDF documents. Here's a breakdown of the workflow:
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.
Chat with PDF Flutter App Architecture
PDF Extraction: The PDF document is processed to extract its pages.
Chunking: The extracted pages are then split into manageable chunks for processing.
Batching: Chunks are grouped into batches (e.g., 1 batch = 100 chunks) for parallel processing.
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.
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).
User Interaction: When a user inputs an instruction (e.g., "Give me an intro to the book"), the app sends the query to the Embeddings API with the task type set to 'Query' to generate an embedding for the query.
Semantic Search: The app performs a semantic search by taking the embedding of the user's query and comparing it across the document embeddings stored in Hive.
Ranking Results: The chunks are ranked based on the Euclidean distance between the query embedding and document embeddings. The top-ranked chunks are used as the context for the language model (LLM).
Response Generation: The language model generates an answer based on the context provided by the top-ranked chunks.
Need the latest flutter version & a gemini api key from here
flutter upgrade
git clone https://github.com/yatendra2001/ai_buddy.git
flutter pub get
flutter run
Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Contribution to the project can be made if you have some improvements for the project or if you find some bugs. You can contribute to the project by reporting issues, forking it, modifying the code and making a pull request to the repository.
Please make sure you specify the commit type when opening pull requests:
feat: The new feature you're proposing
fix: A bug fix in the project
style: Feature and updates related to UI improvements and styling
test: Everything related to testing
docs: Everything related to documentation
refactor: Regular code refactoring and maintenance
To know more extensively about how to contribute to this project, read our Contribution Guide.
Distributed under the AGPL-3.0 license. See LICENSE for more information.
Twitter: @iamyatendrak
LinkedIn: linkedin