Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 54 for getModel (0.05 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmChatResponse.java

        }
    
        /**
         * Gets the model name.
         *
         * @return the model name
         */
        public String getModel() {
            return model;
        }
    
        /**
         * Sets the model name.
         *
         * @param model the model name
         */
        public void setModel(final String model) {
            this.model = model;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

    /**
     * Represents a maven plugin runtime
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

            this.model = model;
            this.request = request;
            this.problems = problems;
        }
    
        @Override
        public Model getModel() {
            return model;
        }
    
        @Override
        public ModelBuildingRequest getRequest() {
            return request;
        }
    
        @Override
        public ModelProblemCollector getProblems() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        private List<String> fatals = new ArrayList<>();
    
        public SimpleProblemCollector() {}
    
        public SimpleProblemCollector(Model model) {
            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                List<ModelData> lineage, ModelBuildingRequest request, ModelProblemCollector problems) {
            for (int i = lineage.size() - 2; i >= 0; i--) {
                Model parent = lineage.get(i + 1).getModel();
                Model child = lineage.get(i).getModel();
                inheritanceAssembler.assembleModelInheritance(child, parent, request, problems);
            }
        }
    
        private List<Profile> getProfiles(Model model) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         *
         * @return the toolchain type
         */
        String getType();
    
        /**
         * Gets the underlying toolchain model.
         *
         * @return the toolchain model
         */
        ToolchainModel getModel();
    
        /**
         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name
         * @return file representing the tool executable, or null if the tool cannot be found
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

         * Gets the model name.
         *
         * @return the model name
         */
        public String getModel() {
            return model;
        }
    
        /**
         * Sets the model name.
         *
         * @param model the model name
         * @return this request for method chaining
         */
        public LlmChatRequest setModel(final String model) {
            this.model = model;
            return this;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         * Gets the model being wrapped.
         *
         * @return The model or {@code null} if not set.
         */
        public Model getModel() {
            return model;
        }
    
        /**
         * Sets the model being wrapped.
         *
         * @param model The model, may be {@code null}.
         */
        public void setModel(Model model) {
            this.model = model;
        }
    
        /**
         * Gets the raw model being wrapped.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

        @Test
        public void test_setModel() {
            final LlmChatResponse response = new LlmChatResponse();
    
            response.setModel("llama3");
            assertEquals("llama3", response.getModel());
    
            response.setModel("gpt-3.5-turbo");
            assertEquals("gpt-3.5-turbo", response.getModel());
        }
    
        @Test
        public void test_nullValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/LlmChatRequestTest.java

        }
    
        @Test
        public void test_setModel() {
            final LlmChatRequest request = new LlmChatRequest();
    
            final LlmChatRequest result = request.setModel("gpt-4");
    
            assertSame(request, result);
            assertEquals("gpt-4", request.getModel());
        }
    
        @Test
        public void test_setMaxTokens() {
            final LlmChatRequest request = new LlmChatRequest();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top