georgia-tech-db / evadb

Database system for AI-powered apps
https://evadb.ai/docs
Apache License 2.0
2.6k stars 261 forks source link

Initialisation/bootstrapping of custom user defined function #1451

Open tail-recursion opened 2 months ago

tail-recursion commented 2 months ago

Search before asking

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.

github-actions[bot] commented 2 months ago

👋 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.