Skip to content

Commit

Permalink
Merge pull request #232 from jmartisk/javadoc-fixes
Browse files Browse the repository at this point in the history
Javadoc fixes in Ollama config
  • Loading branch information
geoand authored Jan 19, 2024
2 parents b47ada0 + 7b70d65 commit b53feaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public interface ChatModelConfig {
String modelId();

/**
* The temperature of the model. Increasing the temperature will make the model answer
* The temperature of the model. Increasing the temperature will make the model answer with
* more variability. A lower temperature will make the model answer more conservatively.
*/
@WithDefault("0.8")
Double temperature();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ public interface Langchain4jOllamaConfig {
String baseUrl();

/**
* Timeout for HuggingFace calls
* Timeout for Ollama calls
*/
@WithDefault("10s")
Duration timeout();

/**
* Whether the HuggingFace client should log requests
* Whether the Ollama client should log requests
*/
@WithDefault("false")
Boolean logRequests();

/**
* Whether the HuggingFace client should log responses
* Whether the Ollama client should log responses
*/
@WithDefault("false")
Boolean logResponses();
Expand Down

0 comments on commit b53feaa

Please sign in to comment.