MCPcopy Create free account

hub / github.com/InternLM/HuixiangDou / functions

Functions808 in github.com/InternLM/HuixiangDou

Method__int__
Return the integer representation of the error code.
huixiangdou/services/helper.py:66
Method__len__
(self)
huixiangdou/services/web_search.py:61
Method__new__
Create new instance of ErrorCode.
huixiangdou/services/helper.py:59
Method__post_init__
(self)
huixiangdou/primitive/chunk.py:24
Method__repr__
(self)
huixiangdou/primitive/chunk.py:45
Method__repr__
(self)
huixiangdou/primitive/query.py:60
Method__str__
(self)
huixiangdou/primitive/file_operation.py:27
Method__str__
(self)
huixiangdou/frontend/wechat.py:338
Method__str__
(self)
huixiangdou/services/llm.py:85
Method__str__
(self)
huixiangdou/services/web_search.py:58
Method__str__
Return the str representation of the error code.
huixiangdou/services/helper.py:70
Method_forward
(self, model_inputs)
tests/test_optimum_st.py:35
Method_on_im_message_received
(cls, data: P2ImMessageReceiveV1)
web/service/agent.py:89
Method_sanitize_parameters
(self, **kwargs)
tests/test_optimum_st.py:23
Method_split_text
Split incoming text and return chunks.
huixiangdou/primitive/splitter.py:293
Method_store_image
(cls, path: str, url: str)
web/service/agent.py:351
Method_tokenize_corpus
(self, corpus)
huixiangdou/primitive/bm250kapi.py:64
Methodadd_chunk
(md_node: Node, pageid: int, text: str)
huixiangdou/services/kg.py:206
Methodaddition_isCorrect
android/demo/src/test/java/com/carlos/grabredenvelope/demo/ExampleUnitTest.kt:12
Functionallow_scheduler
(task)
web/scheduler/huixiangdou_task.py:138
Functionapi
(request)
huixiangdou/main.py:130
Methodbind
(self, logdir: str, port: int, forward:bool=False)
huixiangdou/frontend/wechat.py:781
Methodbuild_prompt
Build a prompt for interaction. Args: history_pair (list): List of previous interactions. instruction (str): Instruct
huixiangdou/services/llm_client.py:31
Methodbuild_reply_text
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:196
Functionbuilder_inited_handler
(app)
docs/en/conf.py:216
Functionbuilder_inited_handler
(app)
docs/zh/conf.py:216
FunctioncallFnsInSequence
(...fns: any[])
web/front-end/src/utils/utils.ts:170
Methodcall_kimi
Generate a response from Kimi (a remote LLM). Args: prompt (str): The prompt to send to Kimi. history (list): List of
huixiangdou/services/llm_server_hybrid.py:212
Functioncall_openai
(model_name, prompt, history)
tests/test_openai.py:5
Methodcall_openai
Generate a response from openai API. Args: prompt (str): The prompt to send to openai API. history (list): List of pr
huixiangdou/services/llm_server_hybrid.py:310
Methodcall_step
Generate a response from step, see https://platform.stepfun.com/docs/overview/quickstart. Args: prompt (str): The prompt
huixiangdou/services/llm_server_hybrid.py:262
Functioncallback_chat_state
(feature_store_id: str, query_id: str, code: int, state: str, text: str, ref: list)
web/proxy/main.py:55
Functioncallback_task_state
(feature_store_id: str, code: int, _type: str,
web/proxy/main.py:34
Functioncancel
()
web/front-end/src/components/upload/delete-btn.tsx:20
Functioncase_feedback
(request: Request, response: Response, body: ChatCaseFeedbackB
web/api/chat.py:29
Functionchat_online
(request: Request, response: Response, body: ChatRequestBody,
web/api/chat.py:13
Functionchat_online_response
(request: Request, response: Response, body: Cha
web/api/chat.py:21
Methodchat_with_server
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:115
FunctioncheckAll
(e)
web/front-end/src/components/upload/upload.tsx:108
FunctioncheckChange
(e)
web/front-end/src/components/upload/upload.tsx:52
FunctioncheckItem
(doc)
web/front-end/src/components/upload/upload.tsx:118
Functioncheck_gpu_max_memory_gb
()
huixiangdou/services/llm_server_hybrid.py:31
Functioncheck_hxd_token
(request: Request)
web/middleware/token.py:24
Functionclean_md
Remove parts of the markdown document that do not contain the key question words, such as code blocks, URL links, etc.
huixiangdou/primitive/splitter.py:653
Methodclick_send
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:385
FunctioncloseModal
()
web/front-end/src/pages/bean-detail/components/import-docs/import-docs.tsx:25
FunctioncloseModal
()
web/front-end/src/pages/bean-detail/components/integrate-feishu/integrate-feishu.tsx:42
MethodconfigUserId
(userId)
web/front-end/src/utils/mlog.ts:50
Functionconfirm
()
web/front-end/src/components/upload/delete-btn.tsx:15
Functioncopy
()
web/front-end/src/components/copy-code/copy-code.tsx:10
Methodcoroutine_wrapper
()
huixiangdou/services/llm_server_hybrid.py:148
Methodcoroutine_wrapper
()
huixiangdou/services/llm_server_hybrid.py:464
FunctioncustomConfigInterceptor
web/front-end/src/interceptors/request.ts:33
Methoddaemon
(self)
tests/test_build_milvus_and_filter.py:29
Methoddaemon
(self)
evaluation/rejection/build_fs_and_filter.py:43
Methoddaemon
(self)
evaluation/rerank/step1_create_candidates.py:22
Methoddefault_model_info
(self)
huixiangdou/services/llm.py:289
Functiondel
()
web/front-end/src/utils/utils.ts:164
FunctiondeleteSelected
()
web/front-end/src/components/upload/upload.tsx:224
Functiondo_p2_im_message_receive_v1
( data: P2ImMessageReceiveV1)
huixiangdou/frontend/lark_group.py:24
Functiondownload_and_unzip
(main_args)
huixiangdou/gradio_ui.py:161
Methodempty
Return True if the queue is empty, False otherwise.
huixiangdou/frontend/wechat.py:65
Methodempty
Return True if the queue is empty, False otherwise.
huixiangdou/services/helper.py:110
Methodempty
Return True if the queue is empty, False otherwise.
web/proxy/test.py:44
Functionempty_list
()
huixiangdou/frontend/wechat.py:297
Functionevent
()
huixiangdou/frontend/lark_group.py:67
Functionexport_onnx
()
tests/test_optimum_st.py:51
Functionfeature_store_base_dir
()
web/tools/dump_redis_query.py:30
Functionfetch
()
huixiangdou/frontend/lark_group.py:80
FunctionfetchCurrentUser
( token: string, )
web/front-end/src/services/user.ts:21
FunctionfetchOauthCode
(code: string | string[], redirect: string)
web/front-end/src/services/user.ts:46
Functionfetch_chat_response
()
web/scheduler/huixiangdou_task.py:108
Functionfinal_decro
Not using async.Semaphore to aovid use nest-asyncio
huixiangdou/services/llm.py:46
FunctionformatQuery
(basename = '')
web/front-end/src/utils/utils.ts:66
FunctionformatResponseData
web/front-end/src/interceptors/response.ts:17
Functionformat_refs
(refs: List[str])
evaluation/end2end/main.py:15
Methodforward_msg
(input_json: dict)
huixiangdou/frontend/wechat.py:786
Functiongen_jwt
:param feature_store_id: :param qa_name: 知识库名称 :param expire: 过期时间 unix 时间戳 :return: jwt
web/util/str.py:23
Functiongen_random_string
:param length: random string's length :return: a string with the given length, includes only A-Za-z0-9
web/util/str.py:13
Methodgenerate_hash_filename
(data: dict)
huixiangdou/frontend/wechat.py:532
Functionget
()
web/front-end/src/utils/utils.ts:130
MethodgetAppVersionName
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:108
FunctiongetFromCookie
()
web/front-end/src/utils/utils.ts:109
Methodget_all
Get add messages in queue without block.
huixiangdou/services/helper.py:136
Methodget_all
Get add messages in queue without block.
web/proxy/test.py:70
Methodget_batch_scores
Calculate bm25 scores between query and subset of all docs
huixiangdou/primitive/bm250kapi.py:163
Functionget_hxd_token_by_cookie
(cookies)
web/service/qalib.py:26
Functionget_month_time_str
(t: datetime)
web/util/time_util.py:5
Methodget_nowait
Equivalent to get(False).
huixiangdou/frontend/wechat.py:104
Methodget_nowait
Equivalent to get(False).
huixiangdou/services/helper.py:146
Methodget_nowait
Equivalent to get(False).
web/proxy/test.py:80
Functionget_suffix_by_name
(name: str)
web/service/qalib.py:63
Functionglobal_exception_handler
(_: Request, exc: HTTPException)
web/main.py:88
FunctionhandleChangeSwitch
(e)
web/front-end/src/pages/bean-detail/components/toggle-search/toggle-search.tsx:34
FunctionhandleClick
()
web/front-end/src/components/upload/upload.tsx:133
FunctionhandleClick
()
web/front-end/src/components/upload/delete-btn.tsx:11
FunctionhandleClick
()
web/front-end/src/components/button/button.tsx:17
FunctionhandleConfirm
()
web/front-end/src/pages/home/home.tsx:36
FunctionhandleErrorAlert
web/front-end/src/interceptors/response.ts:27
FunctionhandleErrorData
(error)
web/front-end/src/interceptors/response.ts:61
← previousnext →601–700 of 808, ranked by callers