Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for Prompt (0.04 seconds)

  1. scripts/general-llm-prompt.md

    Motov Yurii <******@****.***> 1773831336 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        }
    
        /**
         * Resolves the {{languageInstruction}} placeholder in a prompt.
         *
         * @param prompt the prompt template
         * @return the prompt with language instruction resolved
         */
        protected String resolveLanguageInstruction(final String prompt) {
            if (prompt == null) {
                return null;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  3. docs/en/docs/contributing.md

    Instead of adding suggestions to the translation PR, make the suggestions to the LLM prompt file for that language, in a new PR. For example, for Spanish, the LLM prompt file is at: [`docs/es/llm-prompt.md`](https://github.com/fastapi/fastapi/blob/master/docs/es/llm-prompt.md).
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. scripts/translate.py

        )
        langs = get_langs()
        language_name = langs[language]
        lang_path = Path(f"docs/{language}")
        lang_path.mkdir(exist_ok=True)
        lang_prompt_path = lang_path / "llm-prompt.md"
        assert lang_prompt_path.exists(), f"Prompt file not found: {lang_prompt_path}"
        lang_prompt_content = lang_prompt_path.read_text(encoding="utf-8")
    
        en_docs_path = Path("docs/en/docs")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. docs_src/vibe/tutorial001_py310.py

    from typing import Any
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.vibe(
        "/vibe/",
        prompt="pls return json of users from database. make no mistakes",
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 204 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            void setTestIntentDetectionPrompt(final String prompt) {
                this.testIntentDetectionPrompt = prompt;
            }
    
            void setTestSystemPrompt(final String prompt) {
                this.testSystemPrompt = prompt;
            }
    
            void setTestSummarySystemPrompt(final String prompt) {
                this.testSummarySystemPrompt = prompt;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/LlmClient.java

     * such as Ollama, OpenAI, and Google Gemini.
     *
     * In addition to low-level chat operations, this interface defines
     * high-level RAG workflow methods that allow each provider to optimize
     * prompt construction, parameter tuning, and response parsing.
     */
    public interface LlmClient {
    
        /**
         * Performs a chat completion request.
         *
    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)
  8. docs/en/docs/management-tasks.md

    * It has the labels `lang-all` and `lang-{lang code}`.
    
    For PRs that update language-specific LLM prompts, confirm that:
    
    * The PR has the labels `lang-all` and `lang-{lang code}`.
    * It is approved by at least one native speaker.
    * In some cases you might need to translate several pages with new prompt to make sure it works as expected.
    
    If the PR meets the above conditions, you can merge it. 😎
    
    ## Review PRs
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/vibe.md

    The body should be annotated with `Any`, because the request and the response would be... well... **anything**. 🤷
    
    The idea is that you would receive the payload and send it **directly** to an LLM provider, using a `prompt` to tell the LLM what to do, and return the response **as is**. No questions asked.
    
    You don't even need to write the body of the function. The `@app.vibe()` decorator does everything for you based on AI vibes:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        public String spnegoAllowBasic;
    
        /** Enable or disable SPNEGO unsecure basic authentication. */
        @Size(max = 10)
        public String spnegoAllowUnsecureBasic;
    
        /** Enable or disable SPNEGO NTLM prompt. */
        @Size(max = 10)
        public String spnegoPromptNtlm;
    
        /** Enable or disable SPNEGO localhost authentication. */
        @Size(max = 10)
        public String spnegoAllowLocalhost;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top