Spaces:
Sleeping
Sleeping
Created using Colab
Browse files
notebooks/05-Improve_Prompts_+_Add_Source.ipynb
CHANGED
@@ -59,28 +59,6 @@
|
|
59 |
"nest_asyncio.apply()"
|
60 |
]
|
61 |
},
|
62 |
-
{
|
63 |
-
"cell_type": "markdown",
|
64 |
-
"metadata": {
|
65 |
-
"id": "Bkgi2OrYzF7q"
|
66 |
-
},
|
67 |
-
"source": [
|
68 |
-
"# Load a Model"
|
69 |
-
]
|
70 |
-
},
|
71 |
-
{
|
72 |
-
"cell_type": "code",
|
73 |
-
"execution_count": null,
|
74 |
-
"metadata": {
|
75 |
-
"id": "9oGT6crooSSj"
|
76 |
-
},
|
77 |
-
"outputs": [],
|
78 |
-
"source": [
|
79 |
-
"from llama_index.llms.openai import OpenAI\n",
|
80 |
-
"\n",
|
81 |
-
"llm = OpenAI(temperature=0.9, model=\"gpt-3.5-turbo\", max_tokens=512)"
|
82 |
-
]
|
83 |
-
},
|
84 |
{
|
85 |
"cell_type": "markdown",
|
86 |
"metadata": {
|
|
|
59 |
"nest_asyncio.apply()"
|
60 |
]
|
61 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
{
|
63 |
"cell_type": "markdown",
|
64 |
"metadata": {
|