Skip to content

Commit

Permalink
genai: remove FunctionSchema (#69)
Browse files Browse the repository at this point in the history
Remove the schema inference feature until we can be sure it is
the right design.
  • Loading branch information
jba authored Mar 13, 2024
1 parent 3f23055 commit 6bd397c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 161 deletions.
7 changes: 0 additions & 7 deletions genai/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,6 @@ func TestLive(t *testing.T) {
Required: []string{"location"},
})
})
t.Run("inferred", func(t *testing.T) {
s, err := FunctionSchema(func(string) {}, "location")
if err != nil {
t.Fatal(err)
}
weatherChat(t, s)
})
})
}

Expand Down
85 changes: 0 additions & 85 deletions genai/schema.go

This file was deleted.

69 changes: 0 additions & 69 deletions genai/schema_test.go

This file was deleted.

0 comments on commit 6bd397c

Please sign in to comment.