Agent Server where you can deploy PremSQL agents in the most customized forms.
python server.py
. Here is a quick demo on How your analysis experience would look like.
If you want to do the above in fully local setting using Ollama, check out our introduction page.
ExitWorkerOutput
and AgentOutput
. When using AgentServer it by default uses AgentOutput
. Here is a brief architecture of AgentServer.
/query
(for Text to SQL), /plot
(for plotting dataframes) and /analyse
(for analysing dataframes and question answering). Each of the worker (in the Baseline as well) is inherited from a baseclass. And each of them follows a strict output pydantic model so that we can maintain a reliable structured output generation. Once you complete your implementation of your own agent / worker you can use with AgentServer to test it out.
When using AgnentServer, you can also the internal Backend API (written on django) to see information around different sessions and do basic crud operations as shown here: