Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge
/ functions
Functions
34 in github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge
⨍
Functions
34
◇
Types & classes
6
↓ 5 callers
Function
call_llm
(prompt: str, use_cache: bool = True)
utils/call_llm.py:128
↓ 2 callers
Function
crawl_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 callers
Function
crawl_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 callers
Function
get_content_for_indices
(files_data, indices)
nodes.py:11
↓ 2 callers
Function
load_cache
()
utils/call_llm.py:29
↓ 2 callers
Function
should_include_file
Determine if a file should be included based on patterns
utils/crawl_github_files.py:45
↓ 1 callers
Function
_call_llm_gemini
(prompt: str)
utils/call_llm.py:161
↓ 1 callers
Function
_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 callers
Function
check_tree
Check the repository has the given tree
utils/crawl_github_files.py:164
↓ 1 callers
Function
create_tutorial_flow
Creates and returns the codebase tutorial generation flow.
flow.py:12
↓ 1 callers
Function
fetch_branches
Get brancshes of the repository
utils/crawl_github_files.py:143
↓ 1 callers
Function
fetch_contents
Fetch contents of the repository at a specific path and commit
utils/crawl_github_files.py:214
↓ 1 callers
Function
get_llm_provider
()
utils/call_llm.py:46
↓ 1 callers
Function
main
()
main.py:39
↓ 1 callers
Method
post
(self, shared, prep_res, exec_res)
nodes.py:80
↓ 1 callers
Function
save_cache
(cache)
utils/call_llm.py:38
Method
create_llm_context
(files_data)
nodes.py:93
Method
exec
(self, prep_res)
nodes.py:51
Method
exec
(self, prep_res)
nodes.py:118
Method
exec
(self, prep_res)
nodes.py:289
Method
exec
(self, prep_res)
nodes.py:454
Method
exec
(self, item)
nodes.py:630
Method
exec
(self, prep_res)
nodes.py:854
Method
post
(self, shared, prep_res, exec_res)
nodes.py:234
Method
post
(self, shared, prep_res, exec_res)
nodes.py:404
Method
post
(self, shared, prep_res, exec_res)
nodes.py:532
Method
post
(self, shared, prep_res, exec_res_list)
nodes.py:745
Method
post
(self, shared, prep_res, exec_res)
nodes.py:878
Method
prep
(self, shared)
nodes.py:23
Method
prep
(self, shared)
nodes.py:85
Method
prep
(self, shared)
nodes.py:241
Method
prep
(self, shared)
nodes.py:411
Method
prep
(self, shared)
nodes.py:538
Method
prep
(self, shared)
nodes.py:754