-
Notifications
You must be signed in to change notification settings - Fork 2
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
【Hackathon + No.224】 + 提交作品 #5
Conversation
if __name__ == "__main__": | ||
with Deployment(uses=PlatoXLExecutor) as dep: | ||
response_docs = dep.post( | ||
on='/', inputs=DocumentArray([Document(text='你好!')])) | ||
print(f'Text: {response_docs[0].text}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest converting this example into unittest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output of plato is not the same every time it runs, so unittest is not suitable here
@SOVLOOKUP Please keep it in mind to push your executor to jina hub. |
Co-authored-by: felix-wang <35718120+numb3r3@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
overview
jina hub:
https://cloud.jina.ai/executor/2l50o527/