Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AkagawaTsurunaki/zerolan-core
/ functions
Functions
159 in github.com/AkagawaTsurunaki/zerolan-core
⨍
Functions
159
◇
Types & classes
39
↳
Endpoints
8
↓ 5 callers
Function
get_model
()
starter.py:31
↓ 2 callers
Method
_from_json
(self, t: Type[BaseModel])
database/milvus/milvus.py:87
↓ 2 callers
Method
_predict
(self, messages)
vla/showui/model.py:196
↓ 2 callers
Method
_role_to_str
(role)
llm/ollama/model.py:199
↓ 2 callers
Method
_to_chatglm_format
(llm_query: LLMQuery)
llm/chatglm3/model.py:76
↓ 2 callers
Method
_to_json
(self, res: any)
database/milvus/milvus.py:93
↓ 2 callers
Method
_to_ollama_format
转换为 Ollama API 格式 Ollama 格式: [{"role": "user", "content": "..."}, {"role": "assistant", "content": "..."}]
llm/ollama/model.py:162
↓ 2 callers
Method
_to_pipeline_format
(self)
llm/app.py:53
↓ 2 callers
Method
_to_pipeline_format
转换为 Pipeline 标准格式
llm/ollama/model.py:185
↓ 2 callers
Method
_to_pipeline_format
(response: str, history: list[dict[str:str]])
llm/chatglm3/model.py:82
↓ 2 callers
Method
_to_qwen_format
(llm_query: LLMQuery)
llm/qwen/model.py:102
↓ 2 callers
Method
_wrapper
(self, wave_nparray: np.ndarray, is_final: bool)
asr/paraformer/model.py:80
↓ 2 callers
Function
catch_error
(callable)
llm/qwen/model.py:17
↓ 2 callers
Function
create_temp_file
(prefix: str, suffix: str, tmpdir: Literal["image", "video", "audio"])
utils/file_util.py:10
↓ 2 callers
Method
insert
(self, insert: MilvusInsert)
database/milvus/milvus.py:36
↓ 2 callers
Function
is_cuda_available
(device: str)
asr/kotoba_whisper_2/model.py:14
↓ 2 callers
Method
run
(self)
asr/app.py:18
↓ 1 callers
Method
_predict_ground
(self, query: ShowUiQuery)
vla/showui/model.py:164
↓ 1 callers
Method
_predict_nav
(self, query: ShowUiQuery)
vla/showui/model.py:97
↓ 1 callers
Method
_to_deepseek_format
(llm_query: LLMQuery)
llm/deepseek/model.py:50
↓ 1 callers
Method
_to_pipeline_format
(response: str, messages: List[ChatCompletionMessageParam])
llm/deepseek/model.py:44
↓ 1 callers
Method
_to_pipeline_format
(response, history)
llm/shisa/model.py:99
↓ 1 callers
Method
_to_pipeline_format
(response, messages)
llm/yi/model.py:72
↓ 1 callers
Method
_to_pipeline_format
(response: str, history: list[tuple[str, str]], sys_prompt: str)
llm/qwen/model.py:127
↓ 1 callers
Method
_to_pipeline_format
(self)
img_cap/app.py:23
↓ 1 callers
Method
_to_pipeline_format
(self)
vid_cap/app.py:27
↓ 1 callers
Method
_to_pipeline_format
(self)
ocr/app.py:24
↓ 1 callers
Method
_to_pipeline_format
(self)
vla/showui/app.py:26
↓ 1 callers
Method
_to_shisa_format
(llm_query: LLMQuery)
llm/shisa/model.py:90
↓ 1 callers
Method
_to_yi_format
(llm_query: LLMQuery)
llm/yi/model.py:66
↓ 1 callers
Function
asr_app
()
starter.py:24
↓ 1 callers
Function
get_app
(service)
starter.py:196
↓ 1 callers
Function
get_request_audio_file
(request: Request)
utils/web_util.py:39
↓ 1 callers
Function
imgcap_app
()
starter.py:95
↓ 1 callers
Method
init
(self)
asr/app.py:23
↓ 1 callers
Method
init
(self)
llm/app.py:22
↓ 1 callers
Method
init
(self)
img_cap/app.py:40
↓ 1 callers
Method
init
(self)
ocr/app.py:43
↓ 1 callers
Function
llm_app
()
starter.py:50
↓ 1 callers
Function
load_config
()
starter.py:15
↓ 1 callers
Method
load_model
(self)
asr/kotoba_whisper_2/model.py:32
↓ 1 callers
Method
load_model
(self)
llm/yi/model.py:25
↓ 1 callers
Method
load_model
(self)
img_cap/blip/model.py:30
↓ 1 callers
Method
load_model
(self)
vid_cap/hitea/model.py:34
↓ 1 callers
Method
load_model
(self)
ocr/paddle/model.py:25
↓ 1 callers
Method
load_model
(self)
vla/showui/model.py:88
↓ 1 callers
Function
ocr_app
()
starter.py:116
↓ 1 callers
Method
predict
(self, query: ASRQuery)
asr/kotoba_whisper_2/model.py:42
↓ 1 callers
Method
predict
Predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Retu
llm/yi/model.py:32
↓ 1 callers
Method
predict
(self, query: ImgCapQuery)
img_cap/blip/model.py:35
↓ 1 callers
Method
predict
(self, query: VidCapQuery)
vid_cap/hitea/model.py:38
↓ 1 callers
Method
predict
(self, query: OCRQuery)
ocr/paddle/model.py:29
↓ 1 callers
Method
predict
(self, query: ShowUiQuery)
vla/showui/model.py:219
↓ 1 callers
Function
run
(service=None)
starter.py:217
↓ 1 callers
Method
search
(self, query: MilvusQuery)
database/milvus/milvus.py:53
↓ 1 callers
Method
stream_predict
(self, query: ASRStreamQuery)
asr/kotoba_whisper_2/model.py:49
↓ 1 callers
Method
stream_predict
Stream predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery
llm/yi/model.py:54
↓ 1 callers
Function
stringify
(actions: List[WebAction | PhoneAction])
vla/showui/model.py:62
↓ 1 callers
Method
to_glm4chat_format
(llm_query: LLMQuery)
llm/glm4/model.py:62
↓ 1 callers
Method
to_pipeline_format
(output: str, history: list[Conversation])
llm/glm4/model.py:68
↓ 1 callers
Method
try_create_collection
(self, collection_name: str, dimension: int, overwrite: bool = False)
database/milvus/milvus.py:24
↓ 1 callers
Function
tts_app
()
starter.py:137
↓ 1 callers
Function
vecdb_app
(db)
starter.py:168
↓ 1 callers
Function
vidcap_app
()
starter.py:181
↓ 1 callers
Function
vla_app
(model)
starter.py:155
Method
__init__
(self, model, host: str, port: int)
asr/app.py:12
Method
__init__
(self, config: SpeechParaformerModelConfig)
asr/paraformer/model.py:19
Method
__init__
(self, config: KotobaWhisper2Config)
asr/kotoba_whisper_2/model.py:22
Method
__init__
(self, model: AbstractModel, host: str, port: int)
llm/app.py:11
Method
__init__
(self, config: DeepSeekModelConfig)
llm/deepseek/model.py:18
Method
__init__
(self, config: OllamaModelConfig)
llm/ollama/model.py:21
Method
__init__
(self, config: ShisaModelConfig)
llm/shisa/model.py:20
Method
__init__
(self, config: ChatGLM3ModelConfig)
llm/chatglm3/model.py:16
Method
__init__
(self, config: YiModelConfig)
llm/yi/model.py:16
Method
__init__
(self, config: QwenModelConfig)
llm/qwen/model.py:29
Method
__init__
(self, config: GLM4ModelConfig)
llm/glm4/model.py:17
Method
__init__
(self, config: MilvusDBConfig)
database/milvus/milvus.py:18
Method
__init__
(self, database: MilvusDatabase, host: str, port: int)
database/milvus/milvus.py:76
Method
__init__
(self, model: AbstractModel, host: str, port: int)
img_cap/app.py:12
Method
__init__
(self, config: BlipModelConfig)
img_cap/blip/model.py:20
Method
__init__
(self, model: AbstractModel, host: str, port: int)
vid_cap/app.py:14
Method
__init__
(self, config: HiteaBaseModelConfig)
vid_cap/hitea/model.py:27
Method
__init__
(self, model: AbstractModel, host: str, port: int)
ocr/app.py:13
Method
__init__
(self, config: PaddleOCRModelConfig)
ocr/paddle/model.py:17
Method
__init__
(self)
tts/gpt_sovits/model.py:13
Method
__init__
(self, model: AbstractModel, name: str)
common/abs_app.py:11
Method
__init__
(self)
common/abs_model.py:7
Method
__init__
(self, model: AbstractModel, host: str, port: int)
vla/showui/app.py:11
Method
__init__
(self, config: ShowUIModelConfig)
vla/showui/model.py:72
Method
_handle_insert
(self)
database/milvus/milvus.py:99
Method
_handle_predict
()
img_cap/app.py:42
Method
_handle_predict
(self)
vid_cap/app.py:56
Method
_handle_predict
()
ocr/app.py:45
Method
_handle_predict
(self)
tts/app.py:13
Method
_handle_predict
(self)
vla/showui/app.py:43
Method
_handle_search
(self)
database/milvus/milvus.py:104
Method
_handle_status
(self)
common/abs_app.py:20
Method
_handle_stream_predict
()
img_cap/app.py:49
Method
_handle_stream_predict
(self)
vid_cap/app.py:63
Method
_handle_stream_predict
()
ocr/app.py:60
next →
1–100 of 159, ranked by callers