{"id":25317350,"url":"https://github.com/xebia-functional/xef","last_synced_at":"2025-10-06T22:07:58.624Z","repository":{"id":171666847,"uuid":"629411216","full_name":"xebia-functional/xef","owner":"xebia-functional","description":"Building applications with LLMs through composability, in Kotlin","archived":false,"fork":false,"pushed_at":"2024-10-14T08:52:02.000Z","size":16132,"stargazers_count":190,"open_issues_count":52,"forks_count":14,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-08-12T09:31:38.543Z","etag":null,"topics":["agents","ai","artificial-intelligence","chatgpt-api","embeddings","functional-programming","kotlin","llm","multiplatform","openai","scala","tokenizers"],"latest_commit_sha":null,"homepage":"https://xef.ai","language":"Kotlin","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/xebia-functional.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}},"created_at":"2023-04-18T09:00:36.000Z","updated_at":"2025-07-27T08:54:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0833bf7-ba54-415d-885b-bcf17a6531dc","html_url":"https://github.com/xebia-functional/xef","commit_stats":null,"previous_names":["xebia-functional/xef"],"tags_count":403,"template":false,"template_full_name":null,"purl":"pkg:github/xebia-functional/xef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xebia-functional%2Fxef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xebia-functional%2Fxef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xebia-functional%2Fxef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xebia-functional%2Fxef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xebia-functional","download_url":"https://codeload.github.com/xebia-functional/xef/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xebia-functional%2Fxef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686709,"owners_count":26028337,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["agents","ai","artificial-intelligence","chatgpt-api","embeddings","functional-programming","kotlin","llm","multiplatform","openai","scala","tokenizers"],"created_at":"2025-02-13T19:37:25.109Z","updated_at":"2025-10-06T22:07:58.582Z","avatar_url":"https://github.com/xebia-functional.png","language":"Kotlin","funding_links":[],"categories":["人工智能"],"sub_categories":[],"readme":"# xef.ai [![Maven Central](https://img.shields.io/maven-central/v/com.xebia/xef-core?color=4caf50\u0026label=latest%20release)](https://central.sonatype.com/artifact/com.xebia/xef-core)\n\n\u003e Bring modern AI everywhere!\n\nxef is the one-stop library to bring the power of modern AI to your application or service,\nin the form of LLM (Large Language Models), image generation, and many others.\nOur goal is to make the move to this new world as simple as possible for the developer.\nxef.ai is packaged in two layers:\n1. Core libraries bringing integration with the basic services in an AI application. \n   These libraries expose an _idiomatic_ interface, so there's one per programming language.\n   At this moment we support Kotlin.\n2. Integrations with other libraries which complement the core mission of xef.ai.\n\nxef.ai draws inspiration from libraries like [LangChain](https://docs.langchain.com/docs/)\nand community projects like [Hugging Face](https://huggingface.co/).\n\n\u003c!-- TOC --\u003e\n* [⚠️ Data Transmission Disclosure](#-data-transmission-disclosure)\n* [🛎️ Getting the Libraries](#-getting-the-libraries)\n* [📖 Quick Introduction](#-quick-introduction)\n* [🚀 Examples](#-examples)\n\u003c!-- TOC --\u003e\n\n## ⚠️ Data Transmission Disclosure\n\nWhile this library is licensed under the Apache License, it's crucial\nto inform our users about specific data transmission behaviors associated\nwith using this software.\n\nThis library may transmit source code and potentially user input data to\nthird-party services as part of its functionality. We understand the paramount\nimportance of data security and privacy, so we want to be upfront about these mechanisms.\n\n**Developers integrating this library into their applications should be aware\nof this behavior and take necessary precautions to ensure that sensitive data\nis not inadvertently transmitted.**\n\nWe strongly recommend reviewing the third-party services' privacy policies\nbefore using this library, as their data handling practices may not align with\nyour expectations or requirements.\n\nYou acknowledge and agree to these data transmission behaviors by using this\nlibrary. Please consider this when planning your data management and privacy\nstrategies.\n\n## 🛎️ Getting the Libraries\n\nLibraries are published in Maven Central, under the `com.xebia` group.\n\n1. `xef-core` is the core library.\n2. The name of a library we provide integration for, like `xef-lucene`.\n\nYou may need to add that repository explicitly in your build, if you haven't done it before.\n\n```groovy\nrepositories { mavenCentral() }\n```\n\nThen add the libraries in the usual way.\n\n```groovy\n// In Gradle Kotlin \ndependencies {\n  implementation(\"com.xebia:xef-core:\u003cversion\u003e\")\n}\n```\n\nWe publish all libraries at once under the same version, so\n[version catalogs](https://docs.gradle.org/current/userguide/platforms.html#sec:sharing-catalogs)\ncould be useful.\n\n## 📖 Quick Introduction\n\nIn [this](https://xef.ai/learn/quickstart/) small introduction we look at the main features of xef.\n\n## 🚀 Examples\n\nYou can also have a look at the [examples](https://github.com/xebia-functional/xef/tree/main/examples/src/main/kotlin/com/xebia/functional/xef/conversation) to have a feeling of how using the library looks like.\n\n## 🚧 Local Development\n\nTo build the project locally, you can use the following commands:\n\n```shell\n./gradlew downloadOpenAIAPI\n./gradlew openaiClientGenerate\n./gradlew build\n```\n\nThe server and postgres tests may fail if you don't have [Docker](https://www.docker.com/) installed. \nThe server and postgres related tests depend on [Testcontainers](https://testcontainers.com/), which in turn depends on Docker.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxebia-functional%2Fxef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxebia-functional%2Fxef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxebia-functional%2Fxef/lists"}