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

Fix embedding calculation for sqlite #261

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

ferric-sol
Copy link
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
1 check failed
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