Skip to content

AryaanSheth/gloq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gloq

Package Version Hex Docs test

Note

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.

About

Gleam wrapper for interfacing with GroqCloud LLM API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages