Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
HamaWhiteGG committed Jul 7, 2023
1 parent 5c1964f commit 7206dea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var llm = OpenAI.builder()
.openaiOrganization("xxx")
.openaiApiKey("xxx")
.openaiProxy("http://host:port")
.requestTimeout(requestTimeout)
.requestTimeout(16)
.build()
.init();
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void main(String[] args) {
var llm = OpenAI.builder().temperature(0).requestTimeout(30).build().init();
var qa = RetrievalQA.fromChainType(llm, STUFF, pinecone.asRetriever());

String query = "What did the president say about Ketanji Brown Jackson";
var query = "What did the president say about Ketanji Brown Jackson";
var result = qa.run(query);
println(result);
}
Expand Down

0 comments on commit 7206dea

Please sign in to comment.