diff --git a/apps/docs/docs/modules/llms/available_llms/llama2.md b/apps/docs/docs/modules/llms/available_llms/llama2.md index edbd64b5b98210f3e76a6c84b07c7823f1baa40a..4e62040651be59137e9dc7c7a7166f9e241ea857 100644 --- a/apps/docs/docs/modules/llms/available_llms/llama2.md +++ b/apps/docs/docs/modules/llms/available_llms/llama2.md @@ -3,7 +3,7 @@ ## Usage ```ts -import { Ollama, Settings } from "llamaindex"; +import { Ollama, Settings, DeuceChatStrategy } from "llamaindex"; Settings.llm = new LlamaDeuce({ chatStrategy: DeuceChatStrategy.META }); ``` @@ -11,7 +11,12 @@ Settings.llm = new LlamaDeuce({ chatStrategy: DeuceChatStrategy.META }); ## Usage with Replication ```ts -import { Ollama, ReplicateSession, Settings } from "llamaindex"; +import { + Ollama, + ReplicateSession, + Settings, + DeuceChatStrategy, +} from "llamaindex"; const replicateSession = new ReplicateSession({ replicateKey, @@ -48,7 +53,13 @@ const results = await queryEngine.query({ ## Full Example ```ts -import { LlamaDeuce, Document, VectorStoreIndex, Settings } from "llamaindex"; +import { + LlamaDeuce, + Document, + VectorStoreIndex, + Settings, + DeuceChatStrategy, +} from "llamaindex"; // Use the LlamaDeuce LLM Settings.llm = new LlamaDeuce({ chatStrategy: DeuceChatStrategy.META });