docs: update LlamaCpp input args (#9173)

This PR only updates the LlamaCpp args documentation. The input arg has
been flattened.
This commit is contained in:
Emmanuel Gautier
2023-08-14 16:42:03 +02:00
committed by GitHub
parent 72f9150a50
commit f11e5442d6

View File

@@ -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",
")"