initial commit: slides + practica_resueltos + README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
# Más proveedores de Embeddings
|
||||
|
||||
<v-clicks>
|
||||
|
||||
### Mistral AI
|
||||
```typescript
|
||||
import { MistralAIEmbeddings } from "@langchain/mistralai";
|
||||
|
||||
const embeddings = new MistralAIEmbeddings({
|
||||
model: "mistral-embed",
|
||||
});
|
||||
```
|
||||
|
||||
### Cohere
|
||||
```typescript
|
||||
import { CohereEmbeddings } from "@langchain/cohere";
|
||||
|
||||
const embeddings = new CohereEmbeddings({
|
||||
model: "embed-multilingual-v3.0",
|
||||
});
|
||||
```
|
||||
|
||||
### Ollama (local)
|
||||
```typescript
|
||||
import { OllamaEmbeddings } from "@langchain/ollama";
|
||||
|
||||
const embeddings = new OllamaEmbeddings({
|
||||
model: "llama3.2", // o cualquier modelo compatible
|
||||
});
|
||||
```
|
||||
|
||||
</v-clicks>
|
||||
Reference in New Issue
Block a user