openai

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

openai相关接口

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AiBot

func AiBot(clt *core.Client, sign string, query string) (ret *model.NLUResult, err error)

AiBot 智能对话接口

func LocalSign

func LocalSign(clt *core.Client, req *model.User) (signature string, err error)

func ParseSign

func ParseSign(clt *core.Client, signature string) (token *jwt.Token, err error)

func Sign

func Sign(clt *core.Client, req *model.User) (signature string, expiresIn int64, err error)

Sign 获取signature

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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