Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/5. Integrations/Bhashini Integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,13 @@ Please note: In order to get the voice notes as outputs, the Glific instance mus
Apart from Bhashini, the OpenAI speech engine can also be used to generate text-to-speech (TTS) responses. Since we are also experimenting with Bhashini, the response quality may sometimes be inconsistent or unreliable in a few languages.This is another alternative, users can try both options to see which gives better results for their audience and language preferences.

### How to configure:
- In the `Function Body`, set the speech engine to `open-ai`.
- Keep the remaining steps the same as those mentioned in the Speech-to-Text section above.
- In the `Function Body`, set the speech engine to `open_ai`.

Please note that, currently this alternative is supported only when both **the source and target language are the same**.

- Keep the remaining steps the same as those mentioned in the Text-to-Speech section above.

<img width="590" height="412" alt="Screenshot 2025-09-25 at 1 00 36 AM" src="https://github.com/user-attachments/assets/1111db5f-137d-4825-8ca9-d3e6a00fe53f" />
<img width="624" height="433" alt="Screenshot 2025-12-31 at 4 42 02 PM" src="https://github.com/user-attachments/assets/61d2884a-4dc4-4e36-bbe6-f8aa895a0cc1" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# Check screenshot URL accessibility
curl -sI https://github.com/user-attachments/assets/61d2884a-4dc4-4e36-bbe6-f8aa895a0cc1 | head -1

# Also check the file to see surrounding context
if [ -f "docs/5. Integrations/Bhashini Integrations.md" ]; then
  echo "=== File context around line 145 ==="
  sed -n '130,150p' "docs/5. Integrations/Bhashini Integrations.md"
fi

Repository: glific/docs

Length of output: 1167


Screenshot URL returns a redirect instead of direct content.

The screenshot URL (https://github.com/user-attachments/assets/61d2884a-4dc4-4e36-bbe6-f8aa895a0cc1) returns an HTTP 302 redirect rather than a 200 status. While the image may still load in browsers, consider linking directly to the image file or using a direct CDN URL for better reliability in documentation.

Additionally, the screenshot placement supports the general configuration instruction to set the speech engine to open_ai, but there is no evidence of a specific syntax correction being demonstrated at the referenced lines.

🤖 Prompt for AI Agents
In docs/5. Integrations/Bhashini Integrations.md around line 145, the embedded
screenshot uses a GitHub user-attachments URL that responds with a 302 redirect;
replace the image reference with a direct image/CDN URL (or commit the image to
the repo and reference it via raw.githubusercontent.com) so the link returns 200
and is reliably rendered, and add a short inline note or code snippet at the
same location showing the exact syntax to set the speech engine to "open_ai" to
make the configuration correction explicit.


---

Expand Down