mirror of
https://github.com/langchain-ai/langsmith-migrations.git
synced 2026-07-01 20:03:59 -04:00
runbook update
This commit is contained in:
@@ -512,14 +512,14 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 26,
|
||||
"execution_count": 27,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"While \"Inception\" has been hailed as a modern masterpiece by many, I find it quite overrated. Christopher Nolan's penchant for complexity often obscures emotional depth. The film's intricate plot, with dreams within dreams, is impressive but ultimately feels more like an exercise in intellectual gymnastics than a genuine exploration of characters or emotions. The reliance on exposition-heavy dialogue detracts from its immersive qualities, and the characters often come off as mere vehicles for the convoluted story rather than fully fleshed-out individuals. The visuals are stunning, but spectacle alone does not a great film make. Overall, \"Inception\" may dazzle with its ambitious ideas, but it lacks the heart and cohesion needed to be truly memorable.\n"
|
||||
"OpenAIPrompt(messages=[{'role': 'system', 'content': 'You are a harsh movie critic'}, {'role': 'user', 'content': 'Do you like Inception?'}], kwargs={'model': 'gpt-4o-mini'})\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -559,10 +559,7 @@
|
||||
"prompt_vars = {\"criticlevel\": \"harsh\", \"movie\": \"Inception\"}\n",
|
||||
"formatted_prompt = prompt.format(variables=prompt_vars)\n",
|
||||
"\n",
|
||||
"# Make a request with your Prompt\n",
|
||||
"oai_client = OpenAI()\n",
|
||||
"resp = oai_client.chat.completions.create(**formatted_prompt)\n",
|
||||
"print(resp.choices[0].message.content)\n"
|
||||
"print(formatted_prompt)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user