Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
HamaWhiteGG committed Jul 31, 2023
2 parents 45f68ce + 68ce090 commit ad21a4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ mvn spotless:apply
## 6. Support
Don’t hesitate to ask!
[Open an issue](https://github.com/HamaWhiteGG/langchain-java/issues) if you find a bug in Flink.
[Open an issue](https://github.com/HamaWhiteGG/langchain-java/issues) if you find a bug in langchain-java.
## 7. Fork and Contribute
This is an active open-source project. We are always open to people who want to use the system or contribute to it. Please note that pull requests should be merged into the **dev** branch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public Map<String, String> innerCall(Map<String, Object> inputs) {

List<Document> docs = getDocs(question);
inputs.put("input_documents", docs);
if (!inputs.containsKey("question")) {
inputs.put("question", question);
}
String answer = combineDocumentsChain.run(inputs);

Map<String, String> result = Maps.newHashMap();
Expand Down

0 comments on commit ad21a4f

Please sign in to comment.