MCPcopy Create free account

hub / github.com/UdaraJay/concept-explorer / functions

Functions17 in github.com/UdaraJay/concept-explorer

↓ 4 callersMethodupdate_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 callersMethod_color_node
Color the node based on its role: - Current concept: special background - Last added: another color - Root and
explorer.py:237
↓ 2 callersMethod_update_thinking_block
Update the live 'thinking' display. Parameters: text (str): The current accumulated thinking text. state (dict):
explorer.py:67
↓ 2 callersMethodcheck_model_availability
Check if the current model is available. If not found exactly, try a prefix match.
explorer.py:52
↓ 2 callersFunctionclear_terminal
Clears the terminal screen.
explorer.py:25
↓ 2 callersMethodexport_ascii_tree
Export a plain ASCII tree of the concept graph to a text file.
explorer.py:428
↓ 2 callersMethodget_available_models
Fetch available models from Ollama.
explorer.py:40
↓ 1 callersMethod_diversity_score
Compute a diversity score based on common words between concepts.
explorer.py:419
↓ 1 callersMethod_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 callersMethodbuild_concept_web
Build the concept web starting from the root concept using breadth‑first search.
explorer.py:383
↓ 1 callersMethodget_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 callersFunctionmain
()
explorer.py:466
↓ 1 callersFunctionparse_arguments
Parse command-line arguments using argparse.
explorer.py:456
↓ 1 callersMethodquery_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 callersMethodstrip_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