Group the content of cells into an openai modules

I want to group the output of the cells into an openai module (something like a router) and generate one answer. Can you help me ?

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

strong text
blueprint (2).json (385.8 KB)

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C2",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C3",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C4",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C5",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C6",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]


[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C7",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C8",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]

[
    {
        "spreadsheetId": "181emLqfIjs2fhEz7O8Ix4DN0lGTxPoTa7RfMbOs22R0",
        "updatedRange": "Test!C9",
        "updatedRows": 1,
        "updatedColumns": 1,
        "updatedCells": 1
    }
]```

Hi @Reda_Laasri

If you want to combine all route values into one, consider using the ‘Set Variable’ and ‘Get Variable’ modules:

  1. Set a variable in each route (Set Variable module).
  2. In the last route, retrieve the variable using the ‘Get Variable’ module."

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

Hi, I set a variable in each route. When I try to retrieve all the variables at the last route using get variable module.
This only gives the opportunity to get the last variable and the previous ones


the screenshot of the end of the route


The screenshot of get multiples variables setting

Hi @Reda_Laasri

Please type the names of your variables manually same as you typed in “set variable”. Names should exactly match.

Please click on “Add item” in “get variable” module to add all the variables one by one.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes