ml4ai / ASKEM-TA1-DockerVM

Docker recipes demonstrating how to use our pipelines
3 stars 1 forks source link

[code2fn] Example notebook in `end-to-end-rest` for comment extraction #7

Closed myedibleenso closed 1 year ago

myedibleenso commented 1 year ago

Consulting with @adarshp , add an example notebook to code2fn-rest subdir that demonstrates how to call the comment extraction service from lumai/askem-skema-rs.

myedibleenso commented 1 year ago

@jastier , please coordinate with @vincentraymond-ua on this.

myedibleenso commented 1 year ago

@adarshp , is there a REST API in Rust for extracting comments?

adarshp commented 1 year ago

@myedibleenso - yes, it's the /get_comments endpoint in the skema-rs service.

adarshp commented 1 year ago

Looks like it currently assumes that the source code being sent is Python (https://github.com/ml4ai/skema/blob/main/skema/skema-rs/skema/src/services/comment_extraction.rs). I can update it to handle Fortran and C/C++.

myedibleenso commented 1 year ago

Thanks, @adarshp !

myedibleenso commented 1 year ago

Complete (see e2e.ipynb)