Open the file named io_config.yaml
at the root of your Mage project and enter required fields:
Add algoliasearch==3.0.0
into requirements.txt
to install the required weaviate library.
Follow these steps to integrate Algolia into your workflow using Python blocks:
Data loader arguments:
Args:
query_texts (str): Texts to query.
index_name (str): Name of the index. Defaults to the name defined in io_config.yaml
.
column_names (List): columns to fetch.
Returns:
DataFrame: Data frame loaded.
Data exporter arguments: Write data into Algolia.
Args: df (DataFrame): dataframes to write. index_name (str): Name of the index. Defaults to the name defined in io_config.yaml.