Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asvch/llm-agent-fullstack

LLM Agent with access to multiple tools. Ask for information about the weather, current events, YouTube links, math questions or itself. Acts as Romeo from Romeo and Juliet.
https://github.com/asvch/llm-agent-fullstack

elasticsearch langchain langserve llm-agent openai-api reactjs

Last synced: about 1 month ago
JSON representation

LLM Agent with access to multiple tools. Ask for information about the weather, current events, YouTube links, math questions or itself. Acts as Romeo from Romeo and Juliet.

Awesome Lists containing this project

README

        

## LLM Agent with access to multiple tools!
- LangChain, LangServe, FastAPI, and OpenAI API used for backend.
- React.js, HTML, and CSS used for frontend.
- Elasticsearch database as external vectorstore.
- Agent acts as Romeo from Romeo and Juliet.
- Deployed backend using Railway.app and frontend using GitHub Pages.

**LLM Agent Tools:**
- Retrieval tool: for LLM Agent to access all of Romeo's lines from the original script. Agent uses this tool to answer questions about Romeo.
- Web Search tool: Tavily Search API used to search information our LLM Agent does not know (including current events.)
- Weather tool: accessed through weather API, to find current weather conditions in a city.
- Math tool: used to answer math questions.
- YouTube search tool: used to find YouTube video URLs.

Preview:
[Watch demo](https://github.com/asvch/llm-agent-fullstack/assets/66492476/8c1a3d8d-e3ad-48a1-a09e-48ed45a6de06)

| Backend | Frontend |
| ----------- | ----------- |
| ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/844e83d5-e898-4cbe-b620-5218dc9074b4) | |
| Retrieval tool:
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/44eb6029-5c33-47e0-995f-3289e9a2522e)
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/476b7be1-a1f9-425d-ab16-2d396bce22c9) | ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/5da001c3-e601-4c03-9291-2a249f2aef53)|
| Weather tool:
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/148f50a7-a769-4d23-9919-94754551cfde) |![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/142528eb-ff8b-46aa-b8f2-9774663fd0ea)|
| Web Search tool:
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/95533633-6604-482f-b3ef-cafbfd300ca9)
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/1a53e9f2-38db-47fb-985e-3a352b93b29e) | ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/da7114a2-4821-48f3-b7ae-fef596ffe831) |
| Math tool:
![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/ea21311d-c35b-4d3a-b5d1-392caffd24ad) | ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/7cbd005e-d543-439c-863f-afdc23348daa) |
| YouTube tool: ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/a5734635-221e-4484-8d95-e6a30642ad56) | ![image](https://github.com/asvch/llm-agent-fullstack/assets/66492476/f1eeedca-752c-4cf2-943d-2907aedd46ad) |