json-chat

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 5 Imported by: 0

README

json-chat

This is an example of using pegwings-go to create a chat application using the the ChatCompletionsJson Method.

Usage

Make sure you have a groq key set in the environment variable GROQ_KEY.

export GROQ_KEY=your-groq-key
go run .

Documentation

Overview

Package main demonstrates an example application of pegwings-go. It shows how to use pegwings-go to create a chat completion of a json object using the llama-3.1-70B-8192-tool-use-preview model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL