gloq
Library is in its very early stages
Feel free to create PR’s and Issues
gleam add gloq
import gleam/io
import gloq
pub fn main() {
let key = "abc123"
let req =
default_groq_request()
|> with_key(key)
|> with_user("user")
|> with_context("Hello, how are you?")
|> with_model("llama3-8b-8192")
|> build()
io.println(req.body)
}
Further documentation can be found at https://hex.pm/packages/gloq.