> ## 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.

# StringPrompt

> TypeScript SDK reference

[GitHub source](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/prompt.ts#L19)

## 확장

* `Prompt`

## 생성자

> **new StringPrompt**(`parameters`): `StringPrompt`

### 매개변수

**parameters** `object` *required*

**속성**

**content** `string` *required*

**description** `string`

**name** `string`

### 반환값

`StringPrompt`

### 재정의

`Prompt.constructor`

## 속성

### \_\_savedRef

> `선택` **\_\_savedRef**: [`ObjectRef`](https://docs.coreweave.com/ko/products/wandb/weave/reference/typescript-sdk/classes/objectref) | `Promise`\<[`ObjectRef`](https://docs.coreweave.com/ko/products/wandb/weave/reference/typescript-sdk/classes/objectref)>

#### 상속됨

`Prompt.__savedRef`

***

### content

> **content**: `string`

## 접근자

### description

#### 조회 시그니처

> **get** **description**(): `string` | `undefined`

##### 반환값

`string` | `undefined`

#### 상속됨

`Prompt.description`

***

### name

#### 조회 시그니처

> **get** **name**(): `string`

##### 반환값

`string`

#### 상속됨

`Prompt.name`

## 메서드

### format()

> **format**(`values?`): `string`

#### 매개변수

**values** `Record\<string, any\> = \{\}`

#### 반환값

`string`

***

### saveAttrs()

> **saveAttrs**(): `object`

#### 반환값

`object`

#### 상속됨

`Prompt.saveAttrs`

***

### get()

> `static` **get**(`client`, `uri`): `Promise`\<`StringPrompt`>

#### 매개변수

**client** `WeaveClient` *required*

[`WeaveClient`](https://docs.coreweave.com/ko/products/wandb/weave/reference/typescript-sdk/interfaces/weaveclient)를 참조하세요.

**uri** `string` *required*

#### 반환값

`Promise`\<`StringPrompt`>
