cognee/cognee/tasks
Igor Ilic 38cdacbcb6
fix: Resolve issue with Gemini adapter (#1494)
<!-- .github/pull_request_template.md -->

## Description
Resolve Gemini Adapter issues:
 1. resolve embedding batch issue,
2. Resolve slowness because gemini tokenizer was sending word per word
to Googles API to count tokens (using OpenAI's local tokenizer to count
tokens for Gemini now)
 3. Update deprecated library and move to instructor

## Type of Change
<!-- Please check the relevant option -->
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] My code follows the project's coding standards and style
guidelines
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] My commits have clear and descriptive messages

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-10-07 18:04:18 +02:00
..
chunk_naive_llm_classifier refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
chunks Fix: fixes None last_cut_type pydantic errors by introducing default cut type 2025-07-02 09:51:07 +02:00
code Docstring tasks. (#878) 2025-05-27 21:33:16 +02:00
codingagents Merge branch 'dev' into baml-refactor 2025-09-22 11:25:59 +02:00
completion chore: changing docstring 2025-08-13 15:20:24 +02:00
documents ruff fix 2025-08-14 14:48:35 +02:00
entity_completion/entity_extractors refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
graph Merge branch 'dev' into COG-2826 2025-09-25 13:31:21 +02:00
ingestion Aws session token support - MSR97 (#1364) 2025-09-28 15:28:27 +02:00
memify feat: memify next iteration 2025-09-03 16:08:32 +02:00
repo_processor fix: Make exluded paths use absolute path 2025-08-29 16:04:14 +02:00
schema fix: Resolve schema migration for Neo4j (#1482) 2025-09-29 13:50:11 +02:00
storage fix: Resolve issue with Gemini adapter (#1494) 2025-10-07 18:04:18 +02:00
summarization refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
temporal_awareness Docstring tasks. (#878) 2025-05-27 21:33:16 +02:00
temporal_graph Merge branch 'dev' into baml-refactor 2025-09-22 11:25:59 +02:00