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

LLM integration to search for visits and other events #27

Open
devraj opened this issue Feb 5, 2024 · 1 comment
Open

LLM integration to search for visits and other events #27

devraj opened this issue Feb 5, 2024 · 1 comment
Assignees
Milestone

Comments

@devraj
Copy link
Member

devraj commented Feb 5, 2024

OpenAI has an official Python library and would lead to some interesting integrations if we can index the synchroised database to be indexed and the user can pose questions like:

Dev Mukherjee's last visit to the pool

or event reporting such as:

How many times does Dev Mukherjee goto the pool a month

Design

The first portion of this would be to analyse how the OpenAI platform works from an API standpoint and if it's useful to present this as part of the cli and tui interfaces.

Note that the API key will have to be vendored in by the user of the tool, but this is ok as the interfaces are designed for an advanced user.

Once we are comfortable with what the OpenAI API does, then we can expand on the specific requirements of this ticket.

Technical considerations

Not that this should make a difference but @openai use rye as the package management tool for the Python package.

See ticket where we are moving to hatch

@devraj
Copy link
Member Author

devraj commented Feb 18, 2024

Explore the possibility of using a local LLM to ensure the library and utility is decoupled from a commercial service.

Rationale: what we are trying to do is not that difficult in terms of language models and could without depending on a third party service.

@devraj devraj changed the title OpenAI integration to search for visits and other events LLM integration to search for visits and other events Mar 24, 2024
@devraj devraj added this to the beta-1 milestone Apr 14, 2024
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

1 participant