@@ -127,7 +127,7 @@ public static void SetLogFilePath(string logFilePath)
127
127
/// Gets AI assitant's response for a given message. This request doesn't have any memory.
128
128
/// </summary>
129
129
/// <param name="message">User's message</param>
130
- /// <param name="temperature">A value between 0 to 2 , that controls randomness of the response.
130
+ /// <param name="temperature">A value between 0 to 1 , that controls randomness of the response.
131
131
/// Higher temperature will lead to more randomness. Lower temperature will be more deterministic.</param>
132
132
/// <returns>Response returned by the AI assitant.</returns>
133
133
public static async Task < string > GetResponseAsync ( string message , double temperature )
@@ -160,7 +160,7 @@ public static async Task<string> GetResponseAsync(string message, double tempera
160
160
/// Sends message to language model to get AI assistant's response.
161
161
/// </summary>
162
162
/// <param name="message">User's message</param>
163
- /// <param name="temperature"></param>
163
+ /// <param name="temperature">A value between 0 and 1 to control the randomness of the response. </param>
164
164
/// <returns>Response message</returns>
165
165
public static string GetResponse ( string message , double temperature )
166
166
{
@@ -240,7 +240,7 @@ public static IVectorStore CreateVectorDatabaseForSemanticSearch(string source,
240
240
/// <param name="systemctx">System message to specify, how to process a given message.</param>
241
241
/// <param name="vdbpath">Full path of vector database to get the context.</param>
242
242
/// <param name="message">User message for which response is required.</param>
243
- /// <param name="temperature">A value between 0 and 2 to control the randomness of the response.</param>
243
+ /// <param name="temperature">A value between 0 and 1 to control the randomness of the response.</param>
244
244
/// <returns>Returns the AI assitant's response.</returns>
245
245
/// <exception cref="System.Exception"></exception>
246
246
public static async Task < string > GetResponseFromContextAsync ( string sessionid , string systemctx , string vdbpath , string message , double temperature )
@@ -287,7 +287,7 @@ public static async Task<string> GetResponseFromContextAsync(string sessionid, s
287
287
/// <param name="systemctx">System message to specify, how to process a given message.</param>
288
288
/// <param name="vdbpath">Full path of vector database to get the context.</param>
289
289
/// <param name="message">User message for which response is required.</param>
290
- /// <param name="temperature">A value between 0 and 2 to control the randomness of the response.</param>
290
+ /// <param name="temperature">A value between 0 and 1 to control the randomness of the response.</param>
291
291
/// <returns>Returns the AI assitant's response.</returns>
292
292
/// <exception cref="System.Exception"></exception>
293
293
public static string GetResponseFromContext ( string sessionid , string systemctx , string vdbpath , string message , double temperature )
@@ -374,7 +374,7 @@ public static List<string> AddToolsFromDLL(string dllpath)
374
374
/// <param name="sessionid">The session id for the conversation.</param>
375
375
/// <param name="functionName">Name of the function that was executed.</param>
376
376
/// <param name="message">Output returned from the function call as string(json).</param>
377
- /// <param name="temperature">A value between 0 and 2 to control the randomness of the response.</param>
377
+ /// <param name="temperature">A value between 0 and 1 to control the randomness of the response.</param>
378
378
/// <returns>The response from the language model.</returns>
379
379
public static string AddFunctionMessage ( string sessionid , string functionName , string message , double temperature )
380
380
{
0 commit comments