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: change plan parts embeddings to 256 vectprs #157

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

mantagen
Copy link
Collaborator

@mantagen mantagen commented Sep 24, 2024

Description

  • the new embeddings for lesson_plan_parts are 256 in length, this requires us to drop the column and recreate
  • this migration hasn't been run on staging or production yet
  • need to run it before uploading the new ingest data

Copy link

vercel bot commented Sep 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 8:48am

@@ -335,75 +335,4 @@ ${p.content}`,
WHERE id = ${id}`;
return result;
}

async search(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unused, and the table 'lesson_plans' no longer has embeddings in it, so this will not work.

Copy link

github-actions bot commented Sep 24, 2024

Playwright e2e tests

Job summary

Download report

To view traces locally, unzip the report and run:

npx playwright show-report ~/Downloads/playwright-report

Copy link

@mantagen mantagen merged commit 65f562c into main Sep 25, 2024
14 checks passed
@mantagen mantagen deleted the fix/embeddings-256 branch September 25, 2024 08:55
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants