Technical requirements
To replicate the AI-powered assistant for the Piadineria restaurant, follow these steps:
- Clone the project repository
Start by cloning the GitHub repository containing the notebook, source code, and necessary assets:
git clone https://github.com/PacktPublishing/AI-Agents-in-Practice
cd "your_folder"
- Install required Python packages
Create a virtual environment and install the dependencies listed in requirements.txt
or manually install the following packages:
langchain, openai, python-dotenv
faiss-cpu, sqlite3, pandas, requests
langsmith for evaluation and analytics
pip install -r requirements.txt
- Configure environment variables
Create a .env
file in the project root with your configuration keys:
AZURE_OPENAI_API_VERSION=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME=
LANGSMITH_API_KEY=
LANGSMITH_ENDPOINT...