19 lines
273 B
Go
19 lines
273 B
Go
|
|
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)
|
||
|
|
}
|