Better HN
topnewbestaskshowjobs
Log inSign up

yilu331

106 karma · joined Jul 28, 2015 (11y ago) · 20 submissions

CEO of Reflexio AI Fromer TL for Meta AI agent memory and personalization, Head of Machine Learning at Forethought.ai, Apple and Microsoft engineer
Submissions

comment 2mo ago · link · parent

Reflexio is a learning platform for AI agent, so that agents can learn from its past experiences and get better with more use. We have shown that we can reduce task failure rate by 36% and save token cost by more than 50%. check it out at reflexio.ai

2.

Reflexio: Reduce task failure by 36% while saving token by more than 50%(reflexio.ai ↗)

2 points · by yilu331 · 2mo ago · 1 comment

comment 6mo ago · link · parent

there is a dashboard that you can use by running /claude-smart:dashboard command if there is any applied learnings, there will be a visual hint in the claude code response and show cite the exact learnings in the dashboard as well.

you could also ask claude code how does claude-smart learning helped your response to explain to you

comment 6mo ago · link · parent

Hi HN, claude-smart is an open sourced claude code plugin that makes claude code self-improve.

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!

5.

Show HN: Claude-smart – Make Claude Code self-improve from every session(github.com ↗)

4 points · by yilu331 · 6mo ago · 3 comments

comment 3y ago · link · parent

LLM today makes it a lot easier to build chatbot without decision tree and handle more complex scenarios. What you would need to do is providing it sufficient tools to use and a scope for what it can do, so that the chat bot doesn't have to be mechanical

comment 3y ago · link · parent

One of the valuable things AutoChain provides is simulated conversation evaluation. Testing and tuning those agent is very hard and expensive. checkout the evaluation output from AutoChain, for example.

"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"

comment 3y ago · link · parent

with openai function calling, it is definitely getting easier and easier to build llm agent into a prototype. There are a few benefits of using AutoChain. 1) get started easily; plug and play different ideas before building into a product 2) AutoChain introduces a novel evaluation framework for evaluating LLM agent's ability to perform multi-turn conversation under different user scenarios.

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!

comment 3y ago · link · parent

great discussion. there are a lot of problems with LangChain for sure. hopefully we are trying to make it easier for exploring different ideas

comment 3y ago · link · parent

exactly, i found the same thing which motivated me to create a lightweight version of it for rapid iteration. There are a lot of customizations i found needed when i try to wrap a practical prototype for LLM agent

comment 3y ago · link · parent

AutoChain takes inspiration from LangChain and AutoGPT and aims to solve both problems by providing a lightweight and extensible framework for developers to build their own agents using LLMs with custom tools and automatically evaluating different user scenarios with simulated conversations. Experienced user of LangChain would find AutoChain is easy to navigate since they share similar but simpler concepts.

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

12.

AutoChain, lightweight and testable alternative to LangChain(github.com ↗)

211 points · by yilu331 · 3y ago · 36 comments

13.

Show HN: Deepcluster.io, A cheap and easy to use GPU cluster for deep learning

5 points · by yilu331 · 7y ago · discuss

comment 9y ago · link · parent

Please add/vote what are most critical PostgreSQL extensions you want to have in Azure Database for PostgreSQL. https://feedback.azure.com/forums/597976-azure-database-for-...

comment 9y ago · link · parent

it cannot do autoscale up and down now. But i think you can query for usage metrics and trigger a scale up/down with azure cli/powershell. This is a good feature we should have later in the public preview

comment 9y ago · link · parent

you can just npgsql. it works just fine for most of scenarios