39 lines
665 B
TypeScript
39 lines
665 B
TypeScript
export type NomadOllamaModel = {
|
|
id: string
|
|
name: string
|
|
description: string
|
|
estimated_pulls: string
|
|
model_last_updated: string
|
|
first_seen: string
|
|
tags: NomadOllamaModelTag[]
|
|
}
|
|
|
|
export type NomadOllamaModelTag = {
|
|
name: string
|
|
size: string
|
|
context: string
|
|
input: string
|
|
}
|
|
|
|
export type NomadOllamaModelAPIResponse = {
|
|
success: boolean
|
|
message: string
|
|
models: NomadOllamaModel[]
|
|
}
|
|
|
|
export type OllamaModelListing = {
|
|
name: string
|
|
id: string
|
|
size: string
|
|
modified: string
|
|
}
|
|
|
|
|
|
export type OpenWebUIKnowledgeFileMetadata = {
|
|
source: string
|
|
name: string
|
|
created_by: string
|
|
file_id: string
|
|
start_index: number
|
|
hash: string
|
|
} |