
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 Coop 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 Coop
Use the Coop 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 Coop 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 the Coop 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 Coop client object and pass it the object.
Updating
There are 3 methods for updating/editing an object to the Coop:- Edit the object at the Coop web app.
- Call the patch() method on the object directly.
- Call the patch() method on a Coop client 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.
Replicating / Downloading
There are a variety of methods for replicating or downloading an object at the Coop:- Selecting options to download or copy code at the Coop web app
- Calling the pull() method on the class of the object
- Calling the get() method on a Coop client 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 |
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 Coop client object
Navigate to Explore and open an object’s page view (see image above for Uploading content)

