Skip to content
Snippets Groups Projects
Unverified Commit 3d860df8 authored by Emanuel Ferreira's avatar Emanuel Ferreira Committed by GitHub
Browse files

chore: update example (#463)

parent 2fe3a2b6
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@ import {
} from "llamaindex";
async function main() {
const openAILLM = new OpenAI({ model: "gpt-3.5-turbo" });
const pipeline = new IngestionPipeline({
transformations: [
new TitleExtractor(openAILLM),
new QuestionsAnsweredExtractor(openAILLM),
new TitleExtractor(),
new QuestionsAnsweredExtractor({
questions: 5,
}),
],
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment