Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arana Assistant Search API 🚀

Overview

This project is a micro-service handling the incoming web search requests for the Arana Ai whatsapp assistant.

Getting Started

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

Clone the repository:

git clone [https://github.com/valaki233/Whatsapp_search_api.git]
cd Whatsapp_search_api

Environment Variables

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.

Sample .env file:

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

Run the docker container:

docker compose up --build

This will start the application with the required environment settings.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages