mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-21 14:55:36 -04:00
6d4d96f8fe
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
10 lines
292 B
TypeScript
10 lines
292 B
TypeScript
import { DeuceChatStrategy, LlamaDeuce } from "@llamaindex/replicate";
|
|
|
|
(async () => {
|
|
const deuce = new LlamaDeuce({ chatStrategy: DeuceChatStrategy.META });
|
|
const result = await deuce.chat({
|
|
messages: [{ content: "Hello, world!", role: "user" }],
|
|
});
|
|
console.log(result);
|
|
})();
|