> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/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">
    Source
  </a>;

<h1 id="api-overview">
  API 개요
</h1>

***

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

<h2 id="class-feedbackquery">
  <kbd>클래스</kbd> `FeedbackQuery`
</h2>

서버에서 피드백을 가져오는 지연 로딩(lazy-loading) 객체입니다.

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

<h3 id="method-__init__">
  <kbd>방법</kbd> `__init__`
</h3>

```python theme={"system"}
__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.53.1/weave/trace/feedback.py#L145" />

<h3 id="method-execute">
  <kbd>방법</kbd> `execute`
</h3>

```python theme={"system"}
execute() → Feedbacks
```

***

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

<h3 id="method-refresh">
  <kbd>방법</kbd> `refresh`
</h3>

```python theme={"system"}
refresh() → Feedbacks
```

***

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

<h3 id="method-refs">
  <kbd>방법</kbd> `refs`
</h3>

```python theme={"system"}
refs() → Refs
```

***

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

<h2 id="class-feedbacks">
  <kbd>클래스</kbd> `Feedbacks`
</h2>

유틸리티를 갖춘 Feedback 객체의 컬렉션입니다.

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

<h3 id="method-__init__-2">
  <kbd>방법</kbd> `__init__`
</h3>

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

***

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

<h3 id="method-refs-2">
  <kbd>방법</kbd> `refs`
</h3>

```python theme={"system"}
refs() → Refs
```

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

***

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

<h2 id="class-reffeedbackquery">
  <kbd>클래스</kbd> `RefFeedbackQuery`
</h2>

특정 ref와 연결된 피드백과 상호작용하기 위한 객체입니다.

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

<h3 id="method-__init__-3">
  <kbd>방법</kbd> `__init__`
</h3>

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

***

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

<h3 id="method-add">
  <kbd>방법</kbd> `add`
</h3>

```python theme={"system"}
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: 피드백 유형을 파악하는 string입니다. "wandb." 접두사는 예약되어 있습니다. creator: 피드백 작성자의 표시 이름입니다.

***

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

<h3 id="method-add_note">
  <kbd>방법</kbd> `add_note`
</h3>

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

***

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

<h3 id="method-add_reaction">
  <kbd>방법</kbd> `add_reaction`
</h3>

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

***

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

<h3 id="method-execute-2">
  <kbd>방법</kbd> `execute`
</h3>

```python theme={"system"}
execute() → Feedbacks
```

***

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

<h3 id="method-purge">
  <kbd>방법</kbd> `purge`
</h3>

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

***

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

<h3 id="method-refresh-2">
  <kbd>방법</kbd> `refresh`
</h3>

```python theme={"system"}
refresh() → Feedbacks
```

***

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

<h3 id="method-refs-3">
  <kbd>방법</kbd> `refs`
</h3>

```python theme={"system"}
refs() → Refs
```
