Skip to content

Commit 82fbeb8

Browse files
committed
Handle when no decision
1 parent b3476b5 commit 82fbeb8

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ Too busy to read the documentation? Give the [llms.txt](https://synalinks.github
4141

4242
</div>
4343

44+
## Want to learn how to build neuro-symbolic systems?
45+
46+
We provide a suite of notebooks available in [Google Colab](https://colab.research.google.com/) so you can learn about the future of AI and become a neuro-symbolic expert!
47+
48+
We specifically designed them to be easy to start and become more complex as you learn more, so we encourage you explore them in the provided order.
49+
50+
1. [Working With Data Models](examples/1_working_with_data_models.ipynb)[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1eJoFNn6wAFVd2vqrmgIHEwgzHfbp0Lkb?usp=sharing)
51+
2. [Working With Programs](examples/2_working_with_programs.ipynb) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1RRZUIGW6r61Rs38EQl52beRVZyIoYXe_?usp=sharing)
52+
3. [Parrallel and Conditional Branches]()
53+
54+
4455
## What is Synalinks?
4556

4657
Synalinks is an open-source framework that makes it easy to create, evaluate, train, and deploy industry-standard Language Models (LMs) applications like **graph RAGs, autonomous agents, multi-agent systems or self-evolving systems**. Synalinks follows the principle of *progressive disclosure of complexity*: meaning that simple workflows should be quick and easy, while arbitrarily advanced ones should be possible via a clear path that builds upon what you've already learned.
@@ -57,7 +68,7 @@ Developping a successful LM application in a profesional context, beyond statele
5768

5869
- **Building optimized prompts with examples/instructions at each step**: Synalinks uses advanced In-Context Reinforcement Learning techniques to optimize **each** prompt/code/rules of your workflow/agent using our SOTA optimizers.
5970
- **Pipelines that change over time**: Easily edit your pipelines, re-run your training, and you're good to go.
60-
- **Ensuring the correctness of the LMs output**: Synalinks combines **constrained structured output** with In-Context RL to ensure **both format and content correctness**.
71+
- **Ensuring the correctness of the LMs output**: Synalinks combines **constrained JSON structured output** with In-Context RL to ensure **both format and content correctness**.
6172
- **Async Optimization**: Synalinks automatically optimizes your pipelines by detecting parallel processes, so you don't have to worry about it.
6273
- **Assessing the performance of your application**: Synalinks provides built-in metrics and rewards to evaluate your workflows.
6374
- **Configuring Language & Embedding Models**: Seamlessly integrate multiple LM providers like Ollama, OpenAI, Azure, Anthropic, Mistral or Groq.

synalinks/src/modules/core/branch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ async def call(self, inputs, training=False):
164164
inputs,
165165
training=training,
166166
)
167+
168+
if not decision:
169+
return tuple(outputs)
170+
167171
choice = decision.get("choice", decision.get("choices"))
168172

169173
if not choice:

0 commit comments

Comments
 (0)