initial commit: slides ready + upgraded
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
# LlamaIndex.TS
|
||||
|
||||
El "hermano pequeño" de LlamaIndex (Python)
|
||||
|
||||
<v-clicks>
|
||||
|
||||
### Realidad del ecosistema TS
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
|
||||
**Lo bueno**
|
||||
- Especializado en RAG
|
||||
- API similar a la versión Python
|
||||
- Conectores de datos incluidos
|
||||
- Activamente desarrollado
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
**La realidad**
|
||||
- Mejorando rápido (agentes, LiteParse)
|
||||
- Documentación aún por detrás de Python
|
||||
- Comunidad más pequeña
|
||||
- Features llegan después
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
### Ejemplo básico
|
||||
|
||||
```typescript
|
||||
import { Document, VectorStoreIndex } from "llamaindex";
|
||||
|
||||
const doc = new Document({ text: "Contenido..." });
|
||||
const index = await VectorStoreIndex.fromDocuments([doc]);
|
||||
const response = await index.asQueryEngine().query({ query: "Mi pregunta" });
|
||||
```
|
||||
|
||||
<div class="p-3 bg-yellow-500/10 rounded text-sm">
|
||||
⚠️ Ha mejorado mucho, pero si tu proyecto permite Python, LlamaIndex Python sigue siendo más completo.
|
||||
</div>
|
||||
|
||||
</v-clicks>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user