diff --git a/extensions/firestore-huggingface-inference-api/CHANGELOG.md b/extensions/firestore-huggingface-inference-api/CHANGELOG.md index 0c0af36..95a5469 100644 --- a/extensions/firestore-huggingface-inference-api/CHANGELOG.md +++ b/extensions/firestore-huggingface-inference-api/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 0.0.2 + +Remove `LOCATION` param from extension.yaml. + ## Version 0.0.1 Initial release of the **Trigger Hugging Face inference API from Firestore** extension. diff --git a/extensions/firestore-huggingface-inference-api/extension.yaml b/extensions/firestore-huggingface-inference-api/extension.yaml index ccd5b4c..8af37ec 100644 --- a/extensions/firestore-huggingface-inference-api/extension.yaml +++ b/extensions/firestore-huggingface-inference-api/extension.yaml @@ -1,5 +1,5 @@ name: firestore-huggingface-inference-api -version: 0.0.1 +version: 0.0.2 specVersion: v1beta icon: icon.png @@ -41,7 +41,6 @@ resources: Firestore onCreate-triggered function that run an inference on ${param:MODEL_ID} when a new document is created in the collection ${param:COLLECTION_PATH} properties: - location: ${param:LOCATION} runtime: 'nodejs18' eventTrigger: eventType: providers/cloud.firestore/eventTypes/document.write @@ -128,54 +127,3 @@ params: If you want to use a custom model hosted on your own server, you can specify the endpoint here. type: string - - - param: LOCATION - label: Cloud Functions location - description: >- - Where do you want to deploy the functions created for this extension? For - help selecting a location, refer to the [location selection - guide](https://firebase.google.com/docs/functions/locations). - type: select - options: - - label: Iowa (us-central1) - value: us-central1 - - label: South Carolina (us-east1) - value: us-east1 - - label: Northern Virginia (us-east4) - value: us-east4 - - label: Los Angeles (us-west2) - value: us-west2 - - label: Salt Lake City (us-west3) - value: us-west3 - - label: Las Vegas (us-west4) - value: us-west4 - - label: Warsaw (europe-central2) - value: europe-central2 - - label: Belgium (europe-west1) - value: europe-west1 - - label: London (europe-west2) - value: europe-west2 - - label: Frankfurt (europe-west3) - value: europe-west3 - - label: Zurich (europe-west6) - value: europe-west6 - - label: Hong Kong (asia-east2) - value: asia-east2 - - label: Tokyo (asia-northeast1) - value: asia-northeast1 - - label: Osaka (asia-northeast2) - value: asia-northeast2 - - label: Seoul (asia-northeast3) - value: asia-northeast3 - - label: Mumbai (asia-south1) - value: asia-south1 - - label: Jakarta (asia-southeast2) - value: asia-southeast2 - - label: Montreal (northamerica-northeast1) - value: northamerica-northeast1 - - label: Sao Paulo (southamerica-east1) - value: southamerica-east1 - - label: Sydney (australia-southeast1) - value: australia-southeast1 - required: true - immutable: true