eliza
eliza copied to clipboard
farcaster-client fails to embed
Describe the bug
I'm brand new to this so forgive me, but it seems all incoming memories (from mentions) are using an empty vector when trying to embed. Is this desired, or should it embed the text from the cast?
I see this in the code for memory processing:
https://github.com/elizaOS/eliza/blob/d55c86c961960b4b34528c358eb34b2ff4b34d87/packages/client-farcaster/src/memory.ts#L45C8-L45C45
embedding: getEmbeddingZeroVector(),
It looks to be hardcoded to always be empty.
I'm using 0.1.7
To Reproduce
Connect farcaster client and get inbound messages from replies. See these log messages:
◎ LOGS Creating Memory c749dce0-4f97-0878-870f-ae92d34be101 @agentpaddington why is it so hard
⚠ WARNINGS Invalid embedding input: {"input":"","type":"string","length":0}
Expected behavior
Actual embedding of the memories.
Hello @CryptoGraffe! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
Yes, I've faced the same issue today. Also memories doesn't used in the prompt to answer.
Hello everyone. This need to be investigated internally but if the vector shape is 0 (or empty) content is not passed to embed.
This issue has been automatically marked as stale due to 30 days of inactivity. If no further activity occurs within 7 days, it will be closed automatically. Please take action if this issue is still relevant.