Skip to content

Commit d27751c

Browse files
committed
Update
1 parent 6581a0d commit d27751c

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ and [Pekko HTTP](https://pekko.apache.org/docs/pekko-http/current/) tutorials, b
1818
>
1919
> For now the branch <a href="https://github.com/pbernet/akka_streams_tutorial/tree/migrate_pekko">migrate_pekko</a>
2020
> contains the migration (with a few losses). Currently, this is the only maintained branch.
21-
> The plan is to move the content of this branch to a new `pekko_tutorial` repo and support Scala 3.
21+
> The plan is to move the content of this branch to a new `pekko_tutorial` repo and to support Scala 3 when Pekko
22+
> Connectors is ready.
2223
2324
## Project Description
2425

@@ -154,7 +155,6 @@ Start the classes in the order below and watch the console output.
154155
| [WordCountProducer](src/main/scala/alpakka/kafka/WordCountProducer.scala) | [pekko-streams-kafka](https://pekko.apache.org/docs/pekko-connectors-kafka/current/ "Doc") client which feeds random words to topic `wordcount-input` |
155156
| [WordCountKStreams.java](src/main/scala/alpakka/kafka/WordCountKStreams.java) | [Kafka Streams DSL](https://kafka.apache.org/documentation/streams "Doc") client to count words and messages and feed the results to `wordcount-output` and `messagecount-output` topics. Contains additional interactive queries which should yield the same results `WordCountConsumer` |
156157
| [WordCountConsumer](src/main/scala/alpakka/kafka/WordCountConsumer.scala) | [pekko-streams-kafka](https://pekko.apache.org/docs/pekko-connectors-kafka/current/ "Doc") client which consumes aggregated results from topic `wordcount-output` and `messagecount-output` |
157-
| [DeleteTopicUtil](src/main/scala/alpakka/kafka/DeleteTopicUtil.scala) | Utility to reset the offset |
158158

159159
## HL7 V2 over TCP via Kafka to Websockets ##
160160

@@ -183,15 +183,10 @@ The index is queried periodically and the content may also be viewed with a Brow
183183

184184
`http://localhost:{mappedPort}/wikipediaedits/_search?q=personsFound:*`
185185

186-
## Movie subtitle translation via OpenAI API ##
186+
## Movie subtitle translation via LLMs ##
187187

188188
[SubtitleTranslator](src/main/scala/tools/SubtitleTranslator.scala) translates all blocks of an English
189-
source `.srt` file to a target language using the OpenAI API endpoints:
190-
191-
* `/chat/completions` (gpt-3.5-turbo/gpt-4) used by default,
192-
see [Doc](https://platform.openai.com/docs/guides/chat/chat-vs-completions)
193-
* `/completions` (gpt-3.5-turbo-instruct) used as fallback,
194-
see [Doc](https://beta.openai.com/docs/api-reference/completions/create)
189+
source `.srt` file to a target language using LLMs via [LangChain4j](https://docs.langchain4j.dev)
195190

196191
Pekko streams helps with:
197192
* Workflow modelling

0 commit comments

Comments
 (0)