-
Notifications
You must be signed in to change notification settings - Fork 68
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
Server architecture #146
Comments
This made implementing the conversational entity linking into the server much easier. See this branch: https://github.com/informagi/REL/blob/fastapi-conv-el/src/REL/server.py#L95-L109 |
Great idea, I also used FastAPI with Pydantic for another project and very much prefer it over hand-rolling a server! One nice functionality is the automatic documentation page ( See here: https://fastapi.tiangolo.com/tutorial/response-model/ |
Thanks for the pointer about the response schemas! I have also extensively used pydantic for another project, but this is the first time using fastapi, so I'm still exploring what it can do :-) Given that #147 pretty much works as is, what would it take to get that merged? I know that there are some docs that should be updated: |
Suggestion from @hasibi is to mimick WAT-API: https://sobigdata.d4science.org/web/tagme/wat-api |
Originally posted by @stefsmeets in #152 (comment) Any thoughts? |
Hi all,
With #150 we want to add conversational entity linking to the server, and there is also work being done by @eriktks to have a BERT version for linking and disambiguation (in addition to flair). To support this with the current setup of the server is a bit tricky.
One of the issues is that the server and the logic are interwoven, so adding new features is difficult. To avoid hacking around too much I would like to update the server to something that is easier to update and maintain.
I'm working on a branch that re-implements the server using pydantic/fastapi, This is more performant, has built-in data validation and api documentation. I believe this will make it much easier to extend the server later on.
To avoid breaking existing functionality, I tried to keep the first iteration the same as it is currently. Let me know if there are any use cases that I should be aware of.
I would be curious to hear your thoughts, and also your input in what you think the server should look like and what other functionality it should support.
The text was updated successfully, but these errors were encountered: