This project is a micro-service handling the incoming web search requests for the Arana Ai whatsapp assistant.
To get started, follow these steps:
Important to note that during login you need to use the x-www-form-urlencoded data form when sending the login request
git clone [https://github.com/valaki233/Whatsapp_search_api.git]
cd Whatsapp_search_api
Set up the .env file with the required environment variables. Create a .env file in the root directory of the project with the following variables:
AZURE_OPENAI_API_KEY_FRANCE: Your Azure OpenAI API key for the France region.
AZURE_OPENAI_ENDPOINT_FRANCE: The API endpoint for the Azure OpenAI service in the France region.
AZURE_OPENAI_API_VERSION_FUNCTIONS: The API version for Azure OpenAI.
OPENAI_API_KEY: The API key for accessing OpenAI services.
PROXY_USERNAME: Username for the proxy service.
PROXY_PASSWORD: Password for the proxy service.
SERPER_API_KEY: The API key for accessing the Serper API.
GOOGLE_API_KEY: The API key for accessing Google APIs.
SECRET_KEY: A secret key used for cryptographic operations, sessions, or securing sensitive data.
AZURE_OPENAI_API_KEY_FRANCE=your-azure-openai-api-key-france
AZURE_OPENAI_ENDPOINT_FRANCE=https://your-azure-openai-endpoint-france
AZURE_OPENAI_API_VERSION_FUNCTIONS=your-api-version
OPENAI_API_KEY=your-openai-api-key
PROXY_USERNAME=your-proxy-username
PROXY_PASSWORD=your-proxy-password
SERPER_API_KEY=your-serper-api-key
GOOGLE_API_KEY=your-google-api-key
SECRET_KEY=your-secret-key
docker compose up --build
This will start the application with the required environment settings.