最后活跃于 1731289443

修订 a2a33a8063feff53b8553cec1e9efce0cfb5b011

Jina-4.py 原始文件
1from jina import Client
2from docarray import DocList
3from executor import Prompt, Generation
4
5prompt = Prompt(text='suggest an interesting image generation prompt')
6client = Client(port=12345)
7response = client.post('/', inputs=[prompt], return_type=DocList[Generation])