Skip to content

LightAgent is a framework for developing applications powered by mini LLM.

License

Notifications You must be signed in to change notification settings

TrickEye/LightAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightAgent

LightAgent is a framework for developing applications powered by mini LLM.

todo:

  1. responding prompt, exclude the plugin instructions that are not triggered. ☑
  2. add metrics to log the latency. ☑
  3. add assistant plugin. ☑
  4. reduce the tokens of the conversation_history
  5. fix bugs. ☑
  6. add warmup ☑
  7. improve web search api
  8. add stop tokens ☑
  9. fix json format ☑
  10. improve extraction prompt ☑
  11. add conntent summarization tool with LLM
  12. add phi3-int4 evaluation ☑
  13. add streaming responding
  14. add embedding and rag
  15. add image understanding
  16. add chat web UI and API

good cases

LightAgent with MiniCPM-2B

  • User: 你是谁

  • LightAgent: I am LightAgent, an AI assistant designed to help users with their queries and tasks. I am capable of providing information, answering questions, and assisting with various tasks. I am here to make your life easier and more enjoyable. If you have any questions or need assistance, please feel free to ask.

  • User: 北京今天出门要带伞吗

  • LightAgent: Based on the information provided, it is not necessary to bring an umbrella in Beijing today. However, it is always a good idea to check the weather forecast before heading out. If the weather is expected to change or become rainy, it might be a good idea to bring an umbrella just in case.

  • User: 奥巴马能赢得2024年美国大选吗

  • LightAgent: Hello, I'm LightAgent. I'm sorry for the confusion, but I cannot provide real-time information or predictions. However, I can tell you that Barack Obama, a former U.S. President, is a well-known political figure. As of my last update, he is not a current candidate for the 2024 U.S. Presidential election.

  • User: 金字旁加一个川读什么音

  • LightAgent: 金字旁加一个川的读音是 chuàn。

LightAgent with Phi-3B-Int4

  • User: 你是谁

  • LightAgent: This is LightAgent, ready to assist you! 😊

  • User: Do I need to bring an umbrella when going out in Seattle today?

  • LightAgent: Seattle's unspoken rules suggest that umbrellas are generally not recommended unless it's torrential rain. The Seattle weather forecast for today is 26°C.

  • User: Can Obama win the 2024 US election?

  • LightAgent: As an AI, I don't predict political outcomes. However, I can provide information on the current political landscape and election processes.

About

LightAgent is a framework for developing applications powered by mini LLM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages