8000
Skip to content

mohanavel15/duckchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

duckchat

Go based client for DuckChat

Example 1:

go run cmd/cli.go

preview

Example 2:

package main

import (
	"fmt"

	"github.com/mohanavel15/duckchat"
)

func main() {
	agent := duckchat.NewAgent(duckchat.GPT3dot5Turbo)

	response, err := agent.Send("What is Sagittarius A-Star?")
	if err != nil {
		fmt.Println("Unexpected Error:", err.Error())
		return
	}

	fmt.Println("Assistant:", response)
}

About

Go based client for Duckchat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

0