M
Modular•8mo ago
DevAlexandre

List os Dict

I'm learn mojo, and I wnat use for llm, but my payload need be
[{"role": "role", "content": "content"}, {"role": "role", "content": "content"}]
[{"role": "role", "content": "content"}, {"role": "role", "content": "content"}]
the openai_integration.py work , I'm using py, ecause mojo haven't http client to request 😦 my struct is
@value
struct Role:
var role: String
var content: String
@value
struct Role:
var role: String
var content: String
How I could use this struct for create dinamy payload?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server