rag/models/library.go

21 lines
422 B
Go
Raw Normal View History

2024-07-14 15:58:23 +00:00
package models
type ListLibraryRequest struct {
}
type ListLibraryResponse struct {
Libraries []LibraryRequest `json:"libraries"`
}
type Library struct {
LibraryName string `json:"libraryName"`
LibraryID string `json:"libraryId"`
Valid bool `json:"valid"`
}
type LibraryRequest struct {
LibraryName string `json:"libraryName"`
LibraryID string `json:"libraryId"`
Valid bool `json:"valid"`
}