eliza icon indicating copy to clipboard operation
eliza copied to clipboard

farcaster-client fails to embed

Open CryptoGraffe opened this issue 10 months ago • 2 comments

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.

CryptoGraffe avatar Jan 14 '25 19:01 CryptoGraffe

Hello @CryptoGraffe! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

github-actions[bot] avatar Jan 14 '25 19:01 github-actions[bot]

Yes, I've faced the same issue today. Also memories doesn't used in the prompt to answer.

AndriyAntonenko avatar Jan 14 '25 22:01 AndriyAntonenko

Hello everyone. This need to be investigated internally but if the vector shape is 0 (or empty) content is not passed to embed.

AIFlowML avatar Jan 16 '25 22:01 AIFlowML

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.

github-actions[bot] avatar Feb 16 '25 18:02 github-actions[bot]