Download web/src/interface.ts from zhzabcd/AISR: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/spaces/zhzabcd/AISR/resolve/main/web/src/interface.ts
- Command line
-
hf download hf://spaces/zhzabcd/AISR/web/src/interface.ts
-
curl -L -o interface.ts https://huggingface.co/spaces/zhzabcd/AISR/resolve/main/web/src/interface.ts
572 Bytes
| export interface IQueryResult { | |
| related?: string; | |
| answer?: string; | |
| contexts?: Record<string, any>[]; | |
| images?: Record<string, any>[]; | |
| } | |
| export interface ISelectOptions { | |
| name: string; | |
| value: string; | |
| } | |
| export type Role = 'user' | 'assistant' | |
| export type Provider = 'ollama' | 'lmstudio'; | |
| export interface IMessage { | |
| role: Role; | |
| content: string; | |
| } | |
| export type TSearCategory = 'general' | 'science' | 'images' | 'videos' | 'news' | |
| export type TSearchMode = 'simple' | 'deep' | 'research' | |
| export type TSearchEngine = 'GOOGLE' | 'BING' | 'SOGOU' | 'SEARXNG' | |