> ## Documentation Index
> Fetch the complete documentation index at: https://docs.graphext.com/llms.txt
> Use this file to discover all available pages before exploring further.

# fetch_openreview

> Fetch publications submitted to one or more conferences via [OpenReview](https://openreview.net/). 

## Usage

The following example shows how the step can be used in a recipe.

<Accordion title="Examples" icon="code" defaultOpen="true">
  <Tabs>
    <Tab title="Example 1">
      To fetch papers from ICML and NeurIPS conferences and workshops, the input column may contain the values

      `["NeurIPS.*Conference", "neurips.*workship", "ICML.*Conference", "icml.*workshop"]`

      To fetch the corresponding papers (the default parameters are optional):

      ```stan theme={null}
      fetch_openreview(ds.invitations, {"search": true, "regex": true}) -> (papers)
      ```
    </Tab>

    <Tab title="Signature">
      General syntax for using the step in a recipe. Shows the inputs and outputs the step is expected to receive and will produce respectively. For futher details see sections below.

      ```stan theme={null}
      fetch_openreview(venues: url|category|text, {
          "param": value,
          ...
      }) -> (papers: dataset)
      ```
    </Tab>
  </Tabs>
</Accordion>

## Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally
columns (`ds.first_name`), datasets (`ds` or `ds[["first_name", "last_name"]]`) or models (referenced
by name e.g. `"churn-clf"`).

<Accordion title="Inputs" icon="right-to-bracket">
  <ParamField path="venues" type="column[url|category|text]" required />
</Accordion>

<Accordion title="Outputs" icon="right-from-bracket">
  <ParamField path="papers" type="dataset" required>
    A new dataset containing details about the submitted publications.
  </ParamField>
</Accordion>

## Configuration

The following parameters can be used to configure the behaviour of the step by including them in
a json object as the last "input" to the step, i.e. `step(..., {"param": "value", ...}) -> (output)`.

<Accordion title="Parameters" defaultOpen="true" icon="sliders">
  <ParamField path="search" type="boolean" default="true">
    Whether the inputs are venues to search for.
    If `false`, expects explicit reference IDs to conference invitations on openreview\.net,
    e.g. "ICLR.cc/2023/Conference/-/Blind\_Submission".
  </ParamField>

  <ParamField path="regex" type="boolean" default="true">
    Whether the input values are regex patterns.
    If `true`, the input values are treated as regex patterns to search for in the venue names.
    If `false`, searches for exact substrings in venue names.
  </ParamField>
</Accordion>
