Files
langchain-go/backend/agent/response_struct/card_test.go
T

19 lines
273 B
Go
Raw Normal View History

2026-03-25 21:37:40 +08:00
package agent
import (
"testing"
"github.com/tmc/langchaingo/outputparser"
)
func TestCard(t *testing.T) {
definedCard, err := outputparser.NewDefined(Card{})
if err != nil {
t.Fatalf("%v", err)
}
output := definedCard.GetFormatInstructions()
t.Log(output)
}