MCPcopy Create free account

hub / github.com/InternLM/HuixiangDou / functions

Functions808 in github.com/InternLM/HuixiangDou

↓ 1 callersFunctioncalculate
(config_path: str = 'config.ini')
evaluation/rejection/kg_filter.py:31
↓ 1 callersFunctioncall2
()
tests/test_openai.py:26
↓ 1 callersFunctioncall_plugin
(plugin_name: str, plugin_args: str)
tests/test_qwen_react.py:191
↓ 1 callersFunctioncaseFeedback
(queryId: string, type: string)
web/front-end/src/services/home.ts:199
↓ 1 callersMethodcase_feedback
(self, body: ChatCaseFeedbackBody)
web/service/chat.py:167
↓ 1 callersFunctionchangePageGray
({ open = false, grayscale = '100%', changePages = 'all', routerType = 'popstate' }: { ope
web/front-end/src/config/change-page-gray.ts:27
↓ 1 callersMethodchat
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 callersMethodchat_online
(self, body: ChatRequestBody)
web/service/chat.py:33
↓ 1 callersFunctionchat_stream
()
tests/test_internlm2.py:6
↓ 1 callersMethodchat_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 callersFunctionchat_with_featue_store
(cache: CacheRetriever, payload: types.SimpleNamespace)
web/proxy/main.py:116
↓ 1 callersFunctioncheck_endpoint_update
(info: QalibInfo)
web/middleware/token.py:45
↓ 1 callersMethodchoose_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 callersFunctionclear_other_log
()
web/util/log.py:20
↓ 1 callersFunctioncommand
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 callersMethodconcat
(self)
huixiangdou/frontend/wechat.py:362
↓ 1 callersFunctioncontent_hash
(input_str:str)
tests/test_lda/step0_preprocess.py:58
↓ 1 callersFunctionconvert_alpaca
(input_filepath: str, output_filepath: str)
sft/convert_to_alpaca.py:32
↓ 1 callersFunctionconvert_history_to_tuple
(history: List[Talk])
huixiangdou/frontend/wechat.py:318
↓ 1 callersFunctionconvert_talk_to_dict
(talk: Talk)
huixiangdou/frontend/wechat.py:309
↓ 1 callersFunctioncopy_files
(src_dir, dest_dir)
tests/cp_files.py:4
↓ 1 callersFunctioncoref_res
(target: object, window: list, group_intro: str)
sft/reconstruct_wechat_group.py:296
↓ 1 callersMethodddgs
Run DDGS search based on query.
huixiangdou/services/web_search.py:160
↓ 1 callersMethoddel_qalib_info
del qalib info to qalib:info db. :param feature_store_id: :return:
web/service/qalib.py:312
↓ 1 callersFunctiondeleteDocs
(filenames: string[])
web/front-end/src/services/home.ts:120
↓ 1 callersMethoddelete_docs
(self, body: QalibDeleteDoc)
web/service/qalib.py:152
↓ 1 callersFunctiondetect_base64_image_suffix
(base64: str)
web/util/image.py:4
↓ 1 callersMethoddistance
(self, text1:str, text2:str)
huixiangdou/primitive/embedder.py:82
↓ 1 callersMethoddownload_image
Download group chat image.
huixiangdou/frontend/wechat.py:516
↓ 1 callersMethoddump_neo4j
(self, uri: str, user: str, passwd: str)
huixiangdou/services/kg.py:235
↓ 1 callersMethodembed_query_batch_text
Embed input text or image as feature, output np.ndarray with np.float32
huixiangdou/primitive/embedder.py:134
↓ 1 callersMethodeuclidean_relevance_score_fn
Return a similarity score on a scale [0, 1].
huixiangdou/primitive/query.py:15
↓ 1 callersMethodevaluate
(self, query: str)
evaluation/rejection/build_fs_and_filter.py:36
↓ 1 callersFunctionevent_stream
()
huixiangdou/api_server.py:66
↓ 1 callersFunctionevent_stream_async
()
huixiangdou/api_server.py:77
↓ 1 callersMethodfeed
(self, msg: Message)
huixiangdou/frontend/wechat.py:349
↓ 1 callersMethodfetch_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 callersMethodfetch_response
(self, body: ChatOnlineResponseBody)
web/service/chat.py:70
↓ 1 callersFunctionfetch_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 callersFunctionfilecontents
(dirname:str)
tests/test_lda/step1_countvec.py:41
↓ 1 callersFunctionformat_history
format [{sender, content}] to [[user1, bot1],[user2,bot2]..] style.
web/proxy/main.py:73
↓ 1 callersFunctionformat_refs
(refs: List[str])
huixiangdou/gradio_ui.py:85
↓ 1 callersFunctiongen_suffix
(feature_store_id: str)
web/service/qalib.py:56
↓ 1 callersFunctiongenerate
()
huixiangdou/services/llm_server_hybrid.py:548
↓ 1 callersFunctiongenerate
Test generate.
tests/test_kimi.py:19
↓ 1 callersFunctiongenerate_prompt_landmark
Generates a text file and inserts an passkey at a random position.
tests/test_kimi_passkey.py:55
↓ 1 callersMethodgenerate_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 callersFunctionget
()
tests/test_post_android.py:32
↓ 1 callersMethodget
Get database by id.
huixiangdou/services/retriever.py:307
↓ 1 callersMethodgetBoolean
android/demo/src/main/java/com/carlos/grabredenvelope/demo/SharedPreferenceHelper.kt:22
↓ 1 callersFunctiongetBytesLength
(str)
web/front-end/src/components/upload/upload.tsx:37
↓ 1 callersFunctiongetInfo
()
web/front-end/src/services/home.ts:114
↓ 1 callersFunctiongetMetaData
(url: string)
web/front-end/src/config/change-page-gray.ts:3
↓ 1 callersFunctiongetSampleInfo
()
web/front-end/src/services/home.ts:151
↓ 1 callersFunctiongetStatistic
()
web/front-end/src/services/home.ts:95
↓ 1 callersMethodget_all
Get add messages in queue without block.
huixiangdou/frontend/wechat.py:91
↓ 1 callersFunctionget_all_comments
(owner, name, issue_number)
tests/test_get_issue_comment_pipeline.py:64
↓ 1 callersMethodget_cookie_samesite
(cls)
web/config/env.py:85
↓ 1 callersMethodget_event_handler
(cls)
web/service/agent.py:81
↓ 1 callersMethodget_existed_docs
(cls, feature_store_id)
web/service/qalib.py:83
↓ 1 callersMethodget_inference_number
(cls)
web/service/cache.py:150
↓ 1 callersFunctionget_inputs
(pairs, tokenizer, prompt=None, max_length=1024)
tests/test_reranker.py:11
↓ 1 callersFunctionget_issue_count
(owner, name)
tests/test_get_issue_comment_pipeline.py:11
↓ 1 callersFunctionget_issues_list
(owner, name, issue_count)
tests/test_get_issue_comment_pipeline.py:30
↓ 1 callersMethodget_lark_info_by_app_id
(cls, app_id: str)
web/service/qalib.py:410
↓ 1 callersMethodget_lark_log_level
(cls)
web/config/env.py:81
↓ 1 callersMethodget_monthly_active
(cls)
web/service/cache.py:138
↓ 1 callersFunctionget_pdf_files
(directory)
huixiangdou/primitive/file_operation.py:239
↓ 1 callersMethodget_redis_db
(cls)
web/config/env.py:53
↓ 1 callersMethodget_redis_host
(cls)
web/config/env.py:38
↓ 1 callersMethodget_redis_password
(cls)
web/config/env.py:43
↓ 1 callersMethodget_redis_port
(cls)
web/config/env.py:48
↓ 1 callersMethodget_sample_info
(self)
web/service/qalib.py:191
↓ 1 callersFunctionget_score
(relation: str, default=0)
unittest/service/test_llm_server_local.py:16
↓ 1 callersMethodget_unique_inference_user_number
(cls)
web/service/cache.py:162
↓ 1 callersFunctionget_version
()
setup.py:17
↓ 1 callersMethodgoogle
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 callersFunctionhandleSendMessage
()
web/front-end/src/pages/bean-detail/components/chat/chat.tsx:149
↓ 1 callersFunctionhandle_task_add_doc_response
update qalib's status from huixiangdou response's code. :param response: :return:
web/scheduler/huixiangdou_task.py:20
↓ 1 callersFunctionhandle_task_update_pipeline_response
(response: HxdTaskResponse)
web/scheduler/huixiangdou_task.py:64
↓ 1 callersFunctionhandle_task_update_sample_response
update sample's confirm status from response's code. :param response: :return:
web/scheduler/huixiangdou_task.py:46
↓ 1 callersFunctionhuman_annotate
(kimi_file_path: str, gt_file_path)
sft/reconstruct_filter_annotate.py:99
↓ 1 callersFunctionhuman_check
(gt_file_path)
sft/reconstruct_filter_annotate.py:179
↓ 1 callersMethodinfo_statistic
(self)
web/service/statistic.py:20
↓ 1 callersMethodinit
()
web/front-end/src/utils/mlog.ts:17
↓ 1 callersFunctioninit_milvus
(col_name: str, max_length_bytes: int)
tests/test_build_milvus_and_filter.py:59
↓ 1 callersMethodinit_qalib_info
add qalib info to qalib:info db. :param name: :param feature_store_id: :param status: :return:
web/service/qalib.py:283
↓ 1 callersFunctionintegrateLark
(appId: string, appSecret: string)
web/front-end/src/services/home.ts:170
↓ 1 callersMethodintegrate_lark
(self, body: IntegrateLarkBody)
web/service/qalib.py:219
↓ 1 callersMethodintegrate_web_search
(self, body: IntegrateWebSearchBody)
web/service/qalib.py:239
↓ 1 callersFunctionintention
扫描一个群的流式聊天记录,把同一个人 18 秒内发的连续内容合并.
sft/reconstruct_wechat_group.py:362
↓ 1 callersMethodis_not_null_and_blank_str
Is content empty.
huixiangdou/frontend/lark.py:32
↓ 1 callersMethodis_processed
(self)
evaluation/rerank/step1_create_candidates.py:53
↓ 1 callersFunctionis_question
(query)
sft/reconstruct_wechat_group.py:276
↓ 1 callersFunctionis_revert_command
(content: str)
huixiangdou/frontend/lark_group.py:18
↓ 1 callersFunctionjumpLogin
()
web/front-end/src/utils/utils.ts:172
↓ 1 callersFunctionkimi_annotate
(puyu_file_path: str, kimi_file_path: str)
sft/reconstruct_filter_annotate.py:78
↓ 1 callersFunctionkimi_is_question
(query)
sft/reconstruct_filter_annotate.py:33
↓ 1 callersFunctionkimi_ocr
(filepath, token)
huixiangdou/services/helper.py:230
↓ 1 callersFunctionlangchain_splitter
This is for debugging
tests/test_splitter.py:3
← previousnext →201–300 of 808, ranked by callers