Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haidra-Org/AI-Horde
/ functions
Functions
1,285 in github.com/Haidra-Org/AI-Horde
⨍
Functions
1,285
◇
Types & classes
287
↳
Endpoints
37
↓ 1 callers
Method
record_interrogation
We record the servers newest interrogation contribution
horde/classes/stable/interrogation_worker.py:85
↓ 1 callers
Method
record_problem_job
(self, procgen, ipaddr, worker, prompt)
horde/classes/base/user.py:1016
↓ 1 callers
Method
record_usage
Record that we received a requested interrogation and how much kudos it costs us
horde/classes/stable/interrogation.py:354
↓ 1 callers
Method
record_usage
(self, raw_things, kudos, usage_type, commit=True)
horde/classes/base/user.py:635
↓ 1 callers
Method
record_usage
Record that we received a requested generation and how much kudos it costs us We use 'thing' here as we do not care what type of thing we're
horde/classes/base/waiting_prompt.py:480
↓ 1 callers
Function
refresh_r2_module_from_env
()
tests/dependency_runtime.py:538
↓ 1 callers
Function
refresh_worker_performances_cache
(request_type="image")
horde/database/functions.py:1480
↓ 1 callers
Method
reset_suspicion
Clears the user's suspicion and resets their reasons
horde/classes/base/user.py:836
↓ 1 callers
Function
resolve_postgres_dsn
Return SQLAlchemy DSN following this repository's env-var convention.
tests/dependency_runtime.py:133
↓ 1 callers
Method
restore_env
(self)
tests/dependency_runtime.py:85
↓ 1 callers
Function
retrieve_prioritized_wp_queue
(wp_type)
horde/database/functions.py:1646
↓ 1 callers
Method
retrieve_users_details
(self)
horde/apis/v2/base.py:1390
↓ 1 callers
Function
retrieve_worker_performances
()
horde/database/text_functions.py:170
↓ 1 callers
Method
retrieve_workers_details
(self)
horde/apis/v2/base.py:1011
↓ 1 callers
Function
selected_object_store_tests
(request: pytest.FixtureRequest)
tests/dependency_runtime.py:113
↓ 1 callers
Function
send_pause_notification
(message: str)
horde/discord.py:23
↓ 1 callers
Method
send_webhook
(self, kudos)
horde/classes/stable/interrogation.py:183
↓ 1 callers
Method
send_webhook
(self, kudos)
horde/classes/base/processing_generation.py:268
↓ 1 callers
Method
set_admin_comment
(self, new_comment)
horde/classes/base/user.py:518
↓ 1 callers
Method
set_blacklist
(self, blacklist)
horde/classes/base/worker.py:571
↓ 1 callers
Function
set_cached_passkeys
Sets the cached passkeys object. Called from start_background_threads() to initialize the global variable.
horde/database/__init__.py:13
↓ 1 callers
Method
set_contact
(self, new_contact)
horde/classes/base/user.py:509
↓ 1 callers
Method
set_customizer
(self, is_customizer)
horde/classes/base/user.py:578
↓ 1 callers
Method
set_education
(self, is_service)
horde/classes/base/user.py:593
↓ 1 callers
Method
set_flagged
(self, is_flagged)
horde/classes/base/user.py:564
↓ 1 callers
Method
set_forms
(self, forms=None)
horde/classes/stable/interrogation.py:264
↓ 1 callers
Method
set_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/stable/processing_generation.py:84
↓ 1 callers
Method
set_generation
Set to its own function to it can be overwritten depending on the class
horde/apis/v2/base.py:794
↓ 1 callers
Method
set_job_ttl
Returns how many seconds each job request should stay waiting before considering it stale and cancelling it This function should be overriden
horde/classes/base/processing_generation.py:319
↓ 1 callers
Function
set_logger_verbosity
(count)
horde/logger.py:18
↓ 1 callers
Method
set_models
(self, models)
horde/classes/base/worker.py:614
↓ 1 callers
Method
set_models
(self, model_names=None)
horde/classes/base/waiting_prompt.py:170
↓ 1 callers
Method
set_public_workers
(self, has_public_workers)
horde/classes/base/user.py:610
↓ 1 callers
Method
set_service
(self, is_service)
horde/classes/base/user.py:588
↓ 1 callers
Method
set_softprompts
(self, softprompts)
horde/classes/kobold/worker.py:90
↓ 1 callers
Method
set_source_image
(self, source_image, r2stored, image_tiles)
horde/classes/stable/interrogation.py:236
↓ 1 callers
Method
set_special
(self, is_special)
horde/classes/base/user.py:598
↓ 1 callers
Method
set_username
(self, new_username)
horde/classes/base/user.py:500
↓ 1 callers
Method
set_vpn
(self, is_vpn)
horde/classes/base/user.py:583
↓ 1 callers
Method
set_workers
(self, worker_ids=None)
horde/classes/base/waiting_prompt.py:159
↓ 1 callers
Method
setup
(self, td: Any)
horde/metrics.py:43
↓ 1 callers
Method
sort_news
(self, raw_news)
horde/classes/base/news.py:36
↓ 1 callers
Function
start_background_threads
Start all periodic background threads. Called from create_app() in non-test mode.
horde/database/__init__.py:27
↓ 1 callers
Method
start_generation
(self, worker, amount=1)
horde/classes/base/waiting_prompt.py:260
↓ 1 callers
Function
start_managed_object_store
(runtime: HordeTestRuntime)
tests/dependency_runtime.py:392
↓ 1 callers
Function
start_managed_postgres
(runtime: HordeTestRuntime)
tests/dependency_runtime.py:264
↓ 1 callers
Method
start_worker
(self, wp)
horde/apis/v2/base.py:660
↓ 1 callers
Function
store_prioritized_wp_queue
Stores the retrieved WP queue as json for 1 second horde-wide
horde/database/threads.py:102
↓ 1 callers
Function
store_worker_list
Stores the retrieved worker details as json for 300 seconds horde-wide
horde/database/threads.py:135
↓ 1 callers
Function
test
()
horde/sandbox.py:30
↓ 1 callers
Method
toggle_paused
(self, is_paused_active)
horde/classes/base/worker.py:285
↓ 1 callers
Function
transfer_kudos
(source_user, dest_user, amount)
horde/database/functions.py:479
↓ 1 callers
Function
transfer_kudos_to_username
(source_user, dest_username, amount)
horde/database/functions.py:538
↓ 1 callers
Method
tricked_worker
(self, worker)
horde/classes/base/waiting_prompt.py:327
↓ 1 callers
Function
unreachable_object_store_env
()
tests/dependency_runtime.py:354
↓ 1 callers
Method
upload_generation_metadata
(self)
horde/classes/stable/processing_generation.py:149
↓ 1 callers
Function
upload_prompt
(prompt_dict)
horde/r2.py:182
↓ 1 callers
Function
upload_shared_metadata
(filename)
horde/r2.py:174
↓ 1 callers
Function
upload_source_image_to_r2
Convert source images to webp and uploads it to r2, to avoid wasting bandwidth, while still supporting all types
horde/image.py:91
↓ 1 callers
Method
validate
(self)
horde/apis/v2/base.py:258
↓ 1 callers
Method
validate
(self)
horde/apis/v2/base.py:682
↓ 1 callers
Method
validate
(self)
horde/apis/v2/base.py:808
↓ 1 callers
Method
validate
(self)
horde/apis/v2/styles.py:52
↓ 1 callers
Method
validate
(self)
horde/apis/v2/styles.py:156
↓ 1 callers
Method
validate
(self)
horde/apis/v2/kobold_styles.py:157
↓ 1 callers
Method
validate
(self)
horde/apis/v2/stable.py:1340
↓ 1 callers
Method
whitelist_ip
(self, ipaddr)
horde/apis/limiter_api.py:19
↓ 1 callers
Method
wipe
(self)
horde/classes/base/user.py:471
Function
CIVERSION
()
tests/conftest.py:42
Method
__call__
(self, prompt, _id=None)
horde/detection.py:119
Method
__init__
(self)
horde/horde_redis.py:22
Method
__init__
( self, interval: float, function: Callable, args: list | None = None,
horde/threads.py:32
Method
__init__
(self)
horde/detection.py:23
Method
__init__
(self, amount, decimals=1)
horde/utils.py:44
Method
__init__
(self, message, log=None, rc="BadRequest")
horde/exceptions.py:175
Method
__init__
(self, message, log=None, rc="Forbidden")
horde/exceptions.py:182
Method
__init__
(self, message, rc="Locked")
horde/exceptions.py:189
Method
__init__
(self, username, rc="MissingPrompt")
horde/exceptions.py:196
Method
__init__
(self, username, ip, prompt, message=None, rc="CorruptPrompt", proxy_service_ip=None)
horde/exceptions.py:203
Method
__init__
(self, username, error_message, action="transfer", rc="KudosValidationError")
horde/exceptions.py:217
Method
__init__
(self, error_message, rc="NoValidActions")
horde/exceptions.py:224
Method
__init__
(self, username, rc="InvalidSize")
horde/exceptions.py:231
Method
__init__
(self, rc="InvalidPromptSize")
horde/exceptions.py:238
Method
__init__
(self, username, steps, rc="TooManySteps")
horde/exceptions.py:245
Method
__init__
(self, username, text, text_type, rc="Profanity")
horde/exceptions.py:252
Method
__init__
(self, username, chars, limit, text_type, rc="TooLong")
horde/exceptions.py:259
Method
__init__
(self, username, old_name, new_name, object_type="worker", rc="NameAlreadyExists")
horde/exceptions.py:266
Method
__init__
(self, name, object_type="worker", rc="PolymorphicNameConflict")
horde/exceptions.py:273
Method
__init__
( self, message=("Please ensure the source image payload is either a URL containing an image
horde/exceptions.py:282
Method
__init__
(self, rc="SourceMaskUnnecessary")
horde/exceptions.py:293
Method
__init__
(self, rc="UnsupportedSampler")
horde/exceptions.py:300
Method
__init__
(self, message=None, rc="UnsupportedModel")
horde/exceptions.py:307
Method
__init__
(self, procgen_id, rc="ProcGenNotFound")
horde/exceptions.py:317
Method
__init__
(self, message, rc="InvalidAestheticAttempt")
horde/exceptions.py:324
Method
__init__
(self, subject, keytype="API", rc="InvalidAPIKey")
horde/exceptions.py:331
Method
__init__
(self, username, worker, rc="WrongCredentials")
horde/exceptions.py:341
Method
__init__
(self, username, endpoint, rc="NotAdmin")
horde/exceptions.py:348
Method
__init__
(self, username, endpoint, rc="NotModerator")
horde/exceptions.py:355
Method
__init__
(self, username, worker_name, rc="NotOwner")
horde/exceptions.py:362
Method
__init__
(self, username, message, action, rc="NotPrivileged")
horde/exceptions.py:369
← previous
next →
501–600 of 1,285, ranked by callers