{"id":50511095,"url":"https://github.com/rikdc/semantic-search-experiments","last_synced_at":"2026-06-02T20:30:54.929Z","repository":{"id":350009129,"uuid":"1177919130","full_name":"rikdc/semantic-search-experiments","owner":"rikdc","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-08T13:08:49.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-08T15:06:44.933Z","etag":null,"topics":["ai","embeddings","machine-learning","tutorial","vector-search"],"latest_commit_sha":null,"homepage":"https://claydon.co/series/its-just-vectors/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rikdc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-10T14:02:29.000Z","updated_at":"2026-04-08T13:09:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rikdc/semantic-search-experiments","commit_stats":null,"previous_names":["rikdc/semantic-search-experiments"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rikdc/semantic-search-experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikdc%2Fsemantic-search-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikdc%2Fsemantic-search-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikdc%2Fsemantic-search-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikdc%2Fsemantic-search-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rikdc","download_url":"https://codeload.github.com/rikdc/semantic-search-experiments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikdc%2Fsemantic-search-experiments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33835765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","embeddings","machine-learning","tutorial","vector-search"],"created_at":"2026-06-02T20:30:54.241Z","updated_at":"2026-06-02T20:30:54.923Z","avatar_url":"https://github.com/rikdc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Semantic Search Experiments\n\nCompanion code for the [It's Just Vectors](https://claydon.co/series/its-just-vectors/) article series. Six parts working through the mechanics of embeddings by building real Go tools — vector math, anomaly detection, semantic search, clustering, and more.\n\nEach part has a `start/` directory with stubbed-out functions and a `complete/` directory with the full implementation. Walkthroughs guide you through the exercises; unit tests let you verify your work before wiring anything to an API.\n\n## Structure\n\n```text\ntutorial/\n├── shared/              # Shared embedder package (OpenAI + Ollama clients)\n├── part1/               # Vectors, cosine similarity, centroids, embed analyze\n│   ├── start/           # Stubbed — implement the TODOs\n│   ├── complete/        # Reference solution\n│   ├── walkthrough.md   # Step-by-step guide\n│   └── questions.md     # Checkpoint questions\n├── part2/               # Anomaly detection with z-scores (coming soon)\n├── part3/               # (coming soon)\n├── part4/               # (coming soon)\n├── part5/               # (coming soon)\n└── part6/               # (coming soon)\n```\n\n## Getting started\n\n```bash\ncd tutorial/part1/start/\ngo mod tidy\ngo build -o embed .\n```\n\nSet up an embedding provider:\n\n```bash\n# OpenAI\nexport OPENAI_API_KEY=\"sk-your-key-here\"\n./embed analyze --provider openai --model text-embedding-3-small\n\n# Or Ollama (local, free)\nollama pull qwen2.5:latest\nexport OLLAMA_HOST=\"http://localhost:11434\"\n./embed analyze --provider ollama --model qwen2.5:latest\n```\n\n## Prerequisites\n\n- Go 1.24+\n- An OpenAI API key, or [Ollama](https://ollama.ai) installed locally\n\n## License\n\nThis work is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/). See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikdc%2Fsemantic-search-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frikdc%2Fsemantic-search-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikdc%2Fsemantic-search-experiments/lists"}