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

Initialisation/bootstrapping of custom user defined function #1451

Open
1 task done
tail-recursion opened this issue Mar 20, 2024 · 1 comment
Open
1 task done

Initialisation/bootstrapping of custom user defined function #1451

tail-recursion opened this issue Mar 20, 2024 · 1 comment

Comments

@tail-recursion
Copy link

Search before asking

  • I have searched the EvaDB issues and found no similar questions.

Question

Hi, I have a custom user defined function that has to do quite a bit of work in setup (loading data/model from remote Postgres database). Is it possible to do some sort of initialisation of a custom function when my application starts rather than when I invoke the function in Eva DB? One way I thought of doing this was a simple client/server model using sockets running on the host where the server would retrieve the data/model from remote database and perform any initialisation and the custom function would act as a client to send a request to the server. I don't really want to go down this route however if there is something I can use that is built into Eva DB which might be easier.

Copy link
Contributor

👋 Hello @tail-recursion, thanks for your interest in EVA DB 🙏 Please visit our 🔮 Tutorials to get started, where you can find quickstart guides for simple tasks like Image Classification all the way to more interesting tasks like Emotion Analysis.

If this is a 🐞 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a ❓ Question, please provide as much information as possible, including dataset examples and query results.

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