Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-comments'
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Jun 21, 2024
2 parents d595dc6 + bec7e46 commit f2471d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ return app.stream( inputs );

* [Agent Executor](agent-executor/README.md)
* [Image To PlantUML Diagram](image-to-diagram/README.md)
* [adaptive rag](adaptive-rag/README.md)
* [Adaptive RAG](adaptive-rag/README.md)
# References

* [LangGraph - LangChain Blog][langgraph.blog]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,9 @@
import static java.lang.String.format;

/**
* ---
* title: Graph Diagram
* ---
* flowchart TD
*
* start((start))
* stop((stop))
*
* web_search("web_search")
* retrieve("retrieve")
* grade_documents("grade_documents")
* generate("generate")
* transform_query("transform_query")
*
* condition1{"check state"}
* condition2{"check state"}
* startcondition{"check state"}
*
* start --> startcondition
* startcondition -->|web search| web_search
* startcondition --> |vectorstore|retrieve
*
* web_search --> generate
* retrieve --> grade_documents
*
* grade_documents --> condition1
* condition1 --> transform_query
* condition1 --> generate
*
* transform_query --> retrieve
* generate --> condition2
*
* condition2 --> generate
* condition2 --> transform_query
* condition2 --> stop
* This class represents a MermaidGenerator that extends DiagramGenerator. It generates a flowchart using Mermaid syntax.
* The flowchart includes various nodes such as start, stop, web_search, retrieve, grade_documents, generate, transform_query,
* and different conditional states.
*/
public class MermaidGenerator extends DiagramGenerator {

Expand Down

0 comments on commit f2471d1

Please sign in to comment.