MCPcopy Index your code

hub / github.com/Xueheng-Li/SynologyChatbotGPT / functions

Functions34 in github.com/Xueheng-Li/SynologyChatbotGPT

↓ 18 callersFunctionsend_back_message
(user_id, response_text, image_filename=None, image_url=None, your_server_ip=your_server
my_module.py:139
↓ 7 callersFunctionsend
(user_id, text, stream=False, cut="\n")
my_module.py:508
↓ 3 callersFunctionis_chinese
(text)
my_module.py:454
↓ 3 callersFunctionsend_stream
(user_id, text, cut="\n")
my_module.py:500
↓ 3 callersFunctiontranslate_to_CN
(text)
my_module.py:474
↓ 2 callersFunctioncapture_python_output
(code, venv_path=venv_path)
my_module.py:41
↓ 2 callersFunctiongenerate_gpt_response
(chat_history, stream=False, temperature=0.5)
my_module.py:227
↓ 2 callersFunctionmodify_response_to_include_code_output
(response_text)
my_module.py:171
↓ 2 callersFunctionreplace_today
(prompt)
my_module.py:325
↓ 2 callersMethodsearch
(self, keywords=None, num_results=10, engines=["ddg", "bing", "go
my_module.py:712
↓ 2 callersFunctionsend_back_message
(user_id, response_text)
basicBot.py:16
↓ 2 callersFunctionsha1sum
(filename)
my_module.py:369
↓ 1 callersFunctionadd_space
(text)
my_module.py:362
↓ 1 callersFunctioncapture_bash_output
(code)
my_module.py:115
↓ 1 callersFunctiondownload_image
(url, save_path="static/img.png")
my_module.py:130
↓ 1 callersFunctiongenerate_gpt_response
(user_id, username, message, max_conversation_length=max_conversation_length, refresh_keywords=None, max_time_
basicBot.py:55
↓ 1 callersFunctiongenerate_img_from_openai
(text_description, size=image_size, user_id=None)
my_module.py:190
↓ 1 callersFunctionget_documents
(file_src)
my_module.py:330
↓ 1 callersFunctionhandle_request
(event)
basicBot.py:112
↓ 1 callersFunctionllama_process
(keywords, index=None, reindex=False, file_source=[], user_id=None)
my_module.py:375
↓ 1 callersFunctionmodify_code_to_print_last_expression
(code)
my_module.py:92
↓ 1 callersFunctionmy_baidu
(q, n=5, engine="baidu", key=serpapi_key, serpapi_endpoint=serpapi_endpoint)
my_module.py:301
↓ 1 callersFunctionmy_bing
(q, n=5, key=bing_key)
my_module.py:258
↓ 1 callersFunctionmy_ddg
(q, n=5)
my_module.py:247
↓ 1 callersFunctionmy_google
(q, n=5, engine="google", key=serpapi_key, serpapi_endpoint=serpapi_endpoint)
my_module.py:277
↓ 1 callersMethodprocess
(self, message, num_search_results=10, )
my_module.py:585
↓ 1 callersFunctionprocess_synology_chat_message
(event)
basicBot.py:34
↓ 1 callersFunctionseparate_channel
(message_text)
my_module.py:516
Method__init__
(self, user_id, refresh_keywords=None, max_conversation_length=10,
my_module.py:542
Functiondetect_and_translate
(text)
my_module.py:489
Functionserve_image
(filename)
talentBot.py:23
Functiontranslate_to_EN
(text)
my_module.py:482
Functionwebhook
()
talentBot.py:28
Functionwebhook
()
basicBot.py:123