Azure-Samples / Azure-Samples/azure-openai-rag-workshop-java
Include chat message history
- Lingua principale
- Bicep
- Stelle
- 21
- Fork
- 102
- Merge medio
- 3g 14h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, java
- Ambito
- ai, backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100