Skip to content

Fix embedding calculation for sqlite#261

Merged
lalalune merged 2 commits into
elizaOS:mainfrom
ferric-sol:sqlite-embeddings
Nov 13, 2024
Merged

Fix embedding calculation for sqlite#261
lalalune merged 2 commits into
elizaOS:mainfrom
ferric-sol:sqlite-embeddings

Conversation

@ferric-sol
Copy link
Copy Markdown
Contributor

Relates to:

#251

Risks

There's no risk, this fixes the bug where embeddings/levenshtein_distance just weren't getting calculated correctly in sqlite

Background

What does this PR do?

Add code to correctly calculate embeddings and levenshtein distance with sqlite

What kind of change is this?

Bug fixes (non-breaking change which fixes an issue)

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Use the sqlite adapter and run defaultCharacter

Where should a reviewer start?

Detailed testing steps

None, automtated tests are fine.

Screenshots

Before

After

Deploy Notes

Database changes

Deployment instructions

@lalalune lalalune merged commit 193e5e7 into elizaOS:main Nov 13, 2024
lalalune added a commit that referenced this pull request May 3, 2026
Fix embedding calculation for sqlite
FranceFlapjack pushed a commit to FranceFlapjack/eliza that referenced this pull request May 16, 2026
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

Successfully merging this pull request may close these issues.

2 participants