Installation Guide
Requirements
Empire Chain requires Python 3.10 or later.
Installation
You can install Empire Chain using pip:
Dependencies
Empire Chain comes with the following core dependencies:
LLM Providers
openai- OpenAI API clientanthropic- Anthropic API clientgroq- Groq API client
Vector Stores
qdrant-client- Qdrant vector database clientchromadb- ChromaDB vector databasesentence-transformers- For embeddings generation
Document Processing
PyPDF2- PDF processingpython-docx- Word document processingdocling- Document analysis
Web and Data
crawl4ai- Web crawlingduckduckgo-search- Web search capabilitiesyfinance- Financial data access
Visualization and UI
streamlit- Interactive UI componentsmatplotlib- Data visualizationPillow- Image processing
Audio Processing
soundfile- Audio file handlingkokoro_onnx- Speech processing
Utilities
phidata- Agent frameworkpython-dotenv- Environment managementnumpy- Numerical computationstqdm- Progress bars
Environment Setup
- Create a
.envfile in your project root:
- Add your API keys (as needed):
Verifying Installation
You can verify your installation by running:
from empire_chain.llms import OpenAILLM
from empire_chain.vector_stores import QdrantVectorStore
from empire_chain.embeddings import OpenAIEmbeddings
# These imports should work without errors if installation is successful
Next Steps
- Check out the Quick Start Guide to begin using Empire Chain
- Explore Example Cookbooks for practical examples
- Read about Core Concepts to understand the framework