106 karma · joined July 28, 2015
you could also ask claude code how does claude-smart learning helped your response to explain to you
The idea is memory alone does not prevent claude code to make the same mistake twice. It should be able to capture user corrections and turn into learnings that are generalized across different use cases and projects
We have done benchmark against other memory based solutions and found that memory based solution almost never capture any user correction but just storing user mentioned facts. In addition, our context footprint is a fraction of what claude-mem has, which make claude-smart super context efficient.
Try install it with ``` npx claude-smart install ```
and let us know what you think, your feedback is hugely appreciated!
"conversation_history":
"user: I want to change the shipping address for my order",
"assistant: Can you please provide the order ID?",
"user: The order ID is 456",
"assistant: The order with ID 456 has not yet shipped. I can update the shipping address for you. Please provide the new shipping address.",
"user: The new shipping address is 234 Spear St, San Francisco",
"assistant: The shipping address for your order with ID 456 has been successfully updated to 234 Spear St, San Francisco.",
"user: Thank you for updating the shipping address for my order",
"assistant: Thank your for contacting"
"is_agent_helpful":
{
"rating": 5,
"reason": "The conversation reaches the expected outcome. The user successfully provides the order ID and the new shipping address, and the assistant updates the shipping address for the order with ID 456. The assistant confirms the successful update and thanks the user for contacting."
},
"actions_took":
{
"tool": "check_order_status",
"tool_input":
{
"order_id": "456"
},
"tool_output":
{
"status_code": 200,
"order_id": "456",
"order_status": "not_shipped",
"tracking_url": "example.com/456",
"shipping_address": "301 ivy street san francisco ca"
}
},
{
"tool": "change_shipping_address",
"tool_input":
{
"order_id": "456",
"new_address": "234 Spear St, San Francisco"
},
"tool_output":
{
"status_code": 200,
"order_id": "456",
"shipping_address": "234 Spear St, San Francisco"
}
}
"num_turns": 8,
"expected_outcome": "found order status and changed shipping address"In addition, when it comes to prototyping for a specific use case, we found it is often more than just calling the model but also the orchestration process matters, for example, when should LLM agent stop answering questions, fix input argument, ask a custom clarifying questions and more.
Hope AutoChain makes your exploration easier and more robust!
The goal is to enable rapid iteration on generative agents, both by simplifying agent customization and evaluation.
If you have any questions, please feel free to reach out to Yi Lu yi.lu@forethought.ai