Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector dimensions issue #255

Open
uannyao opened this issue Sep 30, 2024 · 1 comment
Open

vector dimensions issue #255

uannyao opened this issue Sep 30, 2024 · 1 comment

Comments

@uannyao
Copy link

uannyao commented Sep 30, 2024

I have tried the meta-llama/Llama-3-8b-chat-hf chatmodel and togethercomputer/m2-bert-80M-8k-retrieval embedding model with embeddingDimension: 768, but I'm having the following error many times when agents are having conversations:

9/30/2024, 5:59:09 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] Uncaught Error: Expected a vector with dimensions 768, received 1024.
at async searchMemories (../../convex/agent/memory.ts:164:12)
at async startConversationMessage (../../convex/agent/conversation.ts:34:4)
at async handler (../../convex/aiTown/agentOperations.ts:74:6)

@ianmacartney
Copy link
Collaborator

ianmacartney commented Sep 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants