MCPcopy Create free account

hub / github.com/LagPixelLOL/ChatGPTCLIBot / functions

Functions339 in github.com/LagPixelLOL/ChatGPTCLIBot

↓ 1 callersFunctioncheck_key
main/interface/network/APIKey.cpp:84
↓ 1 callersFunctionclear_console
main/GPTMain.cpp:266
↓ 1 callersMethodconstruct
main/interface/network/RequestObject.cpp:74
↓ 1 callersMethodconstruct_initial
* Construct the initial prompt with embeddings searching. * @throw std::invalid_argument When chat_history is empty. */
main/interface/model/Completion.cpp:16
↓ 1 callersFunctionconvert
main/FineTuneHelper.cpp:31
↓ 1 callersFunctionconvert_nkpr_scn
main/interface/model/FineTune.cpp:9
↓ 1 callersFunctioncreate_fine_tune
main/FineTuneHelper.cpp:373
↓ 1 callersFunctioncreate_folder
* Create a folder, including all parent folders. * @param folder Path to the folder. * @throw file::file_error If an error occurred while cr
main/interface/util/FileUtils.cpp:159
↓ 1 callersFunctioncreate_folders
* @return True if the folders were created or already exist, false if an error occurred. */
main/GPTMain.cpp:277
↓ 1 callersFunctioncurrentTimeFormatted
main/interface/util/SystemUtils.cpp:24
↓ 1 callersFunctiondelete_
main/FineTuneHelper.cpp:252
↓ 1 callersFunctiondelete_model
main/FineTuneHelper.cpp:516
↓ 1 callersFunctiondownload
main/FineTuneHelper.cpp:274
↓ 1 callersMethodfill_fg
main/interface/cpp-terminal/window.cpp:116
↓ 1 callersMethodfill_style
main/interface/cpp-terminal/window.cpp:132
↓ 1 callersFunctionfine_tune_helper_main
main/FineTuneHelper.cpp:538
↓ 1 callersFunctionfree_proxy_factory
main/interface/util/SystemUtils.cpp:96
↓ 1 callersFunctionfrom_json
* Construct a list of Document objects from a json array. * @param j A json array containing json objects of type Document. * @throw std::in
main/interface/data/Document.cpp:94
↓ 1 callersFunctionfrom_raw
* Construct a list of Document objects from a list of texts and a list of embeddings. * The two lists must have the same size. * @throw std:
main/interface/data/Document.cpp:75
↓ 1 callersFunctionget_ca_bundle_path
main/interface/util/CURLUtils.cpp:69
↓ 1 callersMethodget_exception
main/interface/network/RequestObject.cpp:164
↓ 1 callersFunctionget_exe_parent_path_intern
main/interface/util/FileUtils.cpp:16
↓ 1 callersFunctionget_key_count
main/interface/network/APIKey.cpp:36
↓ 1 callersFunctionget_key_from_console
* Get the API key from console. * @return The API key. */
main/interface/network/APIKey.cpp:14
↓ 1 callersFunctionget_punctuation_token_set
main/interface/data/Document.cpp:119
↓ 1 callersMethodget_w
main/interface/cpp-terminal/window.cpp:21
↓ 1 callersFunctiongetenv
main/interface/cpp-terminal/platforms/terminfo.cpp:30
↓ 1 callersFunctionhandle_command
main/Command.cpp:55
↓ 1 callersFunctionhas_key
* Check if the API key has at least one key. * @return True if there is at least one key present, false otherwise. */
main/interface/network/APIKey.cpp:50
↓ 1 callersFunctionis_CTRL_u
main/interface/cpp-terminal/platforms/inputU.cpp:325
↓ 1 callersFunctionis_base64
main/interface/util/Base64.cpp:12
↓ 1 callersFunctionis_character_u
main/interface/cpp-terminal/platforms/inputU.cpp:318
↓ 1 callersFunctionis_control_char
main/interface/cpp-terminal/platforms/inputU.cpp:334
↓ 1 callersFunctionlinear_interp
* Perform a linear interpolation between two colors. */
main/interface/util/TermUtils.cpp:80
↓ 1 callersFunctionlist_files
* List all files in a folder, doesn't contain subfolders. * @param folder Path to the folder. * @throw file::file_error If the folder does n
main/interface/util/FileUtils.cpp:189
↓ 1 callersFunctionlist_fine_tunes
main/FineTuneHelper.cpp:414
↓ 1 callersMethodload_config
* @throw std::exception If an error occurred when loading the config file. */
main/Config.cpp:39
↓ 1 callersFunctionmatch_command
main/Command.cpp:35
↓ 1 callersFunctionmerge
main/FineTuneHelper.cpp:321
↓ 1 callersFunctionmulti_perform
main/interface/network/Request.cpp:52
↓ 1 callersMethodoperator==
main/interface/storage/MemoryAdaptor.h:34
↓ 1 callersFunctionp_check_set_api_key
* Check if the api key is set, if not, ask the user to set it. * @return True if the api key is present or set, false if an error occurred.
main/GPTMain.cpp:553
↓ 1 callersFunctionp_create_docQA
* Create the document Q&A from the file(name.txt), and also does error handling. * Turn the document .txt file and save it as a json file, then l
main/GPTMain.cpp:407
↓ 1 callersFunctionp_default_prompt
* @return True if the file was created or already exists and read, false if an error occurred. */
main/GPTMain.cpp:298
↓ 1 callersFunctionp_load_saved
* Load the saved chat history from the file(.json), and also does error handling. * It uses nlohmann::json library. * If the json is not in
main/GPTMain.cpp:336
↓ 1 callersFunctionp_save_chat
* Save the chat history to the file(name.json), and also does error handling. * It uses nlohmann::json library. * @return True if the file i
main/GPTMain.cpp:385
↓ 1 callersFunctionpre_settings
* The main function for GPT3Bot. */
main/GPTMain.cpp:25
↓ 1 callersFunctionprint_colored_token_numbers
main/Command.cpp:247
↓ 1 callersFunctionprint_colored_tokenized_text
main/Command.cpp:222
↓ 1 callersFunctionprint_uwu
main/Command.cpp:259
↓ 1 callersFunctionprompt_multiline
main/interface/cpp-terminal/platforms/inputU.cpp:25
↓ 1 callersFunctionread_binary_file
* Read binary data from a file. * @param path Path to the file. * @throw file::file_error If the file cannot be opened or read. * @retu
main/interface/util/FileUtils.cpp:106
↓ 1 callersFunctionread_key0_u
main/interface/cpp-terminal/platforms/inputU.cpp:350
↓ 1 callersFunctionread_key_u
main/interface/cpp-terminal/platforms/inputU.cpp:342
↓ 1 callersFunctionremove_first_key
main/interface/network/APIKey.cpp:40
↓ 1 callersFunctionretrieve_fine_tune
main/FineTuneHelper.cpp:470
↓ 1 callersMethodsave_config
* @throw std::exception If an error occurred when saving the config file. */
main/Config.cpp:225
↓ 1 callersFunctionsearch_ca_cert
main/interface/util/CURLUtils.cpp:9
↓ 1 callersMethodsetAPIBaseURL
main/interface/model/Completion.cpp:46
↓ 1 callersMethodsetAPIKey
main/interface/model/Completion.cpp:54
↓ 1 callersMethodsetBotID
main/interface/model/Completion.cpp:179
↓ 1 callersMethodsetChatHistory
main/interface/model/Completion.cpp:83
↓ 1 callersMethodsetDocuments
main/interface/model/Completion.cpp:155
↓ 1 callersMethodsetFrequencyPenalty
main/interface/model/Completion.cpp:123
↓ 1 callersMethodsetInitialPrompt
main/interface/model/Completion.cpp:70
↓ 1 callersMethodsetLogitBias
main/interface/model/Completion.cpp:131
↓ 1 callersMethodsetMaxReferenceLength
main/interface/model/Completion.cpp:147
↓ 1 callersMethodsetMaxShortMemoryLength
main/interface/model/Completion.cpp:139
↓ 1 callersMethodsetMaxTokens
main/interface/model/Completion.cpp:107
↓ 1 callersMethodsetMeID
main/interface/model/Completion.cpp:171
↓ 1 callersMethodsetModel
main/interface/model/Completion.cpp:62
↓ 1 callersMethodsetPresencePenalty
main/interface/model/Completion.cpp:115
↓ 1 callersMethodsetProgressCallback
main/interface/model/Completion.cpp:195
↓ 1 callersMethodsetResponse
main/interface/data/Exchange.cpp:121
↓ 1 callersMethodsetResponseEmbeddings
main/interface/data/Exchange.cpp:133
↓ 1 callersMethodsetSearchResponse
main/interface/model/Completion.cpp:163
↓ 1 callersMethodsetStreamCallback
main/interface/model/Completion.cpp:187
↓ 1 callersMethodsetTemperature
main/interface/model/Completion.cpp:91
↓ 1 callersMethodsetTopP
main/interface/model/Completion.cpp:99
↓ 1 callersFunctionset_ca_bundle_path
main/interface/util/CURLUtils.cpp:65
↓ 1 callersFunctionset_curl_proxy
main/interface/util/CURLUtils.cpp:41
↓ 1 callersFunctionset_curl_ssl_cert
main/interface/util/CURLUtils.cpp:59
↓ 1 callersMethodset_cursor_pos
main/interface/cpp-terminal/window.cpp:59
↓ 1 callersFunctionsetup_console_encoding
* Setup console encoding to correctly display UTF-8 characters. */
main/main.cpp:44
↓ 1 callersFunctionsimplify
main/interface/cpp-terminal/prompt.cpp:233
↓ 1 callersFunctionstart_loop
* The main loop for GPT3Bot. */
main/GPTMain.cpp:137
↓ 1 callersFunctionsystem_proxy
* Get the current system proxy using libproxy. * @return Proxy string if found, empty string otherwise. */
main/interface/util/SystemUtils.cpp:79
↓ 1 callersFunctiontimezone_offset_minutes
main/interface/util/SystemUtils.cpp:62
↓ 1 callersMethodto_completion
main/Config.cpp:14
↓ 1 callersFunctionto_json
* Convert a list of Document objects to a json array. * @param documents A list of Document objects. * @return A json array containing json
main/interface/data/Document.cpp:111
↓ 1 callersFunctiontranslate
main/Translator.cpp:16
↓ 1 callersFunctiontranslator_main
main/Translator.cpp:123
↓ 1 callersFunctionu32_to_display_col
main/interface/cpp-terminal/prompt.cpp:164
↓ 1 callersFunctionu8_to_u32_cursor_col
main/interface/cpp-terminal/prompt.cpp:160
↓ 1 callersFunctionupload
main/FineTuneHelper.cpp:86
↓ 1 callersFunctionutf8_decode_step
main/interface/cpp-terminal/platforms/conversion.hpp:14
↓ 1 callersFunctionview
main/FineTuneHelper.cpp:182
↓ 1 callersFunctionwrite_binary_file
* Write binary data to a file. * @param content The data to write. * @param path Path to the file. * @throw file::file_error If the fil
main/interface/util/FileUtils.cpp:135
MethodColor
main/interface/cpp-terminal/color.cpp:15
MethodConfig
class Config start:
main/Config.cpp:10
← previousnext →101–200 of 339, ranked by callers