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
↓ 1 callers
Function
calculate
(config_path: str = 'config.ini')
evaluation/rejection/kg_filter.py:31
↓ 1 callers
Function
call2
()
tests/test_openai.py:26
↓ 1 callers
Function
call_plugin
(plugin_name: str, plugin_args: str)
tests/test_qwen_react.py:191
↓ 1 callers
Function
caseFeedback
(queryId: string, type: string)
web/front-end/src/services/home.ts:199
↓ 1 callers
Method
case_feedback
(self, body: ChatCaseFeedbackBody)
web/service/chat.py:167
↓ 1 callers
Function
changePageGray
({ open = false, grayscale = '100%', changePages = 'all', routerType = 'popstate' }: { ope
web/front-end/src/config/change-page-gray.ts:27
↓ 1 callers
Method
chat
Generate a sync response from local LLM. Sync chat. Args: prompt (str): The prompt for inference. history (list): Lis
huixiangdou/services/llm_server_hybrid.py:136
↓ 1 callers
Method
chat_online
(self, body: ChatRequestBody)
web/service/chat.py:33
↓ 1 callers
Function
chat_stream
()
tests/test_internlm2.py:6
↓ 1 callers
Method
chat_stream
Generate a stream response from the chat service. Args: prompt (str): The prompt to send to the chat service. history
huixiangdou/services/llm_client.py:135
↓ 1 callers
Function
chat_with_featue_store
(cache: CacheRetriever, payload: types.SimpleNamespace)
web/proxy/main.py:116
↓ 1 callers
Function
check_endpoint_update
(info: QalibInfo)
web/middleware/token.py:45
↓ 1 callers
Method
choose_repo
Interactively assists user to select a repository for search based on user's question. Args: llm_client: Client instance
huixiangdou/services/sg_search.py:88
↓ 1 callers
Function
clear_other_log
()
web/util/log.py:20
↓ 1 callers
Function
command
Executes a shell command and returns its output. Args: txt (str): Command to be executed in the shell. Returns: str: Output
unittest/service/daily_smoke.py:11
↓ 1 callers
Method
concat
(self)
huixiangdou/frontend/wechat.py:362
↓ 1 callers
Function
content_hash
(input_str:str)
tests/test_lda/step0_preprocess.py:58
↓ 1 callers
Function
convert_alpaca
(input_filepath: str, output_filepath: str)
sft/convert_to_alpaca.py:32
↓ 1 callers
Function
convert_history_to_tuple
(history: List[Talk])
huixiangdou/frontend/wechat.py:318
↓ 1 callers
Function
convert_talk_to_dict
(talk: Talk)
huixiangdou/frontend/wechat.py:309
↓ 1 callers
Function
copy_files
(src_dir, dest_dir)
tests/cp_files.py:4
↓ 1 callers
Function
coref_res
(target: object, window: list, group_intro: str)
sft/reconstruct_wechat_group.py:296
↓ 1 callers
Method
ddgs
Run DDGS search based on query.
huixiangdou/services/web_search.py:160
↓ 1 callers
Method
del_qalib_info
del qalib info to qalib:info db. :param feature_store_id: :return:
web/service/qalib.py:312
↓ 1 callers
Function
deleteDocs
(filenames: string[])
web/front-end/src/services/home.ts:120
↓ 1 callers
Method
delete_docs
(self, body: QalibDeleteDoc)
web/service/qalib.py:152
↓ 1 callers
Function
detect_base64_image_suffix
(base64: str)
web/util/image.py:4
↓ 1 callers
Method
distance
(self, text1:str, text2:str)
huixiangdou/primitive/embedder.py:82
↓ 1 callers
Method
download_image
Download group chat image.
huixiangdou/frontend/wechat.py:516
↓ 1 callers
Method
dump_neo4j
(self, uri: str, user: str, passwd: str)
huixiangdou/services/kg.py:235
↓ 1 callers
Method
embed_query_batch_text
Embed input text or image as feature, output np.ndarray with np.float32
huixiangdou/primitive/embedder.py:134
↓ 1 callers
Method
euclidean_relevance_score_fn
Return a similarity score on a scale [0, 1].
huixiangdou/primitive/query.py:15
↓ 1 callers
Method
evaluate
(self, query: str)
evaluation/rejection/build_fs_and_filter.py:36
↓ 1 callers
Function
event_stream
()
huixiangdou/api_server.py:66
↓ 1 callers
Function
event_stream_async
()
huixiangdou/api_server.py:77
↓ 1 callers
Method
feed
(self, msg: Message)
huixiangdou/frontend/wechat.py:349
↓ 1 callers
Method
fetch_groupchats
Before obtaining user messages, there are a maximum of `max_length` historical conversations in the group. Fetch them for coreference
huixiangdou/frontend/wechat.py:888
↓ 1 callers
Method
fetch_response
(self, body: ChatOnlineResponseBody)
web/service/chat.py:70
↓ 1 callers
Function
fetch_web_content
Fetches and parses the content of the target URL. Extracts the main content and title from the HTML of the page. Returns the title and conten
huixiangdou/services/web_search.py:337
↓ 1 callers
Function
filecontents
(dirname:str)
tests/test_lda/step1_countvec.py:41
↓ 1 callers
Function
format_history
format [{sender, content}] to [[user1, bot1],[user2,bot2]..] style.
web/proxy/main.py:73
↓ 1 callers
Function
format_refs
(refs: List[str])
huixiangdou/gradio_ui.py:85
↓ 1 callers
Function
gen_suffix
(feature_store_id: str)
web/service/qalib.py:56
↓ 1 callers
Function
generate
()
huixiangdou/services/llm_server_hybrid.py:548
↓ 1 callers
Function
generate
Test generate.
tests/test_kimi.py:19
↓ 1 callers
Function
generate_prompt_landmark
Generates a text file and inserts an passkey at a random position.
tests/test_kimi_passkey.py:55
↓ 1 callers
Method
generate_response
Generate a response from the chat service. Args: prompt (str): The prompt to send to the chat service. history (list,
huixiangdou/services/llm_client.py:86
↓ 1 callers
Function
get
()
tests/test_post_android.py:32
↓ 1 callers
Method
get
Get database by id.
huixiangdou/services/retriever.py:307
↓ 1 callers
Method
getBoolean
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SharedPreferenceHelper.kt:22
↓ 1 callers
Function
getBytesLength
(str)
web/front-end/src/components/upload/upload.tsx:37
↓ 1 callers
Function
getInfo
()
web/front-end/src/services/home.ts:114
↓ 1 callers
Function
getMetaData
(url: string)
web/front-end/src/config/change-page-gray.ts:3
↓ 1 callers
Function
getSampleInfo
()
web/front-end/src/services/home.ts:151
↓ 1 callers
Function
getStatistic
()
web/front-end/src/services/home.ts:95
↓ 1 callers
Method
get_all
Get add messages in queue without block.
huixiangdou/frontend/wechat.py:91
↓ 1 callers
Function
get_all_comments
(owner, name, issue_number)
tests/test_get_issue_comment_pipeline.py:64
↓ 1 callers
Method
get_cookie_samesite
(cls)
web/config/env.py:85
↓ 1 callers
Method
get_event_handler
(cls)
web/service/agent.py:81
↓ 1 callers
Method
get_existed_docs
(cls, feature_store_id)
web/service/qalib.py:83
↓ 1 callers
Method
get_inference_number
(cls)
web/service/cache.py:150
↓ 1 callers
Function
get_inputs
(pairs, tokenizer, prompt=None, max_length=1024)
tests/test_reranker.py:11
↓ 1 callers
Function
get_issue_count
(owner, name)
tests/test_get_issue_comment_pipeline.py:11
↓ 1 callers
Function
get_issues_list
(owner, name, issue_count)
tests/test_get_issue_comment_pipeline.py:30
↓ 1 callers
Method
get_lark_info_by_app_id
(cls, app_id: str)
web/service/qalib.py:410
↓ 1 callers
Method
get_lark_log_level
(cls)
web/config/env.py:81
↓ 1 callers
Method
get_monthly_active
(cls)
web/service/cache.py:138
↓ 1 callers
Function
get_pdf_files
(directory)
huixiangdou/primitive/file_operation.py:239
↓ 1 callers
Method
get_redis_db
(cls)
web/config/env.py:53
↓ 1 callers
Method
get_redis_host
(cls)
web/config/env.py:38
↓ 1 callers
Method
get_redis_password
(cls)
web/config/env.py:43
↓ 1 callers
Method
get_redis_port
(cls)
web/config/env.py:48
↓ 1 callers
Method
get_sample_info
(self)
web/service/qalib.py:191
↓ 1 callers
Function
get_score
(relation: str, default=0)
unittest/service/test_llm_server_local.py:16
↓ 1 callers
Method
get_unique_inference_user_number
(cls)
web/service/cache.py:162
↓ 1 callers
Function
get_version
()
setup.py:17
↓ 1 callers
Method
google
Executes a google search based on the provided query. Parses the response and extracts the relevant URLs based on the priority define
huixiangdou/services/web_search.py:183
↓ 1 callers
Function
handleSendMessage
()
web/front-end/src/pages/bean-detail/components/chat/chat.tsx:149
↓ 1 callers
Function
handle_task_add_doc_response
update qalib's status from huixiangdou response's code. :param response: :return:
web/scheduler/huixiangdou_task.py:20
↓ 1 callers
Function
handle_task_update_pipeline_response
(response: HxdTaskResponse)
web/scheduler/huixiangdou_task.py:64
↓ 1 callers
Function
handle_task_update_sample_response
update sample's confirm status from response's code. :param response: :return:
web/scheduler/huixiangdou_task.py:46
↓ 1 callers
Function
human_annotate
(kimi_file_path: str, gt_file_path)
sft/reconstruct_filter_annotate.py:99
↓ 1 callers
Function
human_check
(gt_file_path)
sft/reconstruct_filter_annotate.py:179
↓ 1 callers
Method
info_statistic
(self)
web/service/statistic.py:20
↓ 1 callers
Method
init
()
web/front-end/src/utils/mlog.ts:17
↓ 1 callers
Function
init_milvus
(col_name: str, max_length_bytes: int)
tests/test_build_milvus_and_filter.py:59
↓ 1 callers
Method
init_qalib_info
add qalib info to qalib:info db. :param name: :param feature_store_id: :param status: :return:
web/service/qalib.py:283
↓ 1 callers
Function
integrateLark
(appId: string, appSecret: string)
web/front-end/src/services/home.ts:170
↓ 1 callers
Method
integrate_lark
(self, body: IntegrateLarkBody)
web/service/qalib.py:219
↓ 1 callers
Method
integrate_web_search
(self, body: IntegrateWebSearchBody)
web/service/qalib.py:239
↓ 1 callers
Function
intention
扫描一个群的流式聊天记录,把同一个人 18 秒内发的连续内容合并.
sft/reconstruct_wechat_group.py:362
↓ 1 callers
Method
is_not_null_and_blank_str
Is content empty.
huixiangdou/frontend/lark.py:32
↓ 1 callers
Method
is_processed
(self)
evaluation/rerank/step1_create_candidates.py:53
↓ 1 callers
Function
is_question
(query)
sft/reconstruct_wechat_group.py:276
↓ 1 callers
Function
is_revert_command
(content: str)
huixiangdou/frontend/lark_group.py:18
↓ 1 callers
Function
jumpLogin
()
web/front-end/src/utils/utils.ts:172
↓ 1 callers
Function
kimi_annotate
(puyu_file_path: str, kimi_file_path: str)
sft/reconstruct_filter_annotate.py:78
↓ 1 callers
Function
kimi_is_question
(query)
sft/reconstruct_filter_annotate.py:33
↓ 1 callers
Function
kimi_ocr
(filepath, token)
huixiangdou/services/helper.py:230
↓ 1 callers
Function
langchain_splitter
This is for debugging
tests/test_splitter.py:3
← previous
next →
201–300 of 808, ranked by callers