Discover Packages
github.com/pegwings/pegwings-go
examples
json-chat
command
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Dec 17, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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 .
Expand ▾
Collapse ▴
Documentation
¶
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.