Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternLM/HuixiangDou
/ functions
Functions
808 in github.com/InternLM/HuixiangDou
⨍
Functions
808
◇
Types & classes
184
↳
Endpoints
20
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
Method
add_chunk
(md_node: Node, pageid: int, text: str)
huixiangdou/services/kg.py:206
Method
addition_isCorrect
android/demo/src/test/java/com/carlos/grabredenvelope/demo/ExampleUnitTest.kt:12
Function
allow_scheduler
(task)
web/scheduler/huixiangdou_task.py:138
Function
api
(request)
huixiangdou/main.py:130
Method
bind
(self, logdir: str, port: int, forward:bool=False)
huixiangdou/frontend/wechat.py:781
Method
build_prompt
Build a prompt for interaction. Args: history_pair (list): List of previous interactions. instruction (str): Instruct
huixiangdou/services/llm_client.py:31
Method
build_reply_text
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:196
Function
builder_inited_handler
(app)
docs/en/conf.py:216
Function
builder_inited_handler
(app)
docs/zh/conf.py:216
Function
callFnsInSequence
(...fns: any[])
web/front-end/src/utils/utils.ts:170
Method
call_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
Function
call_openai
(model_name, prompt, history)
tests/test_openai.py:5
Method
call_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
Method
call_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
Function
callback_chat_state
(feature_store_id: str, query_id: str, code: int, state: str, text: str, ref: list)
web/proxy/main.py:55
Function
callback_task_state
(feature_store_id: str, code: int, _type: str,
web/proxy/main.py:34
Function
cancel
()
web/front-end/src/components/upload/delete-btn.tsx:20
Function
case_feedback
(request: Request, response: Response, body: ChatCaseFeedbackB
web/api/chat.py:29
Function
chat_online
(request: Request, response: Response, body: ChatRequestBody,
web/api/chat.py:13
Function
chat_online_response
(request: Request, response: Response, body: Cha
web/api/chat.py:21
Method
chat_with_server
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:115
Function
checkAll
(e)
web/front-end/src/components/upload/upload.tsx:108
Function
checkChange
(e)
web/front-end/src/components/upload/upload.tsx:52
Function
checkItem
(doc)
web/front-end/src/components/upload/upload.tsx:118
Function
check_gpu_max_memory_gb
()
huixiangdou/services/llm_server_hybrid.py:31
Function
check_hxd_token
(request: Request)
web/middleware/token.py:24
Function
clean_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
Method
click_send
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:385
Function
closeModal
()
web/front-end/src/pages/bean-detail/components/import-docs/import-docs.tsx:25
Function
closeModal
()
web/front-end/src/pages/bean-detail/components/integrate-feishu/integrate-feishu.tsx:42
Method
configUserId
(userId)
web/front-end/src/utils/mlog.ts:50
Function
confirm
()
web/front-end/src/components/upload/delete-btn.tsx:15
Function
copy
()
web/front-end/src/components/copy-code/copy-code.tsx:10
Method
coroutine_wrapper
()
huixiangdou/services/llm_server_hybrid.py:148
Method
coroutine_wrapper
()
huixiangdou/services/llm_server_hybrid.py:464
Function
customConfigInterceptor
web/front-end/src/interceptors/request.ts:33
Method
daemon
(self)
tests/test_build_milvus_and_filter.py:29
Method
daemon
(self)
evaluation/rejection/build_fs_and_filter.py:43
Method
daemon
(self)
evaluation/rerank/step1_create_candidates.py:22
Method
default_model_info
(self)
huixiangdou/services/llm.py:289
Function
del
()
web/front-end/src/utils/utils.ts:164
Function
deleteSelected
()
web/front-end/src/components/upload/upload.tsx:224
Function
do_p2_im_message_receive_v1
( data: P2ImMessageReceiveV1)
huixiangdou/frontend/lark_group.py:24
Function
download_and_unzip
(main_args)
huixiangdou/gradio_ui.py:161
Method
empty
Return True if the queue is empty, False otherwise.
huixiangdou/frontend/wechat.py:65
Method
empty
Return True if the queue is empty, False otherwise.
huixiangdou/services/helper.py:110
Method
empty
Return True if the queue is empty, False otherwise.
web/proxy/test.py:44
Function
empty_list
()
huixiangdou/frontend/wechat.py:297
Function
event
()
huixiangdou/frontend/lark_group.py:67
Function
export_onnx
()
tests/test_optimum_st.py:51
Function
feature_store_base_dir
()
web/tools/dump_redis_query.py:30
Function
fetch
()
huixiangdou/frontend/lark_group.py:80
Function
fetchCurrentUser
( token: string, )
web/front-end/src/services/user.ts:21
Function
fetchOauthCode
(code: string | string[], redirect: string)
web/front-end/src/services/user.ts:46
Function
fetch_chat_response
()
web/scheduler/huixiangdou_task.py:108
Function
final_decro
Not using async.Semaphore to aovid use nest-asyncio
huixiangdou/services/llm.py:46
Function
formatQuery
(basename = '')
web/front-end/src/utils/utils.ts:66
Function
formatResponseData
web/front-end/src/interceptors/response.ts:17
Function
format_refs
(refs: List[str])
evaluation/end2end/main.py:15
Method
forward_msg
(input_json: dict)
huixiangdou/frontend/wechat.py:786
Function
gen_jwt
:param feature_store_id: :param qa_name: 知识库名称 :param expire: 过期时间 unix 时间戳 :return: jwt
web/util/str.py:23
Function
gen_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
Method
generate_hash_filename
(data: dict)
huixiangdou/frontend/wechat.py:532
Function
get
()
web/front-end/src/utils/utils.ts:130
Method
getAppVersionName
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SendEmojiService.kt:108
Function
getFromCookie
()
web/front-end/src/utils/utils.ts:109
Method
get_all
Get add messages in queue without block.
huixiangdou/services/helper.py:136
Method
get_all
Get add messages in queue without block.
web/proxy/test.py:70
Method
get_batch_scores
Calculate bm25 scores between query and subset of all docs
huixiangdou/primitive/bm250kapi.py:163
Function
get_hxd_token_by_cookie
(cookies)
web/service/qalib.py:26
Function
get_month_time_str
(t: datetime)
web/util/time_util.py:5
Method
get_nowait
Equivalent to get(False).
huixiangdou/frontend/wechat.py:104
Method
get_nowait
Equivalent to get(False).
huixiangdou/services/helper.py:146
Method
get_nowait
Equivalent to get(False).
web/proxy/test.py:80
Function
get_suffix_by_name
(name: str)
web/service/qalib.py:63
Function
global_exception_handler
(_: Request, exc: HTTPException)
web/main.py:88
Function
handleChangeSwitch
(e)
web/front-end/src/pages/bean-detail/components/toggle-search/toggle-search.tsx:34
Function
handleClick
()
web/front-end/src/components/upload/upload.tsx:133
Function
handleClick
()
web/front-end/src/components/upload/delete-btn.tsx:11
Function
handleClick
()
web/front-end/src/components/button/button.tsx:17
Function
handleConfirm
()
web/front-end/src/pages/home/home.tsx:36
Function
handleErrorAlert
web/front-end/src/interceptors/response.ts:27
Function
handleErrorData
(error)
web/front-end/src/interceptors/response.ts:61
← previous
next →
601–700 of 808, ranked by callers