yoheinakajima / babyagi

MIT License
19.66k stars 2.57k forks source link

Result id always equals `result_1` hence a single embedding vector is stored (and constantly replaced) #308

Open peterbanda opened 1 year ago

peterbanda commented 1 year ago

Result id is defined by the following line:

result_id = f"result_{task['task_id']}"

But the top task with the id 1 (after renumbering) is always taken hence result_id = result_1 in every single cycle which results in updating/replacing of a single vector in Pinecone/Chroma.

peterbanda commented 1 year ago

PR provided.