(ctx context.Context, filename string, content []byte)
| 7 | // ClientInterface defines the interface for OpenWebUI client operations |
| 8 | type ClientInterface interface { |
| 9 | UploadFile(ctx context.Context, filename string, content []byte) (*File, error) |
| 10 | GetFile(ctx context.Context, fileID string) (*File, error) |
| 11 | ListKnowledge(ctx context.Context) ([]*Knowledge, error) |
| 12 | AddFileToKnowledge(ctx context.Context, knowledgeID, fileID string) error |