Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileCache = make(map[string]map[string]CachedFile)
Functions ¶
This section is empty.
Types ¶
type CachedFile ¶
type IamProvider ¶
type IamProvider struct {
// contains filtered or unexported fields
}
func NewIamProvider ¶
func NewIamProvider(providerName string, lang string) (*IamProvider, error)
func NewIamProviderWithOrg ¶
func NewIamProviderWithOrg(providerName string, org string, lang string) (*IamProvider, error)
NewIamProviderWithOrg creates an IamProvider scoped to a specific organization.
func (*IamProvider) DeleteObject ¶
func (p *IamProvider) DeleteObject(key string) error
func (*IamProvider) ListObjects ¶
func (p *IamProvider) ListObjects(prefix string) ([]*Object, error)
type LocalFileSystemStorageProvider ¶
type LocalFileSystemStorageProvider struct {
// contains filtered or unexported fields
}
func NewLocalFileSystemStorageProvider ¶
func NewLocalFileSystemStorageProvider(path string) (*LocalFileSystemStorageProvider, error)
func (*LocalFileSystemStorageProvider) DeleteObject ¶
func (p *LocalFileSystemStorageProvider) DeleteObject(key string) error
func (*LocalFileSystemStorageProvider) ListObjects ¶
func (p *LocalFileSystemStorageProvider) ListObjects(prefix string) ([]*Object, error)
type OpenAIFileSystemStorageProvider ¶
type OpenAIFileSystemStorageProvider struct {
// contains filtered or unexported fields
}
func NewOpenAIFileSystemStorageProvider ¶
func NewOpenAIFileSystemStorageProvider(vectorStoreId string, clientSecret string) (*OpenAIFileSystemStorageProvider, error)
func (*OpenAIFileSystemStorageProvider) DeleteObject ¶
func (p *OpenAIFileSystemStorageProvider) DeleteObject(key string) error
func (*OpenAIFileSystemStorageProvider) ListObjects ¶
func (p *OpenAIFileSystemStorageProvider) ListObjects(prefix string) ([]*Object, error)
Click to show internal directories.
Click to hide internal directories.