Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for userDN (0.62 seconds)

  1. src/main/java/org/codelibs/fess/chat/ChatClient.java

         * @param userMessage the user's message
         * @param userId the user ID (can be null for anonymous users)
         * @return the chat response including session info and sources
         */
        public ChatResult chat(final String sessionId, final String userMessage, final String userId) {
            return chat(sessionId, userMessage, userId, Collections.emptyMap(), new String[0]);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/extra-models.md

    ### About `**user_in.model_dump()` { #about-user-in-model-dump }
    
    #### Pydantic's `.model_dump()` { #pydantics-model-dump }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.model_dump()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    Now, whenever a browser is creating a user with a password, the API will return the same password in the response.
    
    In this case, it might not be a problem, because it's the same user sending the password.
    
    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    /// danger
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/response-model.md

    `BaseUser` temel field’lara sahiptir. Ardından `UserIn`, `BaseUser`’dan miras alır ve `password` field’ını ekler; yani iki modelin field’larının tamamını içerir.
    
    Fonksiyonun dönüş tipini `BaseUser` olarak annotate ediyoruz ama gerçekte bir `UserIn` instance’ı döndürüyoruz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  5. docs_src/bigger_applications/app_an_py310/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 407 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                    // Validate userId matches - prevent cross-user session access
                    if (userId != null && !userId.equals(sessionUserId)) {
                        logger.warn("Session userId mismatch. sessionId={}, requestUserId={}", sessionId, userId);
                    } else if (userId == null && sessionUserId == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/entity/ChatSession.java

            this.sessionId = sessionId;
        }
    
        /**
         * Gets the user ID.
         *
         * @return the user ID
         */
        public String getUserId() {
            return userId;
        }
    
        /**
         * Sets the user ID.
         *
         * @param userId the user ID
         */
        public void setUserId(final String userId) {
            this.userId = userId;
        }
    
        /**
         * Gets the creation timestamp.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmClient.java

        /**
         * Detects the intent of a user message.
         *
         * @param userMessage the user's message
         * @return the detected intent with extracted keywords
         */
        IntentDetectionResult detectIntent(String userMessage);
    
        /**
         * Detects the intent of a user message with conversation history context.
         *
         * @param userMessage the user's message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            }
            return client;
        }
    
        // RAG workflow delegation methods
    
        /**
         * Detects the intent of a user message using the configured LLM client.
         *
         * @param userMessage the user's message
         * @return the detected intent with extracted keywords
         * @throws LlmException if LLM is not available
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. tests/helper_test.go

    	}
    }
    
    func CheckUserUnscoped(t *testing.T, user User, expect User) {
    	doCheckUser(t, user, expect, true)
    }
    
    func CheckUser(t *testing.T, user User, expect User) {
    	doCheckUser(t, user, expect, false)
    }
    
    func doCheckUser(t *testing.T, user User, expect User, unscoped bool) {
    	if user.ID != 0 {
    		var newUser User
    		if err := db(unscoped).Where("id = ?", user.ID).First(&newUser).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top