Skip to content

Server architecture #146

@stefsmeets

Description

@stefsmeets

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions