{"id":26641181,"url":"https://github.com/shaharia-lab/goai","last_synced_at":"2025-04-10T20:45:16.770Z","repository":{"id":272159201,"uuid":"915690491","full_name":"shaharia-lab/goai","owner":"shaharia-lab","description":"AI SDK for building AI-powered applications in Go","archived":false,"fork":false,"pushed_at":"2025-04-02T20:15:03.000Z","size":189,"stargazers_count":6,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-02T21:24:47.688Z","etag":null,"topics":["ai","ai-sdk","generative-ai","goai","library","llm","mcp","model-context-protocol","open-source","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaharia-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["shaharia-lab"]}},"created_at":"2025-01-12T14:52:26.000Z","updated_at":"2025-04-02T05:56:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7dda2b5-0afe-442f-b82f-faa8c958980c","html_url":"https://github.com/shaharia-lab/goai","commit_stats":null,"previous_names":["shaharia-lab/goai"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharia-lab%2Fgoai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharia-lab%2Fgoai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharia-lab%2Fgoai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharia-lab%2Fgoai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaharia-lab","download_url":"https://codeload.github.com/shaharia-lab/goai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248294698,"owners_count":21079951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","ai-sdk","generative-ai","goai","library","llm","mcp","model-context-protocol","open-source","sdk"],"created_at":"2025-03-24T18:20:09.924Z","updated_at":"2025-04-10T20:45:16.749Z","avatar_url":"https://github.com/shaharia-lab.png","language":"Go","funding_links":["https://github.com/sponsors/shaharia-lab"],"categories":[],"sub_categories":[],"readme":"# 🚀 GoAI\n\n![AI Package Banner](docs/banner_image.png)\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/shaharia-lab/goai.svg)](https://pkg.go.dev/github.com/shaharia-lab/goai)\n[![CI Status](https://github.com/shaharia-lab/goai/actions/workflows/CI.yaml/badge.svg)](https://github.com/shaharia-lab/goai/actions/workflows/CI.yaml)\n[![Go Report Card](https://goreportcard.com/badge/shaharia-lab/goai)](https://goreportcard.com/report/shaharia-lab/goai)\n[![codecov](https://codecov.io/gh/shaharia-lab/goai/branch/main/graph/badge.svg)](https://codecov.io/gh/shaharia-lab/goai)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=shaharia-lab_goai\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=shaharia-lab_goai)\n\nGoAI is a powerful Go library that seamlessly integrates multiple LLM providers, vector embeddings,\nand vector storage capabilities. Built for developers who want a clean, unified interface for AI operations.\n\n## ✨ Features\n\n🤖 **Multiple LLM Providers**\n\n- OpenAI\n- Anthropic Claude\n- AWS Bedrock\n\n📊 **Vector Operations**\n\n- Efficient embeddings generation\n- PostgreSQL vector storage\n- Similarity search\n\n🛠 **Developer Experience**\n\n- Consistent interfaces\n- Streaming support\n- Type-safe operations\n\n## 🚀 Quick Start\n\n### 📦 Installation\n\n```bash\ngo get github.com/shaharia-lab/goai\n```\n\n### Example\n\n```go\npackage main\n\nimport (\n   \"github.com/shaharia-lab/goai\"\n   \"log\"\n   \"os\"\n)\n\nfunc main() {\n    // Initialize LLM\n    client := goai.NewAnthropicClient(os.Getenv(\"ANTHROPIC_API_KEY\"))\n    provider := goai.NewAnthropicLLMProvider(goai.AnthropicProviderConfig{\n        Client: client,\n    })\n\n    // Configure request\n    llm := goai.NewLLMRequest(goai.NewRequestConfig(\n        goai.WithMaxToken(200),\n        goai.WithTemperature(0.7),\n    ), provider)\n\n    // Generate response\n    response, err := llm.Generate([]goai.LLMMessage{\n        {Role: goai.UserRole, Text: \"Explain quantum computing\"},\n    })\n\n    if err != nil {\n        panic(err)\n    }\n    \n    log.Println(response)\n}\n```\n\n## 📚 Documentation\n\nVisit our [documentation](docs/index.md) for detailed guides on:\n\n- [Getting Started](docs/index)\n- [LLM Integration](docs/llm.md)\n- [Embedding Generation](docs/embeddings.md)\n- [Vector Operations](docs/vector-store/index.md)\n- [MCP (Model Context Protocol) Server in Go](docs/mcp.md)\n- [API Reference](https://pkg.go.dev/github.com/shaharia-lab/goai)\n\n## 🤝 Contributing\n\nWe welcome contributions! See our [Contributing Guide](CONTRIBUTING.md) for details.\n\n## 🔒 Security\n\nReview our [Security Policy](docs/SECURITY.md) for reporting vulnerabilities.\n\n## 📝 License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n---\nBuilt with ❤️ by [Shaharia Lab](https://github.com/shaharia-lab) and\n[Contributors](https://github.com/shaharia-lab/goai/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaharia-lab%2Fgoai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaharia-lab%2Fgoai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaharia-lab%2Fgoai/lists"}