-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChatCompletion.json
1 lines (1 loc) · 2.6 KB
/
ChatCompletion.json
1
{"blocks":{"languageVersion":0,"blocks":[{"type":"showUI","id":"~E].]~9FvtQn/!b;21-@","x":50,"y":70,"next":{"block":{"type":"restoreContextItem","id":"S-~K~u5!07MSKJ1z81r=","inputs":{"key":{"block":{"type":"text","id":"Df/zy0y|D2kZmCtK:y]9","fields":{"TEXT":"APIServer"}}}},"next":{"block":{"type":"restoreContextItem","id":"rq(;UT`;{Wv]y538Q}CJ","inputs":{"key":{"block":{"type":"text","id":"O)FGoHW;GT]fqq*$bM?Y","fields":{"TEXT":"APIKey"}}}},"next":{"block":{"type":"restoreContextItem","id":"W6T@*Pq@kEF!Ma:a}{0~","inputs":{"key":{"block":{"type":"text","id":"S$pUu!UJ=Us#-~^-;K67","fields":{"TEXT":"default_model"}}}},"next":{"block":{"type":"restoreContextItem","id":"U.$@_#Cf*4Qm?N=N$7Ya","inputs":{"key":{"block":{"type":"text","id":"h|,pi.l9}qD6HULk886;","fields":{"TEXT":"default_max_tokens"}}}},"next":{"block":{"type":"restoreContextItem","id":"XK9I;*Htj:r/{i}HNBR3","inputs":{"key":{"block":{"type":"text","id":"@F*PV5x21GpB6`X/y]T3","fields":{"TEXT":"default_num_ctx"}}}},"next":{"block":{"type":"nop","id":"prLO)h`|u$gpJ}//eb(d","next":{"block":{"type":"variables_set","id":"c3.vwzkdLJJ{Tjq`Ia]e","fields":{"VAR":{"id":"cJYoOMq$$|(((Xn_F_IG"}},"inputs":{"VALUE":{"block":{"type":"lists_create_with","id":"ZEO|I1:,=t;k8yMn*^mk","extraState":{"itemCount":4},"inputs":{"ADD0":{"block":{"type":"text","id":"]$tJEETgB=uN^8s#dea4","fields":{"TEXT":"You are a friendly and helpful agent."}}},"ADD1":{"block":{"type":"text","id":"J0jKv)O/5A`r%Lz7_.kG","fields":{"TEXT":"Hello."}}},"ADD2":{"block":{"type":"text","id":"#_+_(e_}31=me~qTaZOM","fields":{"TEXT":"Hi, my name is \"Nemo\". What can I do four you?"}}},"ADD3":{"block":{"type":"text","id":"H[7?LrCrog^P?4o{7qNX","fields":{"TEXT":"Tell me what you aer good for!"}}}}}}},"next":{"block":{"type":"println","id":"GSF^mex724~lJO4No4NC","inputs":{"message":{"block":{"type":"text","id":"e#RKby/35s]HL%o@~D[W","fields":{"TEXT":"(waiting for API server to respond...)"}}}},"next":{"block":{"type":"variables_set","id":"~o*/{aB3[*{Zc}fTwCB:","fields":{"VAR":{"id":"6TH$ag$_Fd4YuJ(0QCTb"}},"inputs":{"VALUE":{"block":{"type":"ChatCompletionFor","id":"0F:W]..~NwKre]FR=UV+","inputs":{"messages":{"block":{"type":"variables_get","id":"ljG?~Dv_97Em,_xEz81{","fields":{"VAR":{"id":"cJYoOMq$$|(((Xn_F_IG"}}}}}}}},"next":{"block":{"type":"clearConsole","id":"EK;fPOWDWy:se.`xE6t|","next":{"block":{"type":"println","id":"XF3v7#p-QqKIXp8rCuEo","inputs":{"message":{"block":{"type":"variables_get","id":"]9(2Kk-r_gb_Y;~:dzP6","fields":{"VAR":{"id":"6TH$ag$_Fd4YuJ(0QCTb"}}}}}}}}}}}}}}}}}}}}}}}}}}}}]},"variables":[{"name":"Response","id":"6TH$ag$_Fd4YuJ(0QCTb"},{"name":"MessageList","id":"cJYoOMq$$|(((Xn_F_IG"}]}