summaryrefslogtreecommitdiff
path: root/convertToPB.go
blob: 3f87e34e1baabecea9274821cf27898da9e3c287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package main

import (
	"go.wit.com/lib/protobuf/chatpb"
	"google.golang.org/genai"
)

func convertToPB(resp *genai.GenerateContentResponse) *chatpb.ChatEntry {
	pb := new(chatpb.ChatEntry)
	// TODO: add the code to convert the response to the protobuf
	return pb
}