Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Write a deepgramTranscribeAudio() Function using Swift #4492

Open
4 tasks
christyjacob4 opened this issue Oct 14, 2022 · 15 comments · May be fixed by open-runtimes/examples#179
Open
4 tasks

⚡ Write a deepgramTranscribeAudio() Function using Swift #4492

christyjacob4 opened this issue Oct 14, 2022 · 15 comments · May be fixed by open-runtimes/examples#179
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@christyjacob4
Copy link
Member

💭 Introduction

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code 🤩 You can learn more in our official Appwrite Functions docs.

The backbone of Appwrite Functions is Open Runtimes, an environment for serverless cloud computing. Since all Open Runtime functions are valid Appwrite functions, we are looking for contributors to extend the Open Runtimes Examples repository.

Your task is to implement deepgramTranscribeAudio() function using Swift. Please make sure to look at existing function examples and use them as a template for your function. This will help you keep the proper structure as well as provide information on how to test the function.

⚡ Function Details

Transcribe an audio into written text. If necessary, introduce Deepgram API secret keys as function variables. The payload must accept a WAV file URL, and the response from Deepgramm should be returned.

Example function payload:

{"fileUrl":"https://static.deepgram.com/examples/interview_speech-analytics.wav"}

Successful function response:

{"success":true,"deepgramData":{}}

Error function response:

{"success":false,"message":"Please provide a valid file URL."}

🎯 Requirements

  • Experience with Appwrite.
  • Experience with Swift.
  • Knowledge to implement deepgramTranscribeAudio function.
  • Experience with Docker.

✅ Task Summary

  • Ask to be assigned to the issue.
  • Implement function deepgramTranscribeAudio() in Swift/ folder.
  • Manually execute the newly implemented function to ensure it works.
  • Submit a pull request in open-runtimes/examples and include screenshots of successful execution.

If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

Happy Appwriting!

@christyjacob4 christyjacob4 added feature product / functions Fixes and upgrades for the Appwrite Functions. good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! labels Oct 14, 2022
@caramelmelmel
Copy link

@christyjacob4 Can I also take on this issue if it's possible?

@tessamero
Copy link

@caramelmelmel , thanks for your interest! You may work on this issue 🙏 Happy hacking! 🎃

@stnguyen90
Copy link
Contributor

Unassigning @caramelmelmel due to inactivity.

@stnguyen90 stnguyen90 removed the hacktoberfest Issues that can win you some cool swags! label Nov 7, 2022
@sajdakabir
Copy link

@stnguyen90 can you please assign it to me?

@stnguyen90
Copy link
Contributor

@sajdakabir assigned! Thanks for your interest! 🙏

@stnguyen90
Copy link
Contributor

@sajdakabir how's your progress on this? If there's no response, I'll have to unassign you so that someone else can pick this up.

@sajdakabir
Copy link

You can unassign me. I have assigned two tasks .I am working on the other one . Thank you.

@stnguyen90
Copy link
Contributor

@asmitrai, would you like to work on this and submit a PR?

@stnguyen90 stnguyen90 self-assigned this Mar 20, 2023
@darkcheftar
Copy link

Hey, @stnguyen90 Can I work on this?

@stnguyen90 stnguyen90 assigned darkcheftar and unassigned stnguyen90 Aug 2, 2023
@stnguyen90
Copy link
Contributor

@darkcheftar, assigned! Thanks for your interest! 🙏🏼 If you cannot work on this, please let me know so I can unassign you.

@darkcheftar
Copy link

Hey, I wanted to approach this the following way
Step 1: Make a basic Proof of Concept of swift function
Step 2: Modify the previous function to take necessary variables and payload
Step 3: Modify the above to make a post request to deepgram

@darkcheftar
Copy link

darkcheftar commented Aug 15, 2023

@stnguyen90
I tried to complete Step 1
Where I installed Appwrite on my Ubuntu 22.04, using docker
Created a sample project
Created a sample function using appwrite init function
deployed it appwrite deploy function
I have not changed anything from the default function made by appwrite-cli
Still Its not building Could someone please help me get this working
image
Edit: I think there is already an Issue regarding it #5865

@darkcheftar
Copy link

Figured Out How to do Step 1 without directly using appwrite-cli

@eldadfux
Copy link
Member

Thank you everyone for celebrating Hacktoberfest 22 with us! This issue will now be closed as we're getting ready to celebrate Hacktoberfest 23.

@darkcheftar
Copy link

Hey, I'm working on this!
Will this be reopened?

@stnguyen90 stnguyen90 added enhancement New feature or request and removed feature labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants
@eldadfux @stnguyen90 @tessamero @christyjacob4 @darkcheftar @caramelmelmel @sajdakabir and others