Skip to content

Hi, I am not able to get a response, it was running for a long time without any error #6

@rajdeepbanerjee-git

Description

@rajdeepbanerjee-git

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()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions