Skip to content

Commit

Permalink
fix(vertexai): visible sample values in comments (#3804)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Ross <adamross@google.com>
  • Loading branch information
Deleplace and grayside committed Mar 14, 2024
1 parent ae40f4d commit e733b60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vertexai/function-calling/functioncalling.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ import (
// - first, to convert a text into a structured function call request
// - second, to convert a structured function call response into natural language
func functionCalls(w io.Writer, prompt, projectID, location, modelName string) error {
// prompt := "What's the weather like in Paris?"
// location := "us-central1"
// modelName := "gemini-1.0-pro"
ctx := context.Background()
client, err := genai.NewClient(ctx, projectID, location)
if err != nil {
Expand Down

0 comments on commit e733b60

Please sign in to comment.