gloq

Package Version Hex Docs Tests

Library is in its very early stages
Feel free to create PR’s and Issues

gleam add gloq
import gloq

pub fn main() {
  let api_key = "abc123"

  let response =
    gloq.groq_request(
      api_key,
      "user",
      "Explain the importance of fast language models",
      "llama3-8b-8192",
    )
    
  io.print(response)
}

Further documentation can be found at https://hex.pm/packages/gloq.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell
Search Document