docs: update LlamaCpp input args (#9173)

This PR only updates the LlamaCpp args documentation. The input arg has
been flattened.
pull/9208/head
Emmanuel Gautier 1 year ago committed by GitHub
parent 72f9150a50
commit f11e5442d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -241,7 +241,9 @@
"# Make sure the model path is correct for your system!\n",
"llm = LlamaCpp(\n",
" model_path=\"/Users/rlm/Desktop/Code/llama/llama-2-7b-ggml/llama-2-7b-chat.ggmlv3.q4_0.bin\",\n",
" input={\"temperature\": 0.75, \"max_length\": 2000, \"top_p\": 1},\n",
" temperature=0.75,\n",
" max_length=2000,\n",
" top_p=1,\n",
" callback_manager=callback_manager,\n",
" verbose=True,\n",
")"

Loading…
Cancel
Save