Skip to content

Commit 7e18e2b

Browse files
committed
remove redundant line
1 parent 1ce1d02 commit 7e18e2b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Java/CosmosDB-NoSQL-Langchain/src/main/java/azure/cosmos/nosql/demo/AzureCosmosDBNoSQLLangchainDemo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ private static ChatBotAgent createChatBotAgent() throws FileNotFoundException {
110110
.temperature(0.3)
111111
.logRequestsAndResponses(true)
112112
.build();
113-
model.generate(
114-
"Given the context information and not prior knowledge, answer the question. If you can't answer the question, use the most relevant contextual information as the answer, and do not add more information: %s");
115113
System.out.println("Azure Open AI Chat Model initialized");
116114
// Now, let's load a document that we want to use for RAG.
117115
// We are using abstracts of papers submitted to Computer Vision and Pattern

0 commit comments

Comments
 (0)