Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我现在有一个大语言的模型,只支持Python,但是我目前的服务是Java项目,Java项目的服务调用使用的motan,请问Python支持motan吗?或者有没有什么其他好的建议可以提供一下 #1049

Open
lxyxjl opened this issue Oct 12, 2023 · 1 comment

Comments

@lxyxjl
Copy link

lxyxjl commented Oct 12, 2023

No description provided.

@rayzhang0603
Copy link
Collaborator

目前支持motan2协议的客户端只有java、golang、php、openresty比较成熟,python和c++的客户端实现还不太完善目前只是微博内部使用并没有开源。

如果服务的入参和返回值都是简单对象,可以考虑引入motan-protocol-restful模块,同时导出restful协议,client侧使用http进行调用。restful配置可以参考demo模块中的RestfulServerDemo.javamotan_demo_server_restful.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants