Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,140 for Model (0.02 seconds)

  1. tests/test_get_model_definitions_formfeed_escape.py

        assert response.json() == snapshot(
            {
                "components": {
                    "schemas": {
                        "Address": {
                            # NOTE: the description of this model shows only the public-facing text, before the `\f` in docstring
                            "description": "This is a public description of an Address\n",
                            "properties": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/response-headers.md

    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/vibe.md

    * **No serialization**: Just pass the raw, unstructured data around. Serialization is for people who don't trust their LLMs.
    * **Embrace modern AI coding practices**: Leave everything up to an LLM to decide. The model knows best. Always.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Objects;
    
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.Plugin;
    import org.eclipse.aether.AbstractRepositoryListener;
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RequestTrace;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

                "publishPluginsToTestRepository",
            ) -> false
    
            // Core tasks
            task.name in listOf(
                "components",
                "dependantComponents",
                "model",
            ) -> true
    
            task.name.startsWithAnyOf(
                "publish",
                "idea",
            ) -> true
    
            task is GradleBuild -> true
    
            // gradle/gradle build tasks
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 15:18:40 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/sql-databases.md

    首先,确保你创建并激活了[虚拟环境](../virtual-environments.md),然后安装 `sqlmodel`:
    
    <div class="termy">
    
    ```console
    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## 创建含有单一模型的应用 { #create-the-app-with-a-single-model }
    
    我们先创建应用的最简单的第一个版本,只有一个 **SQLModel** 模型。
    
    稍后我们将通过下面的**多个模型**提高其安全性和多功能性。🤓
    
    ### 创建模型 { #create-models }
    
    导入 `SQLModel` 并创建一个数据库模型:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/body-fields.md

    首先,你需要匯入它:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    請注意,`Field` 是直接從 `pydantic` 匯入的,不像其他(如 `Query`、`Path`、`Body` 等)是從 `fastapi` 匯入。
    
    ///
    
    ## 宣告模型屬性 { #declare-model-attributes }
    
    接著你可以在模型屬性上使用 `Field`:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` 的用法與 `Query`、`Path`、`Body` 相同,擁有相同的參數等。
    
    /// note | 技術細節
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. cmd/iam-etcd-store.go

    	//  a large number of policies
    	r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all values to construct the policies data model.
    	for _, kvs := range r.Kvs {
    		if err = ies.getPolicyDocKV(ctx, kvs, m); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return err
    		}
    	}
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

     * For 4.0.0 models: applies limited inference (parent-related only).
     * For 4.1.0+ models: applies full inference optimizations.
     * Removes redundant information that can be inferred by Maven during model building.
     */
    @Named
    @Singleton
    @Priority(30)
    public class InferenceStrategy extends AbstractUpgradeStrategy {
    
        @Override
        public boolean isApplicable(UpgradeContext context) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/LlmException.java

        public static final String ERROR_TIMEOUT = "timeout";
    
        /** Error code for context length exceeded. */
        public static final String ERROR_CONTEXT_LENGTH_EXCEEDED = "context_length_exceeded";
    
        /** Error code for model not found. */
        public static final String ERROR_MODEL_NOT_FOUND = "model_not_found";
    
        /** Error code for invalid response from the LLM provider. */
        public static final String ERROR_INVALID_RESPONSE = "invalid_response";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top