> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-sandboxes-integrations-placement.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# feedback

> weave.trace.feedback용 Python SDK 레퍼런스

export const SourceLink = ({url}) => <a href={url} target="_blank" rel="noopener noreferrer" className="source-link">
    출처
  </a>;

<div id="api-overview">
  # API Overview
</div>

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L84" />

## <kbd>class</kbd> `FeedbackQuery`

서버에서 피드백을 가져오는 lazy 로딩 객체입니다.

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L97" />

### <kbd>방법</kbd> `__init__`

```python theme={null}
__init__(
    entity: 'str',
    project: 'str',
    query: 'Query',
    offset: 'int | None' = None,
    limit: 'int | None' = None,
    show_refs: 'bool' = False
)
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L145" />

### <kbd>방법</kbd> `execute`

```python theme={null}
execute() → Feedbacks
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L126" />

### <kbd>방법</kbd> `refresh`

```python theme={null}
refresh() → Feedbacks
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L151" />

### <kbd>방법</kbd> `refs`

```python theme={null}
refs() → Refs
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L21" />

## <kbd>class</kbd> `Feedbacks`

유틸리티를 제공하는 Feedback 객체 컬렉션입니다.

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L26" />

### <kbd>방법</kbd> `__init__`

```python theme={null}
__init__(
    show_refs: 'bool',
    feedbacks: 'Iterable[Feedback] | None' = None
) → None
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L32" />

### <kbd>방법</kbd> `refs`

```python theme={null}
refs() → Refs
```

이 피드백들에 연결된 고유한 ref를 반환합니다.

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L168" />

## <kbd>class</kbd> `RefFeedbackQuery`

특정 ref에 연결된 피드백과 상호작용하는 객체입니다.

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L173" />

### <kbd>방법</kbd> `__init__`

```python theme={null}
__init__(ref: 'str') → None
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L219" />

### <kbd>방법</kbd> `add`

```python theme={null}
add(
    feedback_type: 'str',
    payload: 'dict[str, Any] | None' = None,
    creator: 'str | None' = None,
    annotation_ref: 'str | None' = None,
    **kwargs: 'dict[str, Any]'
) → str
```

ref에 피드백을 추가합니다.

feedback\_type: 피드백의 유형을 나타내는 문자열입니다. "wandb." 접두사는 예약되어 있습니다. creator: 피드백 작성자로 표시할 이름입니다.

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L247" />

### <kbd>방법</kbd> `add_note`

```python theme={null}
add_note(note: 'str', creator: 'str | None' = None) → str
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L238" />

### <kbd>방법</kbd> `add_reaction`

```python theme={null}
add_reaction(emoji: 'str', creator: 'str | None' = None) → str
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L145" />

### <kbd>방법</kbd> `execute`

```python theme={null}
execute() → Feedbacks
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L256" />

### <kbd>방법</kbd> `purge`

```python theme={null}
purge(feedback_id: 'str') → None
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L126" />

### <kbd>방법</kbd> `refresh`

```python theme={null}
refresh() → Feedbacks
```

***

<SourceLink url="https://github.com/wandb/weave/blob/v0.52.42/weave/trace/feedback.py#L151" />

### <kbd>방법</kbd> `refs`

```python theme={null}
refs() → Refs
```
