Hi,
Thank you for the nice work. I used the example code given with my API key, the graph.evaluate() keeps running for more than 5 mins even for a simple task. How to check where I am going wrong?
`graph = Graph()
subtask1 = "Consider that Ram can eat 20 apples in a day."
node1 = BaseNode(subtask1, subtask1, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node1)
subtask2 = "Consider that Ram eat 1 apple per day in general."
node2 = BaseNode(subtask2, subtask2, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node2)
subtask3 = "Now, tell me how many apples Ram can eat in 2 days and how many he will generally eat in 2 days?"
node3 = BaseNode(subtask3, subtask3, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node3)
graph.add_edge(subtask1, subtask2)
graph.add_edge(subtask1, subtask3)
graph.add_edge(subtask2, subtask3)
result = graph.evaluate()`
Hi,
Thank you for the nice work. I used the example code given with my API key, the graph.evaluate() keeps running for more than 5 mins even for a simple task. How to check where I am going wrong?
`graph = Graph()
subtask1 = "Consider that Ram can eat 20 apples in a day."
node1 = BaseNode(subtask1, subtask1, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node1)
subtask2 = "Consider that Ram eat 1 apple per day in general."
node2 = BaseNode(subtask2, subtask2, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node2)
subtask3 = "Now, tell me how many apples Ram can eat in 2 days and how many he will generally eat in 2 days?"
node3 = BaseNode(subtask3, subtask3, graph, LLM_API_FUNCTION, agentkit.compose_prompt.BaseComposePrompt())
graph.add_node(node3)
graph.add_edge(subtask1, subtask2)
graph.add_edge(subtask1, subtask3)
graph.add_edge(subtask2, subtask3)
result = graph.evaluate()`