Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Nov 12, 2024
1 parent c6708ee commit cab801d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2/ollamaclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ func (oc *Config) GetChatResponse(promptAndOptionalImages ...string) (OutputResp
return res, nil
}

// GetOutputChatVision sends a request to the Ollama API and returns the generated response.
// It is similar to GetChatResponse, but it adds the images into the Message struct before sending them.
func (oc *Config) GetOutputChatVision(promptAndOptionalImages ...string) (string, error) {
var (
temperature float64
Expand Down

0 comments on commit cab801d

Please sign in to comment.