2cab53bc94
Test Vector Database Adaptors / Test MCP Vector DB Tools (push) Has been cancelled
Tests / Code Quality (Ruff & Mypy) (push) Has been cancelled
Tests / Fast Unit Tests (parallel) (macos-latest, 3.11) (push) Has been cancelled
Tests / Fast Unit Tests (parallel) (macos-latest, 3.12) (push) Has been cancelled
Tests / Tests (push) Has been cancelled
Docker Publish / Build and Push Docker Images (map[description:Skill Seekers CLI - Convert documentation to AI skills dockerfile:Dockerfile name:skill-seekers]) (push) Has been cancelled
Docker Publish / Build and Push Docker Images (map[description:Skill Seekers MCP Server - 25 tools for AI assistants dockerfile:Dockerfile.mcp name:skill-seekers-mcp]) (push) Has been cancelled
Docker Publish / Test Docker Images (push) Has been cancelled
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / Serial / Integration / E2E Tests (push) Has been cancelled
Tests / MCP Server Tests (push) Has been cancelled
Test Vector Database Adaptors / Test chroma Adaptor (push) Has been cancelled
Test Vector Database Adaptors / Test faiss Adaptor (push) Has been cancelled
Test Vector Database Adaptors / Test qdrant Adaptor (push) Has been cancelled
Test Vector Database Adaptors / Test weaviate Adaptor (push) Has been cancelled
27 lines
641 B
Python
27 lines
641 B
Python
#!/usr/bin/env python3
|
|
"""Generate skill for FAISS (same as other examples)"""
|
|
import subprocess, sys
|
|
from pathlib import Path
|
|
|
|
print("=" * 60)
|
|
print("Step 1: Generating Skill for FAISS")
|
|
print("=" * 60)
|
|
|
|
# Scrape
|
|
subprocess.run([
|
|
"skill-seekers", "scrape",
|
|
"--config", "configs/flask.json",
|
|
"--max-pages", "20"
|
|
], check=True)
|
|
|
|
# Package
|
|
subprocess.run([
|
|
"skill-seekers", "package",
|
|
"output/flask",
|
|
"--target", "faiss"
|
|
], check=True)
|
|
|
|
output = Path("output/flask-faiss.json")
|
|
print(f"\n✅ Ready: {output} ({output.stat().st_size/1024:.1f} KB)")
|
|
print("Next: python 2_build_faiss_index.py (requires OPENAI_API_KEY)")
|