{"id":21373296,"url":"https://github.com/duquejo/azure-geminitextgeneration-function","last_synced_at":"2026-05-06T18:33:38.482Z","repository":{"id":253474820,"uuid":"843621140","full_name":"duquejo/Azure-GeminiTextGeneration-Function","owner":"duquejo","description":"Azure function - Gemini Java POC use-case","archived":false,"fork":false,"pushed_at":"2024-08-22T14:40:47.000Z","size":178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T09:13:23.984Z","etag":null,"topics":["azure-functions","gemini-api","java","maven","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/duquejo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T23:52:08.000Z","updated_at":"2024-08-22T21:53:41.000Z","dependencies_parsed_at":"2024-11-22T08:42:04.398Z","dependency_job_id":null,"html_url":"https://github.com/duquejo/Azure-GeminiTextGeneration-Function","commit_stats":null,"previous_names":["duquejo/azure-geminitextgeneration-function"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duquejo/Azure-GeminiTextGeneration-Function","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duquejo%2FAzure-GeminiTextGeneration-Function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duquejo%2FAzure-GeminiTextGeneration-Function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duquejo%2FAzure-GeminiTextGeneration-Function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duquejo%2FAzure-GeminiTextGeneration-Function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duquejo","download_url":"https://codeload.github.com/duquejo/Azure-GeminiTextGeneration-Function/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duquejo%2FAzure-GeminiTextGeneration-Function/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272885331,"owners_count":25009618,"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-08-30T02:00:09.474Z","response_time":77,"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":["azure-functions","gemini-api","java","maven","spring-boot"],"created_at":"2024-11-22T08:27:13.874Z","updated_at":"2026-05-06T18:33:36.748Z","avatar_url":"https://github.com/duquejo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\npage_type: sample\nlanguages:\n- java\nproducts:\n- azure-functions\n- azure\ndescription: \"This repository contains sample for Azure Functions in Java\"\nurlFragment: \"azure-functions-java\"\n---\n\n# Azure Functions samples in Java\n\nThis repository contains samples which show the basis usage of [Azure Functions](https://docs.microsoft.com/en-us/azure/azure-functions/) in Java.\n\n## Contents\n\nOutline the file contents of the repository. It helps users navigate the codebase, build configuration and any related assets.\n\n| File/folder       | Description                                |\n|-------------------|--------------------------------------------|\n| `src`             | Sample source code.                        |\n| `.gitignore`      | Define what to ignore at commit time.      |\n| `build.gradle`    | The gradle configuration to this sample.   |\n| `pom.xml`         | The maven configuration to this sample.   |\n| `CHANGELOG.md`    | List of changes to the sample.             |\n| `CONTRIBUTING.md` | Guidelines for contributing to the sample. |\n| `README.md`       | This README file.                          |\n| `LICENSE.txt`         | The license for the sample.                |\n\n## Prerequisites\n\n- Gradle 4.10+\n- Latest [Function Core Tools](https://aka.ms/azfunc-install)\n- Azure CLI. This plugin use Azure CLI for authentication, please make sure you have Azure CLI installed and logged in.\n\n## Setup\n\n- ```cmd\n    az login\n    az account set -s \u003cyour subscription id\u003e\n    ```\n- Update the Application settings in Azure portal with the required parameters as below\n  - AzureWebJobsStorage: Connection string to your storage account\n  - CosmosDBDatabaseName: Cosmos database name. Example: ItemCollectionIn\n  - CosmosDBCollectionName:Cosmos database collection name. Example: ItemDb\n  - AzureWebJobsCosmosDBConnectionString: Connection string to your Cosmos database\n  - AzureWebJobsEventGridOutputBindingTopicUriString: Event Grid URI\n  - AzureWebJobsEventGridOutputBindingTopicKeyString: Event Grid string\n  - AzureWebJobsEventHubSender, AzureWebJobsEventHubSender_2 : Event hub connection string\n  - AzureWebJobsServiceBus: Service bus connection string\n  - SBQueueName: Service bus queue name. Example: test-input-java\n  - SBTopicName: Service bus topic name. Example: javaworkercitopic2\n  - SBTopicSubName: Service bus topic name. Example: javaworkercisub\n- Update `host.json` with the right extension bundle version. `V3 - [1.*, 2.0.0) and V4 - [2.*, 3.0.0)`\n\n## Running the sample\n\n```cmd\n./mvnw clean package azure-functions:run\n```\n\n```cmd\n./gradlew clean azureFunctionsRun\n```\n\n## Deploy the sample on Azure\n\n\n```cmd\n./mvnw clean package azure-functions:deploy\n```\n\n```cmd\n./gradlew clean azureFunctionsDeploy\n```\n\n\u003e NOTE: please replace '/' with '\\\\' when you are running on windows.\n\n\n## Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Telemetry\nThis project collects usage data and sends it to Microsoft to help improve our products and services.\nRead Microsoft's [privacy statement](https://privacy.microsoft.com/en-us/privacystatement) to learn more.\nIf you would like to opt out of sending telemetry data to Microsoft, you can set `allowTelemetry` to false in the plugin configuration.\nPlease read our [document](https://github.com/microsoft/azure-gradle-plugins/wiki/Configuration) to find more details about *allowTelemetry*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduquejo%2Fazure-geminitextgeneration-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduquejo%2Fazure-geminitextgeneration-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduquejo%2Fazure-geminitextgeneration-function/lists"}