You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 31b3bd3
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -77,7 +87,7 @@ Primary examples in this repo should:
77
87
- remain meaningful with an adversarial stub
78
88
- demonstrate observable runtime behavior changes
79
89
80
-
See [CONTRIBUTING.md](/Users/rlippmann/Source/context-compiler-example-integrations/CONTRIBUTING.md) and [AGENTS.md](/Users/rlippmann/Source/context-compiler-example-integrations/AGENTS.md) for repository rules.
90
+
See [CONTRIBUTING.md](CONTRIBUTING.md) and [AGENTS.md](AGENTS.md) for repository rules.
but that layer is optional. This package is the examples and integration
14
+
patterns layer.
14
15
15
-
Reference integrations and optional framework-specific examples remain
16
-
secondary to the enforcement point.
16
+
`context-compiler` defines the authority contract.
17
+
`context-compiler-directive-drafter` is optional authority acquisition and
18
+
drafting.
19
+
This examples package shows where authority is enforced.
20
+
21
+
Prompt reinjection influences model behavior.
22
+
Context Compiler influences runtime behavior.
23
+
24
+
## Start here
25
+
26
+
Start with a generic example README below if you want the clearest explanation
27
+
of one enforcement point before looking at runtime-specific integrations.
28
+
29
+
## Generic examples
30
+
31
+
These generic examples are the main starting point for new readers.
32
+
33
+
Open the enforcement point that matches the runtime behavior you want to
34
+
inspect:
35
+
36
+
-[Checkpoint continuation](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/checkpoint_continuation/README.md): persisted confirmation and resume flows change host behavior across turns or requests
37
+
-[Execution authorization](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/execution_authorization/README.md): protected host actions execute only when authoritative state allows them
38
+
-[Gateway middleware](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/gateway_middleware/README.md): the host allows, blocks, or routes requests before downstream work runs
39
+
-[Prompt construction](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/prompt_construction/README.md): the host builds different request or prompt payloads from authoritative state
40
+
-[Retrieval filtering](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/retrieval_filtering/README.md): the host changes which documents are eligible or relevant before returning results
41
+
-[Schema selection](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/schema_selection/README.md): the host picks different workflow or response schemas from authoritative state
42
+
-[Tool gating](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/tool_gating/README.md): the host changes which tools are visible or executable at runtime
43
+
44
+
## Reference integrations
45
+
46
+
Python also includes reference integrations for runtime-specific behavior after
47
+
the generic examples.
48
+
49
+
Open a reference integration when you want to see the same kind of runtime
50
+
behavior on a specific host or framework surface.
51
+
52
+
Start with the generic example first, then use the Python reference
Copy file name to clipboardExpand all lines: python/examples/prompt_construction/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ These generic/examples-first docs teach the enforcement point.
17
17
18
18
Related concrete runtime surfaces:
19
19
20
-
-[python/examples/prompt_construction/litellm/README.md](/Users/rlippmann/Source/context-compiler-example-integrations/python/examples/prompt_construction/litellm/README.md): LiteLLM-oriented prompt construction
21
-
-[python/reference_integrations/openwebui_pipe/README.md](/Users/rlippmann/Source/context-compiler-example-integrations/python/reference_integrations/openwebui_pipe/README.md): Open WebUI pipe integration
22
-
-[typescript/starter_apps/nextjs/README.md](/Users/rlippmann/Source/context-compiler-example-integrations/typescript/starter_apps/nextjs/README.md): TypeScript Next.js starter variants for the same enforcement point
20
+
-[python/examples/prompt_construction/litellm/README.md](litellm/README.md): LiteLLM-oriented prompt construction
21
+
-[python/reference_integrations/openwebui_pipe/README.md](../../reference_integrations/openwebui_pipe/README.md): Open WebUI pipe integration
22
+
-[typescript/starter_apps/nextjs/README.md](../../../typescript/starter_apps/nextjs/README.md): TypeScript Next.js starter variants for the same enforcement point
0 commit comments