Skip to content

Commit

Permalink
Fix typo in Generation class
Browse files Browse the repository at this point in the history
  • Loading branch information
jitokim authored and Mark Pollack committed Nov 6, 2024
1 parent c4e7efb commit 6982100
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public class Generation implements ModelResult<AssistantMessage> {
private ChatGenerationMetadata chatGenerationMetadata;

/**
* @deprecated Use {@link #Generation(AssitantMessage)} constructor instead.
* @deprecated Use {@link #Generation(AssistantMessage)} constructor instead.
*/
@Deprecated
public Generation(String text) {
this(text, Map.of());
}

/**
* @deprecated Use {@link #Generation(AssitantMessage)} constructor instead.
* @deprecated Use {@link #Generation(AssistantMessage)} constructor instead.
*/
@Deprecated
public Generation(String text, Map<String, Object> properties) {
Expand Down Expand Up @@ -70,7 +70,7 @@ public ChatGenerationMetadata getMetadata() {
}

/**
* @deprecated Use {@link #Generation(AssitantMessage, ChatGenerationMetadata)}
* @deprecated Use {@link #Generation(AssistantMessage, ChatGenerationMetadata)}
* constructor instead.
* @param chatGenerationMetadata
* @return
Expand Down

0 comments on commit 6982100

Please sign in to comment.