{"id":13641348,"url":"https://github.com/henomis/lingoose","last_synced_at":"2025-05-15T02:08:17.028Z","repository":{"id":153394529,"uuid":"628853983","full_name":"henomis/lingoose","owner":"henomis","description":"🪿 LinGoose is a Go framework for building awesome AI/LLM applications.","archived":false,"fork":false,"pushed_at":"2025-03-20T12:30:37.000Z","size":1364,"stargazers_count":757,"open_issues_count":13,"forks_count":68,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-14T02:59:18.225Z","etag":null,"topics":["ai","chatgpt","embeddings","go","golang","index","llm","openai","pinecone","pipeline","prompt","vector"],"latest_commit_sha":null,"homepage":"https://lingoose.io","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/henomis.png","metadata":{"files":{"readme":"README.md","changelog":"history/history.go","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-04-17T05:51:56.000Z","updated_at":"2025-04-13T20:28:30.000Z","dependencies_parsed_at":"2023-10-15T15:06:24.015Z","dependency_job_id":"cf9419df-8cea-4b94-a38a-0eb11b2edf67","html_url":"https://github.com/henomis/lingoose","commit_stats":{"total_commits":191,"total_committers":4,"mean_commits":47.75,"dds":"0.015706806282722474","last_synced_commit":"4201d143fecbaa58599b3d8dfdef6d6ef933beac"},"previous_names":["henomis/lingopipes"],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Flingoose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Flingoose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Flingoose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Flingoose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henomis","download_url":"https://codeload.github.com/henomis/lingoose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259384,"owners_count":22040820,"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","chatgpt","embeddings","go","golang","index","llm","openai","pinecone","pipeline","prompt","vector"],"created_at":"2024-08-02T01:01:20.012Z","updated_at":"2025-05-15T02:08:12.002Z","avatar_url":"https://github.com/henomis.png","language":"Go","readme":"![lingoose](docs/static/lingoose-small.png)\n\n\n# 🪿 LinGoose [![Build Status](https://github.com/henomis/lingoose/actions/workflows/checks.yml/badge.svg)](https://github.com/henomis/lingoose/actions/workflows/checks.yml) [![GoDoc](https://godoc.org/github.com/henomis/lingoose?status.svg)](https://godoc.org/github.com/henomis/lingoose) [![Go Report Card](https://goreportcard.com/badge/github.com/henomis/lingoose)](https://goreportcard.com/report/github.com/henomis/lingoose) [![GitHub release](https://img.shields.io/github/release/henomis/lingoose.svg)](https://github.com/henomis/lingoose/releases)\n\n\n## What is LinGoose?\n\n[LinGoose](https://github.com/henomis/lingoose) is a Go framework for building awesome AI/LLM applications.\u003cbr/\u003e\n\n- **LinGoose is modular** — You can import only the modules you need to build your application.\n- **LinGoose is an abstraction of features** — You can choose your preferred implementation of a feature and/or create your own.\n- **LinGoose is a complete solution** — You can use LinGoose to build your AI/LLM application from the ground up.\n\n\u003e **Did you know?** A goose 🪿 fills its car 🚗 with goose-line ⛽!\n\n🚀 Support the project by starring ⭐ the repository on [GitHub](https://github.com/henomis/lingoose) and sharing it with your friends!\n\n## Quick start\n1. [Initialise a new go module](https://golang.org/doc/tutorial/create-module)\n\n```sh\nmkdir example\ncd example\ngo mod init example\n```\n\n2. Create your first LinGoose application\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/henomis/lingoose/llm/openai\"\n\t\"github.com/henomis/lingoose/thread\"\n)\n\nfunc main() {\n\tmyThread := thread.New().AddMessage(\n\t\tthread.NewUserMessage().AddContent(\n\t\t\tthread.NewTextContent(\"Tell me a joke about geese\"),\n\t\t),\n\t)\n\n\terr := openai.New().Generate(context.Background(), myThread)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(myThread)\n}\n```\n\n3. Install the Go dependencies\n```sh\ngo mod tidy\n```\n\n4. Start the example application\n\n```sh\nexport OPENAI_API_KEY=your-api-key\n\ngo run .\n\nA goose fills its car with goose-line!\n```\n\n## Reporting Issues\n\nIf you think you've found a bug, or something isn't behaving the way you think it should, please raise an [issue](https://github.com/henomis/lingoose/issues) on GitHub.\n\n\n## Contributing\n\nWe welcome contributions, Read our [Contribution Guidelines](https://github.com/henomis/lingoose/blob/main/CONTRIBUTING.md) to learn more about contributing to **LinGoose**\n\n## Blog posts and articles\n- [Anthropic's Claude Integration with Go and Lingoose](https://simonevellei.com/blog/posts/anthropic-claude-integration-with-go-and-lingoose/)\n- [Empowering Go: unveiling the synergy of AI and Q\u0026A pipelines](https://simonevellei.com/blog/posts/empowering-go-unveiling-the-synergy-of-ai-and-qa-pipelines/)\n- [Leveraging Go and Redis for Efficient Retrieval Augmented Generation](https://simonevellei.com/blog/posts/leveraging-go-and-redis-for-efficient-retrieval-augmented-generation/)\n\n## Connect with the author\n\n[![Twitter](https://img.shields.io/twitter/follow/simonevellei?label=Follow:%20Simone%20Vellei\u0026style=social)](https://twitter.com/simonevellei) [![GitHub](https://img.shields.io/badge/Follow-henomis-green?logo=github\u0026link=https%3A%2F%2Fgithub.com%2Fhenomis)](https://github.com/henomis) [![Linkedin](https://img.shields.io/badge/Connect-Simone%20Vellei-blue?logo=linkedin\u0026link=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fsimonevellei%2F)](https://www.linkedin.com/in/simonevellei/)\n\n### Join the community\n\n[![Discord](https://img.shields.io/badge/Discord-lingoose-blue?logo=discord\u0026link=https%3A%2F%2Fdiscord.gg%2FmcKEQTKqGS)](https://discord.gg/mcKEQTKqGS)\n\n\n## License\n\n© Simone Vellei, 2023~`time.Now()`\nReleased under the [MIT License](LICENSE)","funding_links":[],"categories":["Go","Prompts"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenomis%2Flingoose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenomis%2Flingoose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenomis%2Flingoose/lists"}