Skip to content

Commit

Permalink
updated TextToTitleChain docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brainlid committed Dec 15, 2024
1 parent b9c2581 commit a07eca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chains/text_to_title_chain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ You expertly summarize the User Text into a short title or phrase to represent a
<% end %><% end %>|

@doc """
Start a new LLMChain configuration.
Start a new TextToTitleChain configuration.
{:ok, chain} = LLMChain.new(%{
{:ok, chain} = TextToTitleChain.new(%{
llm: %ChatOpenAI{model: "gpt-3.5-turbo", stream: false},
input_text: "Let's create a marketing blog post about our new product 'Fuzzy Furries'"
})
Expand Down

0 comments on commit a07eca7

Please sign in to comment.