
Getting started
1. Create an account
Sign up with an email address. Your account comes with an Expected Parrot API key that allows you to:- Post and share content
- Run surveys remotely
- Use any available models with your surveys
- Use the universal cache of stored prompts and responses
2. Your Expected Parrot API key
Remote inference is a feature that allows you to run EDSL surveys and inference jobs at the Expected Parrot server, and store results at your account. It is activated by default when you create an account. When remote inference is activated, your survey jobs and results are automatically stored at the Expected Parrot server and accessible at the Results page of your account. You can also post any EDSL objects to Expected Parrot from your workspace, includes Results, Surveys, Agents, Scenarios, Notebooks and data files (using the FileStore module). To do this, you first need to store your Expected Parrot API key. If you have activated remote inference (at your Settings page), your key is automatically stored. If you are only using EDSL locally, create a file named .env in your EDSL working directory and store your key in it using the following format:3. Post objects to Expected Parrot
Use theCoop module and methods to post and share objects (see examples below). You can set the visibility status of an object when you post it or update it later, from your workspace or interactively at your account. There are 3 status options:
- public: Visible to everyone
- private: Visible to logged in users that you have granted access
- unlisted: Visible to anyone with the link but not listed in search results (default)
4. Explore content
Content that you have created with remote inference or posted to Expected Parrot is available at your Content page. You can access public content at the Explore tab, and copy code and examples to modify or rerun at your workspace.Methods
When remote inference is activated the results of your surveys are automatically added to your Content page. You can modify them from your workspace or interactively at your account. You can also post, update, download and delete any objects using theCoop module and methods (see examples below).
Posting
There are 2 methods for uploading/posting an object from your workspace to your account:- Call the push() method on the object directly.
- Call the create() method on a
Coopclient object and pass it the object.
Coop client
Here we post the same question by passing it to the create() method of a Coop client object:
Updating
There are 3 methods for updating/editing an object to Expected Parrot:- Edit the object at the Expected Parrot platform.
- Call the patch() method on the object directly.
- Call the patch() method on a
Coopclient object.
- The description parameter is used to update the description of an object, such as a question or survey.
- The visibility parameter is used to update the visibility of an object: public, private or unlisted.
- The value parameter is used to update the content of an object, such as the text of a question or the code in a notebook.
Coop client
Here we do the same using a Coop client object:
Replicating / Downloading
There are a variety of methods for replicating or downloading an object at Expected Parrot:- Selecting options to download or copy code at the Expected Parrot platform
- Calling the pull() method on the class of the object
- Calling the get() method on a
Coopclient object
Navigate to the Explore page and select an object
| key | value |
|---|---|
| question_name | example |
| question_text | How are you today? |
| question_options:0 | Good |
| question_options:1 | Bad |
| question_options:2 | OK |
| question_type | multiple_choice |
Coop client
Here we download the question by calling the get() method on a Coop client object:
Deleting
There are 3 methods for deleting an object from your account:- Selecting options to delete at the web app
- Calling the delete() method on the class of the object
- Calling the delete() method on a
Coopclient object
Navigate to Explore and open an object’s page view (see image above for Uploading content)
Coop client
Here we delete a question by calling the delete() method on a Coop client object, passing the uuid of the object:
Projects
You can create a project at the Expected Parrot platform by selecting the option to Create a project at the top right of the page. You can also create a project by calling the create_project() method on aCoop client object:

