28 Commits (main)
 

Author SHA1 Message Date
KKlochko 53944c8082
Update prompts in README.
1 month ago
KKlochko eb41be0202
Update README to update default and add more examples.
1 month ago
KKlochko d80a1f78bc
Update the default value of MAX_TEXT_LENGTH to 1000 for the image.
1 month ago
KKlochko b459ff0d3e
Update models to cache the value of MAX_TEXT_LENGTH.
1 month ago
KKlochko 09d88ef949
Add validations to test if combined prompt and text length exceed max.
1 month ago
KKlochko dfab9d3df0
Update the lifecycle to load the model only from local files.
1 month ago
KKlochko fc286b34ed
Add the prompt support for endpoints.
1 month ago
KKlochko 6588ed2767
Remove unused models.
1 month ago
KKlochko 0f9546462e
Add the validation for empty texts.
1 month ago
KKlochko 59caa6a0ab
Add a handler to make the structure of validation errors consistent.
1 month ago
KKlochko 763773ee51
Add the integration test.
1 month ago
KKlochko efb3683fb7
Update README to add how to use the server.
1 month ago
KKlochko 3bb822f77c
Add Dockerfile and .dockerignore.
1 month ago
KKlochko 004b076794
Update .gitignore.
1 month ago
KKlochko 8539dc45a8
Add tests for verify output structure.
1 month ago
KKlochko be811ddb59
Add logging for tracing errors.
1 month ago
KKlochko 12475d8d0a
Add tests for relation extraction endpoint.
1 month ago
KKlochko 9b1661c9ef
Fix the implentation for relation extraction endpoint.
1 month ago
KKlochko 295b9368f9
Add tests for sumarization endpoint.
1 month ago
KKlochko ac34ef0740
Add tests for general endpoint.
1 month ago
KKlochko 487e5d00a1
Add tests to verify error response format for endpoints.
1 month ago
KKlochko cda672a84a
Add exception handler to make flat error responses.
1 month ago
KKlochko f2d1ec9957
Add helper methods and endpoint implementations.
1 month ago
KKlochko eab1d4ffd3
Add the lifespan to load model or to cleanup.
1 month ago
KKlochko e40c0af2f7
Add models.
1 month ago
KKlochko d5d204c642
Add tests for the health endpoint.
1 month ago
KKlochko c8b724fd29
Add requirements for prod and dev profiles.
1 month ago
KKlochko 24ac2744d0
Init the project.
1 month ago