{"id":13564116,"url":"https://github.com/phospho-app/phospho","last_synced_at":"2025-04-14T06:07:08.359Z","repository":{"id":213379325,"uuid":"669183858","full_name":"phospho-app/phospho","owner":"phospho-app","description":"Text analytics for LLM apps. Cluster messages to detect use cases, outliers, power users. Detect intents and run evals with LLM (OpenAI, MistralAI, Ollama, etc.)","archived":false,"fork":false,"pushed_at":"2025-03-24T10:30:57.000Z","size":38495,"stargazers_count":429,"open_issues_count":1,"forks_count":33,"subscribers_count":4,"default_branch":"dev","last_synced_at":"2025-04-14T06:06:49.146Z","etag":null,"topics":["ai","analytics","generative-ai","llm","llmops","nextjs","nlp","ollama","python","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"https://phospho.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phospho-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-21T14:47:27.000Z","updated_at":"2025-04-13T13:52:57.000Z","dependencies_parsed_at":"2023-12-20T17:46:42.888Z","dependency_job_id":"e5b5b12a-10a3-4282-aac6-936b3dda4001","html_url":"https://github.com/phospho-app/phospho","commit_stats":{"total_commits":2743,"total_committers":10,"mean_commits":274.3,"dds":0.4123222748815166,"last_synced_commit":"c128111b53dd01bb95ec620daa6f08c0fe852ffa"},"previous_names":["phospho-app/phospho"],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phospho-app%2Fphospho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phospho-app%2Fphospho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phospho-app%2Fphospho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phospho-app%2Fphospho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phospho-app","download_url":"https://codeload.github.com/phospho-app/phospho/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830397,"owners_count":21168272,"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","analytics","generative-ai","llm","llmops","nextjs","nlp","ollama","python","self-hosted","typescript"],"created_at":"2024-08-01T13:01:26.732Z","updated_at":"2025-04-14T06:07:08.330Z","avatar_url":"https://github.com/phospho-app.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# The LLM app backoffice for busy builders\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./platform/public/image/phospho-banner.png\" alt=\"phospho logo\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/phospho\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/phospho?style=flat-square\u0026label=npm+phospho\" alt=\"phospho npm package\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.python.org/pypi/phospho\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/phospho?style=flat-square\u0026label=pypi+phospho\" alt=\"phospho Python package on PyPi\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.ycombinator.com/companies/phospho\"\u003e\u003cimg src=\"https://img.shields.io/badge/Y%20Combinator-W24-orange?style=flat-square\" alt=\"Y Combinator W24\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/phospho/\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/pypi/dm/phospho\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n🧪 **phospho** is the **backoffice for your LLM app.**\n\nDetect issues and extract insights from your users' text messages.\n\nGather feedback and measure success. Create the best conversational experience for your users.\nAnalyze logs effortlessly and finally make sense of all your data.\n\nLearn more in the [documentation](https://phospho-app.github.io/docs/welcome).\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./clustering-demo.gif\" alt=\"phospho platform\"\u003e\n\u003c/div\u003e\n\n## Demo 🧪\n\nhttps://github.com/phospho-app/phospho/assets/66426745/5422d3b5-4f78-4445-be72-ff51eba26efb\n\n## Key Features 🚀\n\n- **Clustering**: Group similar conversations and identify patterns\n- **A/B Testing**: Compare different versions of your LLM app\n- **Data Labeling**: Efficiently categorize and annotate your data\n- **User Analytics**: Gain insights into user behavior and preferences\n- **Integration**: Sync data with LangSmith/Langfuse, Argilla, PowerBI\n- **Data Visualization**: Powerful tools to understand your data\n- **Multi-user Experience**: Collaborate with your team seamlessly\n\n## Quick start: How to setup phospho SaaS?\n\nQuickly import, analyze and label data on the [phospho platform](https://phospho.ai).\n\n1. Create an [account](https://phospho.ai)\n2. Install our SDK:\n\n- Python: `pip install phospho`\n- JavaScript: `npm i phospho`\n\n3. Set environment variables ( you can find these on your phospho account )\n\n- `PHOSPHO_API_KEY`\n- `PHOSPHO_PROJECT_ID`\n\n4. Initialize phospho: `phospho.init()`\n5. Start logging to phospho with `phospho.log(input=\"question\", output=\"answer\")`\n\n[Follow this guide to get started.](https://phospho-app.github.io/docs/getting-started)\n\n**Note:**\n\n- You can also import data directly through a CSV or Excel directly on the platform\n- If you use the python version, you might want to disable auto-logging with `phospho.init(auto_log=False)`\n\n## Deploy with docker compose\n\nCreate a `.env.docker` using [this guide](./DeploymentGuide.md). Then, run:\n\n```bash\ndocker compose up\n```\n\nGo to `localhost:3000` to see the platform frontend. The backend documentation is available at `localhost:8000/v3/docs`.\n\n## Development guide\n\n### Contributing\n\nWe welcome contributions from the community. Please refer to our [contributing guidelines](./CONTRIBUTE.md) for more information.\n\n### Running locally\n\nThis project uses Python3.11+ and [NextJS](https://nextjs.org/docs).\n\nTo work on it locally,\n\n1. Make sure you have properly added `.env` files in `ai-hub`, `extractor`, `backend`, `platform`.\n2. Install the [Temporal CLI](https://temporal.io/setup/install-temporal-cli) `brew install temporal`\n3. Create a python virtual environment.\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate\n```\n\n4. Then, the quickest way to get started is to use the makefile to install and up.\n\n```bash\n# Install dependencies\nmake install\n# Launch everything\nmake up\n```\n\n5. Go to `localhost:3000` to see the platform frontend. The backend documentations are available at `localhost:8000/api/docs`, `localhost:8000/v2/docs` and `localhost:8000/v3/docs`.\n\n6. To stop everything, run:\n\n```bash\nmake stop\n```\n\n## Related projects\n\n- [AI chat bubble with Mistral](https://github.com/phospho-app/ai-chat-bubble) - custom AI assistant connected to your knowledge\n- [chatbot template streamlit OpenAI](https://github.com/phospho-app/template-chatbot-streamlit-openai)\n- [phospho Javascript client](https://github.com/phospho-app/phosphojs)\n- [phospho UI React components for user feedback](https://github.com/phospho-app/phospho-ui-react)\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE file](./LICENCE) for details\n\n## About us\n\nWe are a team of passionate AI builders, feel free to reach out [here](mailto:contact@phospho.ai?subject=Hey%20baguettes). _With love and baguettes from Paris, the phospho team 🥖💚_\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=phospho-app/phospho\u0026type=Date)](https://star-history.com/#phospho-app/phospho\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphospho-app%2Fphospho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphospho-app%2Fphospho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphospho-app%2Fphospho/lists"}