Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/natural-language-processing/useLLM.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const llm = useLLM({

const handleGenerate = async () => {
const chat = [
{ role: 'system' content: 'You are a helpful assistant' },
{ role: 'system', content: 'You are a helpful assistant' },
{ role: 'user', content: 'Hi!' },
{ role: 'assistant', content: 'Hi!, how can I help you?'},
{ role: 'user', content: 'What is the meaning of life?' },
Expand Down Expand Up @@ -230,7 +230,7 @@ const llm = useLLM({

const handleGenerate = async () => {
const chat = [
{ role: 'system' content: `You are a helpful assistant. Current time and date: ${new Date().toString()}` }
{ role: 'system', content: `You are a helpful assistant. Current time and date: ${new Date().toString()}` }
{ role: 'user', content: `Hi, what's the weather like in Cracow right now?` }
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const llm = useLLM({

const handleGenerate = async () => {
const chat = [
{ role: 'system' content: 'You are a helpful assistant' },
{ role: 'system', content: 'You are a helpful assistant' },
{ role: 'user', content: 'Hi!' },
{ role: 'assistant', content: 'Hi!, how can I help you?'},
{ role: 'user', content: 'What is the meaning of life?' },
Expand Down Expand Up @@ -230,7 +230,7 @@ const llm = useLLM({

const handleGenerate = async () => {
const chat = [
{ role: 'system' content: `You are a helpful assistant. Current time and date: ${new Date().toString()}` }
{ role: 'system', content: `You are a helpful assistant. Current time and date: ${new Date().toString()}` }
{ role: 'user', content: `Hi, what's the weather like in Cracow right now?` }
];

Expand Down