Skip to content

Commit

Permalink
Fix typos (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone authored Jan 11, 2024
1 parent 6250405 commit 04bbb96
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ A great advantage of passing functions directly to specify the structure is that

## Prompting

Buiding prompts can get messy. **Outlines** makes it easier to write and manage
Building prompts can get messy. **Outlines** makes it easier to write and manage
prompts by encapsulating templates inside "template functions".

These functions make it possible to neatly separate the prompt logic from the
Expand All @@ -306,7 +306,7 @@ templating engine to help build complex prompts in a concise manner:
import outlines

examples = [
("The food was digusting", "Negative"),
("The food was disgusting", "Negative"),
("We had a fantastic night", "Positive"),
("Recommended", "Positive"),
("The waiter was rude", "Negative")
Expand Down
6 changes: 3 additions & 3 deletions docs/blog/posts/roadmap-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:

# Roadmap for 2024

Outlines is not even one year old and it's already gone a long way! As we just reached 4000k stars, and before laying out the roadmap for the following year, we would like to pause and thank all of you for supporting us, using and contributing to the library!
Outlines is not even one year old and it's already gone a long way! As we just reached 4000 stars, and before laying out the roadmap for the following year, we would like to pause and thank all of you for supporting us, using and contributing to the library!

![4000 stars](../assets/4000_stars.png)

Expand Down Expand Up @@ -37,8 +37,8 @@ Let's be honest, Outlines is lacking clear and thorough examples. We want to cha

* How does Outlines work? What can you do with it?
* What can you do with Outlines that is harder or impossible to do with other libraries?
* How you can perform standard LLM workflows, for instance Chain of Thoughts, Tree of Throughts, etc?
* How does Oultines integrates with the larger ecosysten, for instance other libraries like LangChain and LlamaIndex?
* How you can perform standard LLM workflows, for instance Chain of Thoughts, Tree of Thoughts, etc?
* How does Oultines integrates with the larger ecosystem, for instance other libraries like LangChain and LlamaIndex?

### Simplify the integrations

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Or use the [requests][requests]{:target="_blank"} library from another python pr

### Prompt templates

Prompting can lead to messy code. Outlines' prompt functions are python functions that contain a template for the prompt in their docstring. We use a powerful templating language to allow you to loop over lists, dictionnaries, add conditionals, etc. directly from the prompt. When called, a prompt function returns the rendered template:
Prompting can lead to messy code. Outlines' prompt functions are python functions that contain a template for the prompt in their docstring. We use a powerful templating language to allow you to loop over lists, dictionaries, add conditionals, etc. directly from the prompt. When called, a prompt function returns the rendered template:

```python
import outlines
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/prompting.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ allows to easily compose complex prompts.

!!! warning "Prompt rendering"

Prompt functions are opinionated when it comes to prompt rendering. These opinions are meant to avoid common prompting errors, but can have unintended consequences if you are doing something unusuable. We advise to always print the prompt before using it. You can also [read the
Prompt functions are opinionated when it comes to prompt rendering. These opinions are meant to avoid common prompting errors, but can have unintended consequences if you are doing something unusual. We advise to always print the prompt before using it. You can also [read the
reference](#formatting-conventions) section if you want to know more.

## Your first prompt
Expand Down

0 comments on commit 04bbb96

Please sign in to comment.