Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wallpants/jaison

Convert Audio to meaningful JSON with AI.
https://github.com/wallpants/jaison

ai gpt json remix supabase

Last synced: about 1 month ago
JSON representation

Convert Audio to meaningful JSON with AI.

Awesome Lists containing this project

README

        

# Jaison

Convert Audio to meaningful JSON.

This project is a proof of concept.

## Workflow

1. Define _extractors_, which basically means specifying JSON keys
and prompts to fill those keys with.
2. Upload an audio file and choose an _extractor_.
3. Receive JSON at your webhook of choice. (not implemented)

https://github.com/wallpants/jaison/assets/47203170/59fbfe24-71ae-406f-81f7-b84de9451ec9

## Behind the Scenes

Behind the scenes, whenever an audio is uploaded, it's getting sent to the [speech-to-text
service from rev.ai](https://www.rev.ai/).

Once we get the transcription back, we generate a prompt that includes the
information the user specified in the _extractor_, the _complete transcript_,
and [_custom instructions_](/app/routes/extractor-jobs.webhook/generate-prompt.ts)
for GPT to generate the response we need in the correct format.

Once we get a response from GPT, we run some validations on it, and if validations
fail, we re-submit the prompt for a total of 5 max attempts until we get a valid
response or give up.

## [🏗️ Development](/docs/development.md)

## [🚀 Deploy](/docs/deploy.md)

## [⚙️ CI/CD](/docs/ci-cd.md)