# Embedding error using TXTsearchtool

**URL:** <https://community.crewai.com/t/embedding-error-using-txtsearchtool/1109>\
**Category:** CrewAI Community Support\
**Tags:** tools\_issues\
**Created:** [October 29, 2024, 9:29am UTC](https://community.crewai.com/t/embedding-error-using-txtsearchtool/1109 "2024-10-29T09:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danglies](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/danglies/32/397_2.png) [@danglies](https://community.crewai.com/u/danglies)\
**Post date:** [October 29, 2024, 9:29am UTC](https://community.crewai.com/t/embedding-error-using-txtsearchtool/1109/1 "2024-10-29T09:29:37Z")

</div>

Hi I am getting a chromadb error when I use the TXTsearchtool.

I have 1 agent running a number of asyc tasks using TXTsearchtool to extract information from a single .txt file and I am receiving this error:

what does this mean ?

PS C:\Users\Alex\Documents\Github\DecisionCrew\decisioncrew\> crewai run  
Running the Crew  
Inserting batches in chromadb: 0%| | 0/1 [00:00\<?, ?it/s]2024-10-29 11:03:25,416 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,417 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,417 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - sqlite.py-sqlite:284 - WARNING: Insert of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
2024-10-29 11:03:25,418 - 13876 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:271 - WARNING: Add of existing embedding ID: default-app-id–68f779a0d0ccc975c683c22a9b011a45203c8785529af06b5882a7e639aa0bec  
Inserting batches in chromadb: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00\<00:00, 1.38it/s]  
🖇 AgentOps: Session Replay: [AgentOps Dashboard](https://app.agentops.ai/drilldown?session_id=f10aa3f6-6af0-475a-b9af-52fb2b53ce38)

# Agent: Decision quality transcription expert with deep {industry} and {company} expertise

## Task: From the transcript of the meetings you try to captue as much information relating to the {trans\_decision\_extracts\_primary}. Do not make up any content related to the {trans\_decision\_extracts\_primary}, rather indicate that “The insights were not avaialbe from the meeting”

# Agent: Decision quality transcription expert with deep {industry} and {company} expertise

2024-10-29 11:03:40,379 - 10444 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:40,379 - 21356 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:40,520 - 3644 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:40,571 - 23768 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:40,715 - 15640 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:41,779 - 21840 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1  
2024-10-29 11:03:44,612 - 10444 - local\_persistent\_hnsw.py-local\_persistent\_hnsw:347 - WARNING: Number of requested results 3 is greater than number of elements in index 1, updating n\_results = 1

---

<div class="post-metadata">

**Author:** ![lreinecke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/lreinecke/32/1893_2.png) [@lreinecke](https://community.crewai.com/u/lreinecke)\
**Post date:** [January 23, 2025, 10:42am UTC](https://community.crewai.com/t/embedding-error-using-txtsearchtool/1109/2 "2025-01-23T10:42:04Z")

</div>

Could you fix the problem?
