Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UdaraJay/concept-explorer
/ functions
Functions
17 in github.com/UdaraJay/concept-explorer
⨍
Functions
17
◇
Types & classes
1
↓ 4 callers
Method
update_live_tree
Clear the screen and print the current ASCII representation of the concept web. This method is throttled so it doesn't refresh too fr
explorer.py:259
↓ 2 callers
Method
_color_node
Color the node based on its role: - Current concept: special background - Last added: another color - Root and
explorer.py:237
↓ 2 callers
Method
_update_thinking_block
Update the live 'thinking' display. Parameters: text (str): The current accumulated thinking text. state (dict):
explorer.py:67
↓ 2 callers
Method
check_model_availability
Check if the current model is available. If not found exactly, try a prefix match.
explorer.py:52
↓ 2 callers
Function
clear_terminal
Clears the terminal screen.
explorer.py:25
↓ 2 callers
Method
export_ascii_tree
Export a plain ASCII tree of the concept graph to a text file.
explorer.py:428
↓ 2 callers
Method
get_available_models
Fetch available models from Ollama.
explorer.py:40
↓ 1 callers
Method
_diversity_score
Compute a diversity score based on common words between concepts.
explorer.py:419
↓ 1 callers
Method
_generate_ascii_tree
Recursively generate an ASCII tree representation of the concept graph. Stops when reaching the available height or maximum allowed d
explorer.py:318
↓ 1 callers
Method
build_concept_web
Build the concept web starting from the root concept using breadth‑first search.
explorer.py:383
↓ 1 callers
Method
get_related_concepts
Query Ollama for related concepts given a concept and an exploration path. Returns a filtered list of unique, concise related concept
explorer.py:168
↓ 1 callers
Function
main
()
explorer.py:466
↓ 1 callers
Function
parse_arguments
Parse command-line arguments using argparse.
explorer.py:456
↓ 1 callers
Method
query_ollama_stream
Streams a response from Ollama in real-time using a streaming POST request. Only live <think> blocks are shown. The final response is
explorer.py:92
↓ 1 callers
Method
strip_thinking_tags
Remove all <think> tags from the final response.
explorer.py:164
Method
__init__
(self, model=DEFAULT_MODEL)
explorer.py:30
Method
_plain_ascii_tree
(node, prefix="", is_last=True, visited=None)
explorer.py:435