Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Code Examples/Autonomous Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/10_autonomous_agent.py:108"
--8<-- "examples/10_autonomous_agent.py:108"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Conditional Branches.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/4_conditional_branches.py:129"
--8<-- "examples/4_conditional_branches.py:129"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Conversational Applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/6_conversational_applications.py:83"
--8<-- "examples/6_conversational_applications.py:83"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Cypher Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"examples/23_cypher_agent.py:source"
--8<-- "examples/23_cypher_agent.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Data Model Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/5a_data_model_operators.py:168"
--8<-- "examples/5a_data_model_operators.py:168"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/3_decisions.py:120"
--8<-- "examples/3_decisions.py:120"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Deep Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"examples/20_deep_agent.py:source"
--8<-- "examples/20_deep_agent.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Document RAG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/13_document_rag.py:89"
--8<-- "examples/13_document_rag.py:89"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/First Steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/0_first_steps.py:135"
--8<-- "examples/0_first_steps.py:135"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Functional API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/1a_functional_api.py:127"
--8<-- "examples/1a_functional_api.py:127"
````

## Run log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/9_custom_modules.py:132"
--8<-- "examples/9_custom_modules.py:132"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Interactive Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/11_interactive_agent.py:132"
--8<-- "examples/11_interactive_agent.py:132"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/JSON Ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/5b_json_ops.py:121"
--8<-- "examples/5b_json_ops.py:121"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Knowledge Extraction and Storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/12_knowledge_extraction_and_storage.py:110"
--8<-- "examples/12_knowledge_extraction_and_storage.py:110"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/MCP Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/15_mcp_agent.py:100"
--8<-- "examples/15_mcp_agent.py:100"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Mixing Strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/1d_mixing_strategy.py:159"
--8<-- "examples/1d_mixing_strategy.py:159"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Parallel Branches.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/2_parallel_branches.py:128"
--8<-- "examples/2_parallel_branches.py:128"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Python Synthesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
## Source

````python
--8 < --"examples/22_python_synthesis.py:source"
--8<-- "examples/22_python_synthesis.py:source"
````
2 changes: 1 addition & 1 deletion docs/Code Examples/Recursive Language Model Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/17_recursive_language_model_agent.py:128"
--8<-- "examples/17_recursive_language_model_agent.py:128"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Reward Metrics And Optimizers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/7_reward_metrics_and_optimizers.py:84"
--8<-- "examples/7_reward_metrics_and_optimizers.py:84"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/SQL Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/16_sql_agent.py:source"
--8<-- "examples/16_sql_agent.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Sequential API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/1c_sequential.py:109"
--8<-- "examples/1c_sequential.py:109"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Subclassing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"examples/1b_subclassing.py:158"
--8<-- "examples/1b_subclassing.py:158"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/Code Examples/Training Programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

````python
--8 < --"examples/8_training_programs.py:95"
--8<-- "examples/8_training_programs.py:95"
````
2 changes: 1 addition & 1 deletion docs/Code Examples/Vector RAG Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"examples/14_vector_rag_agent.py:source"
--8<-- "examples/14_vector_rag_agent.py:source"
````

## Run log
Expand Down
1 change: 1 addition & 0 deletions docs/Synalinks API/Data Models API/Score Data Models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: synalinks.src.backend.pydantic.metrics
3 changes: 2 additions & 1 deletion docs/Synalinks API/Data Models API/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Synalinks features four distinct types of data models, each serving a unique pur
- [The JsonDataModel Class](The JsonDataModel class.md): The backend-independent data models.
- [The SymbolicDataModel Class](The SymbolicDataModel class.md): The symbolic data models.
- [The Variable Class](The Variable class.md): The variable data models that the optimizers can act upon.
- [The Base DataModels](The Base DataModels.md): A collection of basic backend-dependent data models.
- [The Base DataModels](The Base DataModels.md): A collection of basic backend-dependent data models.
- [Score Data Models](Score Data Models.md): Discretized score scales (`Score`, `FineScore`, `Rating`, `Rating10`, `Rating20`) the language model can pick from, and the helpers to resolve and normalize them.
2 changes: 1 addition & 1 deletion docs/guides/Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/6_agents.py:446"
--8<-- "guides/6_agents.py:446"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

````python
--8 < --"guides/16_callbacks.py:401"
--8<-- "guides/16_callbacks.py:401"
````
2 changes: 1 addition & 1 deletion docs/guides/Consul of Models.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/30_consul_of_models.py:364"
--8<-- "guides/30_consul_of_models.py:364"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Control Flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/5_control_flow.py:255"
--8<-- "guides/5_control_flow.py:255"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Cypher Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/26_cypher_agent.py:101"
--8<-- "guides/26_cypher_agent.py:101"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Data Models.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/2_data_models.py:541"
--8<-- "guides/2_data_models.py:558"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

````python
--8 < --"guides/11_datasets.py:435"
--8<-- "guides/11_datasets.py:435"
````
2 changes: 1 addition & 1 deletion docs/guides/Deep Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/22_deep_agent.py:243"
--8<-- "guides/22_deep_agent.py:247"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/FastAPI Deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

```python
--8 < --"guides/20_fastapi_deployment.py:source"
--8<-- "guides/20_fastapi_deployment.py:source"
```
2 changes: 1 addition & 1 deletion docs/guides/FastMCP Deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

```python
--8 < --"guides/21_fastmcp_deployment.py:source"
--8<-- "guides/21_fastmcp_deployment.py:source"
```
2 changes: 1 addition & 1 deletion docs/guides/Free-form Knowledge Graph Extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/28_free_form_knowledge_graph_extraction.py:source"
--8<-- "guides/28_free_form_knowledge_graph_extraction.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/1_getting_started.py:345"
--8<-- "guides/1_getting_started.py:345"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/GraphRAG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/32_graphrag.py:source"
--8<-- "guides/32_graphrag.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Hyperparameter Search.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

````python
--8 < --"guides/17_hyperparameter_search.py:351"
--8<-- "guides/17_hyperparameter_search.py:351"
````
2 changes: 1 addition & 1 deletion docs/guides/Input Guard.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/8_input_guard.py:294"
--8<-- "guides/8_input_guard.py:294"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Knowledge Base.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/7_knowledge_base.py:source"
--8<-- "guides/7_knowledge_base.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Knowledge Graph Extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/27_knowledge_graph_extraction.py:source"
--8<-- "guides/27_knowledge_graph_extraction.py:source"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
## Source

````python
--8 < --"guides/14_metrics.py:345"
--8<-- "guides/14_metrics.py:345"
````
2 changes: 1 addition & 1 deletion docs/guides/Mixture of Models.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Source

````python
--8 < --"guides/29_mixture_of_models.py:396"
--8<-- "guides/29_mixture_of_models.py:396"
````

## Run log
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Source

````python
--8 < --"guides/4_modules.py:635"
--8<-- "guides/4_modules.py:641"
````

## Run log
Expand Down
Loading
Loading