const agent = new KuoodAgent({
model: 'gemini-1.5-pro',
tools: [searchWeb, queryDB],
memory: VectorStore.connect()
});
async function* stream(q) {
const ctx = await agent.recall(q);
yield* agent.run({ input: q });
}
console.log('✓ indexed');
const agent = new KuoodAgent({
model: 'gemini-1.5-pro',
tools: [searchWeb, queryDB],
memory: VectorStore.connect()
});
import SwiftUI
import FamilyControls
struct FlowTimer: View {
@State var elapsed = 0
@State var isActive = true
var body: some View {
VStack {
RingView(progress: ratio)
Text(formatted)
}
}
}
import SwiftUI
import FamilyControls
// RAG Pipeline
const embeddings = await embed(docs);
await store.upsert(embeddings);
const results = await store.query(q);
// Computer Vision
const invoice = await cv.parse(img);
const items = invoice.lineItems;
await db.stock.updateMany(items);
// RAG Pipeline
const embeddings = await embed(docs);
await store.upsert(embeddings);
const results = await store.query(q);
@main struct KuoodFlowApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.modelContainer(for: Session.self)
}
}
}
extension FlowTimer {
func startLiveActivity() {
Activity<FlowAttributes>.request(
attributes: attrs,
contentState: state
)
}
}
const bot = new WhatsAppBot({
webhook: process.env.META_WEBHOOK,
verify: process.env.VERIFY_TOKEN
});
bot.on('message', async (msg) => {
const intent = await classify(msg);
if (intent === 'stock_query') {
const data = await db.getStock();
await bot.reply(format(data));
}
});
const bot = new WhatsAppBot({
export default {
agent, streamResponse,
version: '2.4.1'
};
// Docker deployment
FROM node:20-alpine
WORKDIR /app
COPY . .
RUN npm ci --production
EXPOSE 3000
CMD ["node", "server.js"]
export default {
agent, streamResponse,
// LangChain RAG setup
const chain = RunnableSequence.from([
retriever,
formatDocs,
prompt,
model,
outputParser,
]);
const answer = await chain.invoke({
question: userInput
});
// LangChain RAG setup
const chain = RunnableSequence.from([
struct Session: PersistentModel {
var startedAt: Date
var duration: TimeInterval
var blockedApps: [AppToken]
var completed: Bool
}
func scheduleNotif(_ s: Session) {
let trigger = UNTimeIntervalTrigger(
timeInterval: s.duration,
repeats: false
)
}
struct Session: PersistentModel {
Kuood Labs
Donde la curiosidad
se convierte en código.
Este es nuestro patio de juegos. Construimos el software que nosotros mismos necesitamos y lo lanzamos al mundo bajo estándares de ingeniería de élite.
// skin in the game
02
en producción
03
en The Oven
100%
dogfooding