softwaremill / softwaremill/sttp-ai

Easier stream chunk accumulation and conversion to full message

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
101
Forks
18
Avg merge
24m
Merged PRs (30d)
17

Description

It's more difficult to deal with stream chunks than with full messages, especially when using tools or functions, because they have many nullables values as shown in #137 and #138.

It will be great if we can combine the chunks in a monoidal way and convert the accumulated chunk into a null-less message easily.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the stream chunk and full-message types discussed in issues #137 and #138; done means accumulated chunks can be combined monoidally and converted into a message without nullable values.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.