Jina 3.23.0 Update

Jina is a MLOps framework that empowers anyone to build cross-modal and multi-modal applications on the cloud.

Abstract representation of a magnetic field with a white and blue central structure surrounded by orange magnetic loops

Release Note (3.23.0)

This release contains 1 new feature and 1 bug fix.

Release ๐Ÿ’ซ Patch v3.23.0 ยท jina-ai/jina
Release Note (3.23.0) Release time: 2023-11-20 10:02:37 This release contains 1 new feature and 1 bug fix. ๐Ÿ†• Features Call extend rest interface in worker (#6108) When running a Deployment with Hโ€ฆ

๐Ÿ†• Features

Call extend rest interface in worker (#6108)

When running a Deployment with HTTP locally without docker you can now extend the API by using extend_rest_interface, the same as with Flow.

    import jina
    from jina import Deployment
    def extend_rest_function(app):
        @app.get('/hello', tags=['My Extended APIs'])
        async def foo():
            return {'msg': 'hello world'}

        return app

    jina.helper.extend_rest_interface = extend_rest_function
    d = Deployment(protocol='http', port=8080)

    with d:
        response = requests.get(f'http://localhost:8080/hello')
        assert response.status_code == 200
        assert response.json() == {'msg': 'hello world'}

๐Ÿž Bug Fixes

Read CSV with escaped chars (#6102)

There was an issue when using Jina to do batch transformations on SageMaker. Parsing texts with escape characters was not working properly.

๐ŸคŸ Contributors

We would like to thank all contributors to this release: