Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nagi-ovo/CRAG-Ollama-Chat
/ functions
Functions
7 in github.com/Nagi-ovo/CRAG-Ollama-Chat
⨍
Functions
7
◇
Types & classes
2
Function
decide_to_generate
Determines whether to generate an answer or re-generate a question for web search. Args: state (dict): The current state of the
app.py:346
Function
format_docs
(docs)
app.py:142
Function
generate
Generate answer Args: state (dict): The current graph state Returns: state (dict): New key added to state, generation,
app.py:105
Function
grade_documents
Determines whether the retrieved documents are relevant to the question. Args: state (dict): The current graph state Returns:
app.py:157
Function
retrieve
Retrieve documents Args: state (dict): The current graph state Returns: state (dict): New key added to state, documents
app.py:85
Function
transform_query
Transform the query to produce a better question. Args: state (dict): The current graph state Returns: state (dict): Up
app.py:257
Function
web_search
Web search based on the re-phrased question using Tavily API. Args: state (dict): The current graph state Returns: stat
app.py:317