Haruko386
3f02ca7ba1
Go: implement embed, rerank, tts for AstraFlow (#15135)
### What problem does this PR solve?
implement embed, rerank, tts for AstraFlow
**Verify from CLI**
```
# Astraflow
RAGFlow(user)> tts with 'IndexTeam/IndexTTS-2@test3@astraflow' text 'hello? show yourself' play format 'wav' param '{"voice": "jack_cheng"}'
SUCCESS
RAGFlow(user)> rerank query 'what is rag' document 'rag is retrieval augment generation' 'rag need llm' 'famous rag project includes ragflow' with 'bge-reranker-v2-m3@test3@astraflow' top 3;
+-------+---------------------+
| index | relevance_score |
+-------+---------------------+
| 0 | 0.9837390184402466 |
| 2 | 0.06322699040174484 |
| 1 | 0.04663187265396118 |
+-------+---------------------+
RAGFlow(user)> embed text 'walkerwhat' 'jumperwho' with 'text-embedding-3-large@test3@astraflow' dimension 16
+-----------+-------+
| dimension | index |
+-----------+-------+
| 3072 | 0 |
| 3072 | 1 |
+-----------+-------+
# Xinference
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
2026-05-22 18:02:01 +08:00
..
2026-05-20 14:10:15 +08:00
2026-05-15 18:41:43 +08:00
2026-05-18 12:03:33 +08:00
2026-05-18 12:03:33 +08:00
2026-05-21 15:32:56 +08:00
2026-05-22 18:02:01 +08:00
2026-05-21 15:32:49 +08:00
2026-05-21 15:32:49 +08:00
2026-05-21 11:52:56 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:52:18 +08:00
2026-05-18 14:31:16 +08:00
2026-05-20 14:10:15 +08:00
2026-04-27 14:53:33 +08:00
2026-05-18 16:57:42 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 15:24:52 +08:00
2026-05-22 11:52:18 +08:00
2026-05-19 10:49:33 +08:00
2026-05-11 11:25:17 +08:00
2026-05-15 18:41:43 +08:00
2026-05-21 11:49:18 +08:00
2026-05-21 11:49:18 +08:00
2026-05-22 15:24:52 +08:00
2026-05-22 15:24:52 +08:00
2026-05-15 18:41:43 +08:00
2026-05-20 14:10:15 +08:00
2026-05-18 12:03:12 +08:00
2026-05-18 12:03:12 +08:00
2026-05-15 18:41:43 +08:00
2026-05-13 19:35:19 +08:00
2026-05-15 18:41:43 +08:00
2026-05-14 09:46:54 +08:00
2026-05-15 18:41:43 +08:00
2026-05-20 19:21:57 +08:00
2026-05-19 10:49:33 +08:00
2026-05-18 16:57:42 +08:00
2026-05-21 15:33:14 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 18:28:06 +08:00
2026-05-21 10:13:15 +08:00
2026-05-21 10:19:17 +08:00
2026-05-21 18:28:06 +08:00
2026-05-11 17:21:16 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 15:19:38 +08:00
2026-05-22 15:19:38 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 15:33:02 +08:00
2026-05-21 15:33:02 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 15:32:41 +08:00
2026-05-18 16:57:42 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 20:57:04 +08:00
2026-05-22 15:21:45 +08:00
2026-05-22 15:21:45 +08:00
2026-05-19 10:49:33 +08:00
2026-05-21 15:33:21 +08:00
2026-05-21 15:33:21 +08:00
2026-05-15 13:27:22 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-14 09:46:54 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 18:28:06 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:53:18 +08:00
2026-05-22 11:53:18 +08:00