CSV example
Here we create an example CSV file, post it to Expected Parrot usingFileStore, and then retrieve it and use it to construct a ScenarioList and an AgentList.
To create a CSV file (this step can be skipped and your own file replaced in the following steps):
Creating agents:
These scenarios and agents can now be used with questions and surveys.
PNG example
Here we post an image file to Expected Parrot usingFileStore, and then retrieve it and use it to construct a Scenario.
Note:Note that we need to specify the scenario key for the file when we create it (whereas in CSV files the keys are taken from the text of the header row).
PDF example
Here we save a PDF from the internet, then post it to Expected Parrot and retrieve it usingFileStore, and then use it to construct a ScenarioList.
Note:Note that the default scenario keys for a PDF are
filename, page and text.Posting to Expected Parrot
Here we post this notebook to Expected Parrot, and show how to update it:patch() method to update an object at Expected Parrot:
