Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimonAytes/SoT
/ functions
Functions
9 in github.com/SimonAytes/SoT
⨍
Functions
9
◇
Types & classes
1
↓ 3 callers
Function
default_path
Create default configuration using package directory.
sketch_of_thought/config/config.py:3
↓ 2 callers
Method
available_languages
Lists all currently supported languages.
sketch_of_thought/sketch_of_thought.py:59
↓ 2 callers
Method
available_paradigms
Returns list of all currently supported paradigms.
sketch_of_thought/sketch_of_thought.py:65
↓ 2 callers
Method
get_system_prompt
Retrieves the preloaded system prompt based on the given paradigm and language code. :param paradigm: The type of prompt (e.
sketch_of_thought/sketch_of_thought.py:71
↓ 1 callers
Method
__preload_contexts
Loads all available contexts into memory at startup.
sketch_of_thought/sketch_of_thought.py:52
↓ 1 callers
Method
__preload_prompts
Loads all available system prompts into memory at startup.
sketch_of_thought/sketch_of_thought.py:39
Method
__init__
(self)
sketch_of_thought/sketch_of_thought.py:11
Method
classify_question
Uses the pretrained DistilBERT model to classify the paradigm of a question.
sketch_of_thought/sketch_of_thought.py:150
Method
get_initialized_context
Retrieves the preloaded conversation context for the given paradigm and language. Dynamically inserts the user's question and system
sketch_of_thought/sketch_of_thought.py:85