Azure-Samples / Azure-Samples/azure-openai-rag-workshop-java

Include chat message history

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Bicep
Sterne
21
Forks
102
Ø Merge
3 T. 14 Std.
Gemergte PRs (30 T.)
1

Beschreibung

Currently only the last message is used as input for the model. Previous chat messages should also be included for better context.

- [ ] Use input messages from API call and feed it to LC4J Memory with a token window, see https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/ChatMemoryExamples.java

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start at the API call that currently sends only the last chat message, then review the linked ChatMemoryExamples.java example for LangChain4j's token-window memory. Feed the API's input messages into that memory and verify that a multi-message chat request provides prior context to the model.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, java
Bereich
ai, backend-api-design
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.