Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 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_src/server_sent_events/tutorial005_py310.py

    from fastapi.sse import EventSourceResponse, ServerSentEvent
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Prompt(BaseModel):
        text: str
    
    
    @app.post("/chat/stream", response_class=EventSourceResponse)
    async def stream_chat(prompt: Prompt) -> AsyncIterable[ServerSentEvent]:
        words = prompt.text.split()
        for word in words:
            yield ServerSentEvent(data=word, event="token")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 528 bytes
    - Click Count (0)
  4. docs/en/docs/contributing.md

    #### LLM Prompt per Language
    
    Each language has a directory: [https://github.com/fastapi/fastapi/tree/master/docs](https://github.com/fastapi/fastapi/tree/master/docs), in it you can see a file `llm-prompt.md` with the prompt specific for that language.
    
    For example, for Spanish, the prompt is at: [`docs/es/llm-prompt.md`](https://github.com/fastapi/fastapi/blob/master/docs/es/llm-prompt.md).
    
    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)
  5. docs/en/docs/js/custom.js

                            const promptStart = line.indexOf(promptLiteralStart);
                            if (promptStart === -1) {
                                console.error("Custom prompt found but no end delimiter", line)
                            }
                            const prompt = line.slice(0, promptStart).replace(customPromptLiteralStart, "")
                            let value = line.slice(promptStart + promptLiteralStart.length);
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:59:48 GMT 2026
    - 7.7K bytes
    - Click Count (2)
  6. docs/en/docs/_llm-test.md

    Tests added here will be seen by all designers of language specific prompts.
    
    Use as follows:
    
    * Have a language specific prompt - `docs/{language code}/llm-prompt.md`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. docs/en/docs/advanced/security/http-basic-auth.md

    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Then, when you type that username and password, the browser sends them in the header automatically.
    
    ## Simple HTTP Basic Auth { #simple-http-basic-auth }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top