Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement get_input_schema(), get_output_schema(), get_graph() for StateGraph, MessageGraph #123

Merged
merged 6 commits into from
Feb 21, 2024

Conversation

nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Feb 19, 2024

Depends on langchain-ai/langchain#17745

Final step will be to add a graphviz-based draw method (like #71) in langchain-core

Produces graphs like this

                       +-----------+            
                       | __start__ |            
                       +-----------+            
                             *                  
                             *                  
                             *                  
                         +-------+              
                         | agent |              
                        *+-------+*             
                      **           ***          
                    **                **        
                  **                    **      
   +-----------------------+              **    
   | agent_should_continue |               *    
   +-----------------------+               *    
               *            ****           *    
               *                *****      *    
               *                     ***   *    
          +---------+                 +-------+ 
          | __end__ |                 | tools | 
          +---------+                 +-------+ 

@nfcampos nfcampos merged commit c8411df into main Feb 21, 2024
5 checks passed
@nfcampos nfcampos deleted the nc/19feb/get-graph branch February 21, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant