Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionService ¶
func NewSessionService(ctx context.Context, cfg VertexAIServiceConfig, opts ...option.ClientOption) (session.Service, error)
NewSessionService returns VertextAiSessionService implementation.
Types ¶
type VertexAIServiceConfig ¶
type VertexAIServiceConfig struct {
// ProjectID with VertexAI API enabled.
ProjectID string
// Location where the reasoningEngine is running.
Location string
// ReasoningEngine is the runtime in the agent engine which will store the
// sessions.
// Optimal way is to create reasoningEngine per app.
// For example, a reasoningEngine can be created via the Vertex AI REST
// API's 'projects.locations.reasoningEngines.create' method.
ReasoningEngine string
}
Click to show internal directories.
Click to hide internal directories.