Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf315ee

Browse filesBrowse files
committed
docs: Update multimodal example
1 parent dbaba30 commit bf315ee
Copy full SHA for bf315ee

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎examples/notebooks/Multimodal.ipynb

Copy file name to clipboardExpand all lines: examples/notebooks/Multimodal.ipynb
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 1,
14+
"execution_count": 10,
1515
"metadata": {},
1616
"outputs": [
1717
{
1818
"name": "stdout",
1919
"output_type": "stream",
2020
"text": [
21-
"{'text': 'Llama C++'}\n"
21+
"{'text': 'Llama +'}\n"
2222
]
2323
}
2424
],
2525
"source": [
2626
"from openai import OpenAI\n",
2727
"\n",
28-
"client = OpenAI(base_url=\"http://100.64.159.73:8000/v1\", api_key=\"sk-1234\")\n",
28+
"client = OpenAI(base_url=\"http://localhost:8000/v1\", api_key=\"llama.cpp\")\n",
2929
"response = client.chat.completions.create(\n",
3030
" model=\"gpt-4-vision-preview\",\n",
3131
" messages=[\n",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.