Server
ConversationConfig
Bases: BaseModel
Config for conversational entity linking. For more information: https://rel.readthedocs.io/en/latest/tutorials/conversations/.
response()
Return response for request.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
121 122 123 124 125 126 |
|
ConversationTurn
Bases: BaseModel
Specify turns in a conversation. Each turn has a speaker
and an utterance
.
NEAnnotation
Bases: BaseModel
Annotation for named entity linking.
NamedEntityConceptConfig
Bases: BaseModel
Config for named entity linking. Not yet implemented.
response()
Return response for request.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
63 64 65 66 67 68 69 |
|
NamedEntityConfig
Bases: BaseModel
Config for named entity linking. For more information, see https://rel.readthedocs.io/en/latest/tutorials/e2e_entity_linking/
response()
Return response for request.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
53 54 55 56 57 |
|
SystemResponse
UserResponse
conceptual_named_entity_linking(config)
Submit your text here for conceptual entity disambiguation or linking.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
242 243 244 245 246 247 |
|
conversational_entity_linking(config)
Submit your text here for conversational entity linking.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
234 235 236 237 238 239 |
|
named_entity_linking(config)
Submit your text here for entity disambiguation or linking.
The REL annotation mode can be selected by changing the path.
use /
or /ne/
for annotating regular text with named
entities (default), /ne_concept/
for regular text with both concepts and
named entities, and /conv/
for conversations with both concepts and
named entities.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
218 219 220 221 222 223 224 225 226 227 228 229 230 231 |
|
server_status()
Returns server status.
Source code in /home/docs/checkouts/readthedocs.org/user_builds/rel/envs/latest/lib/python3.7/site-packages/REL/server.py
207 208 209 210 211 212 213 214 215 |
|