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

Include chat message history

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Bicep
Stars
21
Forks
102
Avg merge
3d 14h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.