▲ | jc4p 4 days ago | ||||||||||||||||||||||
Hi! I have a WIP of this over at https://talktrainer.app/ -- I just added Dutch to it. It uses OpenAI's realtime API to simulate either a tutoring session (the speaker will revert to English to help you) or a first date or business meeting (the speaker will always speak the target language) You can see the AI's transcriptions but not your own, limitation of the current OpenAI API but definitely something I can fix. The prompts are like this: https://gist.github.com/jc4p/d8b9d121425ec191d62602d8720eeed... and the rest of it is a Nextjs app wrapped around the WebRTC connection. I'm not fully in love with the app so I'd love any feedback or hearing if it works well for you -- It doesn't have a lot of features yet (including saving context) and if you bump into the time limit just open it up in incognito to keep going. | |||||||||||||||||||||||
▲ | internet_points 4 days ago | parent | next [-] | ||||||||||||||||||||||
This is great! Maybe some more tourist-related scenarios, like "ordering at restaurant", "resolving dispute about rental car crash" etc? :-) The "next level" feature would be to get it to speak even simpler, with some hints about how to reply, for the beginners. I don't know how that would ideally look, but maybe a button to pop up some "key words" or phrases that one could use? (Even so, I found myself using the little I know, so it's obviously somehow working even though my knowledge is extremely basic.) This is one of the places where I feel LLM's can do something good for the world, giving a safe playground for getting experience with speaking new languages without the anxiety of performing badly in front of other people – and hopefully make it easier to connect with real people in that language later. | |||||||||||||||||||||||
▲ | rowborg 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
This is really impressive! Great job. One small piece of feedback… There were a couple times where I asked to learn something, and it asked me to repeat a phrase back, which was great. But when I repeated it back, I know I didn’t quite nail it (eg perhaps said “un” instead of “una”) and rather than correcting me, it actually told me I did it perfectly. Maybe there’s some tuning with the prompts that may help turn down the natural sycophancy of the model and make sure it’s a little more strict. Keep up the great work! | |||||||||||||||||||||||
▲ | sampleuser58 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
One modification I would suggest is to add a bit more to the initial prompt like: "write as if you are a person from {{REGION}}. Modify your language to proficiency level {{PROFICIENCY_LEVEL}}" that way I could for example, speak as if it's someone using Mexican Spanish vs Madrid Spanish vs Chilean Spanish, etc. Secondly, you could include the user's speech transcribed as part of the conversation window | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | d--b 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Bit of feedback: I've learned Japanese a while back but haven't practised in a long time. 1. it would be awesome if this could transcript what I just said in japanese to be sure that it got me 2. I don't know kanjis that well, so reading is hard, having a button to have the AI repeat the sentence would be quite useful. Other than that, I could definitely use something like that for practice | |||||||||||||||||||||||
▲ | jeffwass 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Did you just add Dutch as per the submitter’s request or was it part of your plan prior? Curious because I’m trying to learn Romanian, and since it’s a less common language there are fewer resources available. So I wasn’t sure if you added Dutch with minimal amount of effort following the poster’s request. That said, I gave your app a try with Spanish and it looks pretty good! But I didn’t see a Help page to clarify how I’m “supposed” to interact. Eg I tried saying in English “I don’t understand” (even though I know how to say that in Spanish) and it responded in Spanish which may be hard for absolute beginners. Although full immersion is much better way to learn. I can try playing around more with it to give you some feedback. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | gield 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
I'm a native Dutch speaker and tried this out for a bit. It works impressively well although it might be challenging for complete beginners. Maybe you can add an option for the trainer to use more simple language for beginners? I tried practicing some verb conjugations. The trainer displayed some fill-in-the-blank sentences like "she ... home after class", asking me to conjugate "to walk" in that sentence. However, the audio actually pronounced the full sentence "she walks home after class", giving away the answer. | |||||||||||||||||||||||
▲ | sampleuser58 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Just tried this for Spanish and it works incredibly well. I have been hacking on something similar for translation (it's really quite easy too, just a few prompts), but I was using Google Translate's interface for vocalizing! This is seriously good stuff, really nice work putting it together. I will probably use something like this for language practice. | |||||||||||||||||||||||
▲ | ciaovietnam 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
I just tried it and it works perfectly. The color scheme and font size could be touched up to look better. Just out of curiosity, is $10/month enough to cover the (unlimited) API cost? Do you estimate how many percentage of your users will use more than $10 API fee each month? | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | fhatfield 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Please add Mandarin Chinese! :) would love to try this | |||||||||||||||||||||||
▲ | valleyer 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
This is great! Well done. I've used the realtime API for something similar (also related to practicing speaking, though not for foreign languages). I just wanted to comment that the realtime API will definitely give you the user's transcriptions -- they come back as an `server.conversation.item.input_audio_transcription.completed` event. I use it in my app for exactly that purpose. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | altern8 4 days ago | parent | prev [-] | ||||||||||||||||||||||
[dead] |