Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LagPixelLOL/ChatGPTCLIBot
/ functions
Functions
339 in github.com/LagPixelLOL/ChatGPTCLIBot
⨍
Functions
339
◇
Types & classes
37
↓ 1 callers
Function
check_key
main/interface/network/APIKey.cpp:84
↓ 1 callers
Function
clear_console
main/GPTMain.cpp:266
↓ 1 callers
Method
construct
main/interface/network/RequestObject.cpp:74
↓ 1 callers
Method
construct_initial
* Construct the initial prompt with embeddings searching. * @throw std::invalid_argument When chat_history is empty. */
main/interface/model/Completion.cpp:16
↓ 1 callers
Function
convert
main/FineTuneHelper.cpp:31
↓ 1 callers
Function
convert_nkpr_scn
main/interface/model/FineTune.cpp:9
↓ 1 callers
Function
create_fine_tune
main/FineTuneHelper.cpp:373
↓ 1 callers
Function
create_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 callers
Function
create_folders
* @return True if the folders were created or already exist, false if an error occurred. */
main/GPTMain.cpp:277
↓ 1 callers
Function
currentTimeFormatted
main/interface/util/SystemUtils.cpp:24
↓ 1 callers
Function
delete_
main/FineTuneHelper.cpp:252
↓ 1 callers
Function
delete_model
main/FineTuneHelper.cpp:516
↓ 1 callers
Function
download
main/FineTuneHelper.cpp:274
↓ 1 callers
Method
fill_fg
main/interface/cpp-terminal/window.cpp:116
↓ 1 callers
Method
fill_style
main/interface/cpp-terminal/window.cpp:132
↓ 1 callers
Function
fine_tune_helper_main
main/FineTuneHelper.cpp:538
↓ 1 callers
Function
free_proxy_factory
main/interface/util/SystemUtils.cpp:96
↓ 1 callers
Function
from_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 callers
Function
from_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 callers
Function
get_ca_bundle_path
main/interface/util/CURLUtils.cpp:69
↓ 1 callers
Method
get_exception
main/interface/network/RequestObject.cpp:164
↓ 1 callers
Function
get_exe_parent_path_intern
main/interface/util/FileUtils.cpp:16
↓ 1 callers
Function
get_key_count
main/interface/network/APIKey.cpp:36
↓ 1 callers
Function
get_key_from_console
* Get the API key from console. * @return The API key. */
main/interface/network/APIKey.cpp:14
↓ 1 callers
Function
get_punctuation_token_set
main/interface/data/Document.cpp:119
↓ 1 callers
Method
get_w
main/interface/cpp-terminal/window.cpp:21
↓ 1 callers
Function
getenv
main/interface/cpp-terminal/platforms/terminfo.cpp:30
↓ 1 callers
Function
handle_command
main/Command.cpp:55
↓ 1 callers
Function
has_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 callers
Function
is_CTRL_u
main/interface/cpp-terminal/platforms/inputU.cpp:325
↓ 1 callers
Function
is_base64
main/interface/util/Base64.cpp:12
↓ 1 callers
Function
is_character_u
main/interface/cpp-terminal/platforms/inputU.cpp:318
↓ 1 callers
Function
is_control_char
main/interface/cpp-terminal/platforms/inputU.cpp:334
↓ 1 callers
Function
linear_interp
* Perform a linear interpolation between two colors. */
main/interface/util/TermUtils.cpp:80
↓ 1 callers
Function
list_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 callers
Function
list_fine_tunes
main/FineTuneHelper.cpp:414
↓ 1 callers
Method
load_config
* @throw std::exception If an error occurred when loading the config file. */
main/Config.cpp:39
↓ 1 callers
Function
match_command
main/Command.cpp:35
↓ 1 callers
Function
merge
main/FineTuneHelper.cpp:321
↓ 1 callers
Function
multi_perform
main/interface/network/Request.cpp:52
↓ 1 callers
Method
operator==
main/interface/storage/MemoryAdaptor.h:34
↓ 1 callers
Function
p_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 callers
Function
p_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 callers
Function
p_default_prompt
* @return True if the file was created or already exists and read, false if an error occurred. */
main/GPTMain.cpp:298
↓ 1 callers
Function
p_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 callers
Function
p_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 callers
Function
pre_settings
* The main function for GPT3Bot. */
main/GPTMain.cpp:25
↓ 1 callers
Function
print_colored_token_numbers
main/Command.cpp:247
↓ 1 callers
Function
print_colored_tokenized_text
main/Command.cpp:222
↓ 1 callers
Function
print_uwu
main/Command.cpp:259
↓ 1 callers
Function
prompt_multiline
main/interface/cpp-terminal/platforms/inputU.cpp:25
↓ 1 callers
Function
read_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 callers
Function
read_key0_u
main/interface/cpp-terminal/platforms/inputU.cpp:350
↓ 1 callers
Function
read_key_u
main/interface/cpp-terminal/platforms/inputU.cpp:342
↓ 1 callers
Function
remove_first_key
main/interface/network/APIKey.cpp:40
↓ 1 callers
Function
retrieve_fine_tune
main/FineTuneHelper.cpp:470
↓ 1 callers
Method
save_config
* @throw std::exception If an error occurred when saving the config file. */
main/Config.cpp:225
↓ 1 callers
Function
search_ca_cert
main/interface/util/CURLUtils.cpp:9
↓ 1 callers
Method
setAPIBaseURL
main/interface/model/Completion.cpp:46
↓ 1 callers
Method
setAPIKey
main/interface/model/Completion.cpp:54
↓ 1 callers
Method
setBotID
main/interface/model/Completion.cpp:179
↓ 1 callers
Method
setChatHistory
main/interface/model/Completion.cpp:83
↓ 1 callers
Method
setDocuments
main/interface/model/Completion.cpp:155
↓ 1 callers
Method
setFrequencyPenalty
main/interface/model/Completion.cpp:123
↓ 1 callers
Method
setInitialPrompt
main/interface/model/Completion.cpp:70
↓ 1 callers
Method
setLogitBias
main/interface/model/Completion.cpp:131
↓ 1 callers
Method
setMaxReferenceLength
main/interface/model/Completion.cpp:147
↓ 1 callers
Method
setMaxShortMemoryLength
main/interface/model/Completion.cpp:139
↓ 1 callers
Method
setMaxTokens
main/interface/model/Completion.cpp:107
↓ 1 callers
Method
setMeID
main/interface/model/Completion.cpp:171
↓ 1 callers
Method
setModel
main/interface/model/Completion.cpp:62
↓ 1 callers
Method
setPresencePenalty
main/interface/model/Completion.cpp:115
↓ 1 callers
Method
setProgressCallback
main/interface/model/Completion.cpp:195
↓ 1 callers
Method
setResponse
main/interface/data/Exchange.cpp:121
↓ 1 callers
Method
setResponseEmbeddings
main/interface/data/Exchange.cpp:133
↓ 1 callers
Method
setSearchResponse
main/interface/model/Completion.cpp:163
↓ 1 callers
Method
setStreamCallback
main/interface/model/Completion.cpp:187
↓ 1 callers
Method
setTemperature
main/interface/model/Completion.cpp:91
↓ 1 callers
Method
setTopP
main/interface/model/Completion.cpp:99
↓ 1 callers
Function
set_ca_bundle_path
main/interface/util/CURLUtils.cpp:65
↓ 1 callers
Function
set_curl_proxy
main/interface/util/CURLUtils.cpp:41
↓ 1 callers
Function
set_curl_ssl_cert
main/interface/util/CURLUtils.cpp:59
↓ 1 callers
Method
set_cursor_pos
main/interface/cpp-terminal/window.cpp:59
↓ 1 callers
Function
setup_console_encoding
* Setup console encoding to correctly display UTF-8 characters. */
main/main.cpp:44
↓ 1 callers
Function
simplify
main/interface/cpp-terminal/prompt.cpp:233
↓ 1 callers
Function
start_loop
* The main loop for GPT3Bot. */
main/GPTMain.cpp:137
↓ 1 callers
Function
system_proxy
* Get the current system proxy using libproxy. * @return Proxy string if found, empty string otherwise. */
main/interface/util/SystemUtils.cpp:79
↓ 1 callers
Function
timezone_offset_minutes
main/interface/util/SystemUtils.cpp:62
↓ 1 callers
Method
to_completion
main/Config.cpp:14
↓ 1 callers
Function
to_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 callers
Function
translate
main/Translator.cpp:16
↓ 1 callers
Function
translator_main
main/Translator.cpp:123
↓ 1 callers
Function
u32_to_display_col
main/interface/cpp-terminal/prompt.cpp:164
↓ 1 callers
Function
u8_to_u32_cursor_col
main/interface/cpp-terminal/prompt.cpp:160
↓ 1 callers
Function
upload
main/FineTuneHelper.cpp:86
↓ 1 callers
Function
utf8_decode_step
main/interface/cpp-terminal/platforms/conversion.hpp:14
↓ 1 callers
Function
view
main/FineTuneHelper.cpp:182
↓ 1 callers
Function
write_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
Method
Color
main/interface/cpp-terminal/color.cpp:15
Method
Config
class Config start:
main/Config.cpp:10
← previous
next →
101–200 of 339, ranked by callers