MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / imlAIApiModule

Struct imlAIApiModule

module/ai/iml.go:796–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794var _ IAIAPIModule = (*imlAIApiModule)(nil)
795
796type imlAIApiModule struct {
797 aiAPIService ai_api.IAPIService `autowired:""`
798 aiAPIUseService ai_api.IAPIUseService `autowired:""`
799 serviceService service.IServiceService `autowired:""`
800 aiLocalModelService ai_local.ILocalModelService `autowired:""`
801}
802
803func (i *imlAIApiModule) APIs(ctx context.Context, keyword string, providerId string, start int64, end int64, page int, pageSize int, sortCondition string, asc bool, models []string, serviceIds []string) ([]*ai_dto.APIItem, *ai_dto.Condition, int64, error) {
804 modelItems := make([]*ai_dto.BasicInfo, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected