hive_generator
Hive용 확장입니다. 어떤 클래스도 저장하기 위해 TypeAdapters를 자동으로 생성합니다.
gemini 및 flutter로 구축된 개인용 무료 사용 AI 보조자입니다.
Hive용 확장입니다. 어떤 클래스도 저장하기 위해 TypeAdapters를 자동으로 생성합니다.
v2.11.1무료이고 오픈소스인 채팅 SDK입니다. 고성능이며 사용자 정의 가능한 크로스 플랫폼 UI를 활용해 빠르고 실시간 앱과 생성형 AI 에이전트를 구축하세요.
v33.2.6Flutter PDF는 Android, iOS 및 웹 플랫폼에서 PDF 파일을 생성하고 읽고 편집하며 보호하기 위해 Dart로 네이티브로 작성된 라이브러리입니다.
v33.2.6Flutter PDF 뷰어 라이브러리는 PDF 문서를 원활하고 효율적으로 표시하는 데 사용됩니다.
Flutter에서 After Effects 애니메이션을 네이티브로 렌더링합니다. 이 패키지는 Lottie 플레이어의 순수한 Dart 구현입니다.
다트 애플리케이션용 로거, 필요 시 더 쉽게 분리할 수 있도록 믹스인을 사용합니다
{"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