https://github.com/phidatahq/phidata
phidata
Phidata is a framework for building AI Assistants with memory, knowledge and tools.
Why phidata
Problem: LLMs have limited context and cannot take actions.
Solution: Add memory, knowledge and tools.
- Memory: Enables LLMs to have long-term conversations by storing chat history in a database.
- Knowledge: Provides LLMs with business context by storing information in a vector database.
- Tools: Enable LLMs to take actions like pulling data from an API, sending emails or querying a database.
Memory & knowledge make LLMs smarter while tools make them autonomous.
How it works
- Step 1: Create an
Assistant
- Step 2: Add Tools (functions), Knowledge (vectordb) and Storage (database)
- Step 3: Serve using Streamlit, FastApi or Django to build your AI application
Installation
pip install -U phidata
Example: Assistant that can search the web
Create a file assistant.py