claritylab / lucida

Speech and Vision Based Intelligent Personal Assistant
Other
4.81k stars 881 forks source link

Is there some documentation about how to integrate some services(Q&A) with other projects? #157

Open renecardozo opened 7 years ago

k0105 commented 7 years ago

You want to use the QA component only? In this case you want to look at OpenEphyra, not Lucida.

renecardozo commented 7 years ago

I'm trying to consume this component via their REST-API, I am assuming that each component expose those services.

renecardozo commented 7 years ago

My idea is create modules that works for areas (ASR, IM, QA, etc.) using for example nodejs, java. and my problem with Lucida is that it doesn´t have documentation related with comunication via their REST-API, I think that doing more modular Lucida will have more popularity.

k0105 commented 7 years ago

They don't use REST for that - the components are connected via Thrift only.

renecardozo commented 7 years ago

do you think that any application can consume the lucida services, using nodejs or java for example? I don´t mention the web version of lucida

2017-03-10 14:35 GMT-04:00 Κοῖος notifications@github.com:

They don't use REST for that - the components are connected via Thrift only.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/claritylab/lucida/issues/157#issuecomment-285748732, or mute the thread https://github.com/notifications/unsubscribe-auth/AQEPYWgQWCT8gfJlu93kwkZ7-qRZhUL_ks5rkZgDgaJpZM4MXEy6 .

k0105 commented 7 years ago

In theory, sure. They are just open source projects with a Thrift wrapper. A program in any language that is supported by Thrift can tap into that.

What is the web version of Lucida? You want to get rid of the command center, is that it? You can do that, but then you might even want to consider taking the original projects directly. Wrapping code in some Thrift or REST interface is not difficult and the result is probably more robust and up-to-date if you don't care about Lucida's interfaces.

KamalGalrani commented 7 years ago

If you don't want to dive into thrift you can simply analyse post/get requests made by your web browser to lucida command center and inplement them in nodejs

KamalGalrani commented 7 years ago

Added REST API. See README and wiki for more information