Add testimonials
This commit is contained in:
parent
06e943d478
commit
40223a12b5
7 changed files with 318 additions and 101 deletions
|
|
@ -71,7 +71,8 @@ func (p LlamaServerProvider) Health() (err error) {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (p LlamaServerProvider) Complete(ctx context.Context, prompt string) (response string, err error) {
|
||||
func (p LlamaServerProvider) Complete(ctx context.Context, prompt string, schema any) (response string, err error) {
|
||||
// TODO: schema enforcement
|
||||
req := Request{
|
||||
Messages: []Message{
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue