---
id: generator
title: Generator
sidebar_position: 1
---

# Generator Subgraph

This page explains the details of the Generator Subgraph.

## Overview

The Generator Subgraph is a component responsible for generating research artifacts and code from papers.

## Features

- Main feature 1
- Main feature 2
- Main feature 3

## Usage

```python
from researchgraph.generator_subgraph.generator_subgraph import Generator

generator = Generator(
    github_repository=github_repository,
    branch_name=branch_name,
    llm_name="o1-2024-12-17",
)

result = generator.run()
print(f"result: {result}")
```

## API

Details about the API provided by the Generator Subgraph are under preparation.
