MCPcopy Create free account

hub / github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge / functions

Functions34 in github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge

↓ 5 callersFunctioncall_llm
(prompt: str, use_cache: bool = True)
utils/call_llm.py:128
↓ 2 callersFunctioncrawl_github_files
Crawl files from a specific path in a GitHub repository at a specific commit. Args: repo_url (str): URL of the GitHub repository wit
utils/crawl_github_files.py:11
↓ 2 callersFunctioncrawl_local_files
Crawl files in a local directory with similar interface as crawl_github_files. Args: directory (str): Path to local directory
utils/crawl_local_files.py:6
↓ 2 callersFunctionget_content_for_indices
(files_data, indices)
nodes.py:11
↓ 2 callersFunctionload_cache
()
utils/call_llm.py:29
↓ 2 callersFunctionshould_include_file
Determine if a file should be included based on patterns
utils/crawl_github_files.py:45
↓ 1 callersFunction_call_llm_gemini
(prompt: str)
utils/call_llm.py:161
↓ 1 callersFunction_call_llm_provider
Call an LLM provider based on environment variables. Environment variables: - LLM_PROVIDER: "OLLAMA" or "XAI" - <provider>_MODEL: Mod
utils/call_llm.py:54
↓ 1 callersFunctioncheck_tree
Check the repository has the given tree
utils/crawl_github_files.py:164
↓ 1 callersFunctioncreate_tutorial_flow
Creates and returns the codebase tutorial generation flow.
flow.py:12
↓ 1 callersFunctionfetch_branches
Get brancshes of the repository
utils/crawl_github_files.py:143
↓ 1 callersFunctionfetch_contents
Fetch contents of the repository at a specific path and commit
utils/crawl_github_files.py:214
↓ 1 callersFunctionget_llm_provider
()
utils/call_llm.py:46
↓ 1 callersFunctionmain
()
main.py:39
↓ 1 callersMethodpost
(self, shared, prep_res, exec_res)
nodes.py:80
↓ 1 callersFunctionsave_cache
(cache)
utils/call_llm.py:38
Methodcreate_llm_context
(files_data)
nodes.py:93
Methodexec
(self, prep_res)
nodes.py:51
Methodexec
(self, prep_res)
nodes.py:118
Methodexec
(self, prep_res)
nodes.py:289
Methodexec
(self, prep_res)
nodes.py:454
Methodexec
(self, item)
nodes.py:630
Methodexec
(self, prep_res)
nodes.py:854
Methodpost
(self, shared, prep_res, exec_res)
nodes.py:234
Methodpost
(self, shared, prep_res, exec_res)
nodes.py:404
Methodpost
(self, shared, prep_res, exec_res)
nodes.py:532
Methodpost
(self, shared, prep_res, exec_res_list)
nodes.py:745
Methodpost
(self, shared, prep_res, exec_res)
nodes.py:878
Methodprep
(self, shared)
nodes.py:23
Methodprep
(self, shared)
nodes.py:85
Methodprep
(self, shared)
nodes.py:241
Methodprep
(self, shared)
nodes.py:411
Methodprep
(self, shared)
nodes.py:538
Methodprep
(self, shared)
nodes.py:754