ai

package
v0.0.0-...-14e6c00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AiServiceClientModule

func AiServiceClientModule() inject.Module

Types

type AiClient

type AiClient struct {
	RawAiClient aiproto.AiClient
}

/ A wrapper type around Ai client.

func (*AiClient) AskForWeather

func (self *AiClient) AskForWeather(
	ctx context.Context,
	location string,
	timestamp int64,
) string

/ Ask AI service for weather at location and time specified in arguments.

func (AiClient) ProvideAutoInjectAnnotations

func (self AiClient) ProvideAutoInjectAnnotations() interface{}

type AiService

type AiService struct{}

/ Annotation used by the AI service client module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL