flat

package
v0.0.0-llm.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

func (Driver) NewSession

func (d Driver) NewSession(self dagql.Object, srv *dagql.Server) bbi.Session

type Session

type Session struct {
	IDs map[string]*call.ID
	// contains filtered or unexported fields
}

func (*Session) LookupObject

func (s *Session) LookupObject(ctx context.Context, idDigest string) (dagql.Object, error)

func (*Session) LookupObjectID

func (s *Session) LookupObjectID(ctx context.Context, idDigest string) (*call.ID, error)

func (*Session) Self

func (s *Session) Self() dagql.Object

func (*Session) Tools

func (s *Session) Tools() []bbi.Tool

func (*Session) TypeWasReturned

func (s *Session) TypeWasReturned(typename string) bool

Return true if the given dagql type has been returned to the model at least once We use this for tool optimization

Jump to

Keyboard shortcuts

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