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

AL template search: Architecture #9721

Open
Dschoordsch opened this issue May 7, 2024 · 4 comments
Open

AL template search: Architecture #9721

Dschoordsch opened this issue May 7, 2024 · 4 comments
Assignees

Comments

@Dschoordsch
Copy link
Contributor

Goals

The Activity Library template search should be

  • responsive, i.e. results should show up as the user types
  • find exact text matches
  • find smart matches, e.g. searching for "project end" should bring up "post-mortem"
@Dschoordsch Dschoordsch self-assigned this May 7, 2024
@Dschoordsch
Copy link
Contributor Author

Ideally we could run a small model on the client. This way the search would be much more responsive and there wouldn't be a lot of load on the server. On the other hand we're running the spotlight search on the server just fine.

@jordanh
Copy link
Contributor

jordanh commented May 20, 2024

scrubbed

@Dschoordsch
Copy link
Contributor Author

Easiest way to implement is

  • embed all templates with a plaintext including all prompts and descriptions
    • don't include extra prose
  • add query on the User next to availableTemplates
  • debounce and query this from the client

@Dschoordsch
Copy link
Contributor Author

  • import historical meeting templates based on updatedAt field
  • make sure the updatedAt field of the template is also updated when a prompt is changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

2 participants