Skip to content

Commit

Permalink
Fix some mistakes, thanks @Montagon
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascayuelas committed Nov 14, 2023
1 parent 224f1fc commit e0e9ec6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,15 @@ suspend fun mealPlan() {

```

:::note Better vector stores

The underlying mechanism of the context is a _vector store_, a data structure which
saves a set of strings, and is able to find those similar to another given one.
By default xef.ai uses an _in-memory_ vector store, since it provides maximum
compatibility across platforms. However, if you foresee your context growing above
the hundreds of elements, you may consider switching to another alternative, like
Lucene or PostgreSQL also supported by xef.
To use the `search` agent you need to define your SERPAPI key in the `SERP_API_KEY` environment variable.
```shell
env SERP_API_KEY=<your-api-key>
```

>**Better vector stores**<br />
>The underlying mechanism of the context is a _vector store_, a data structure which
>saves a set of strings, and is able to find those similar to another given one.
>By default xef.ai uses an _in-memory_ vector store, since it provides maximum
>compatibility across platforms. However, if you foresee your context growing above
>the hundreds of elements, you may consider switching to another alternative, like
>Lucene or PostgreSQL also supported by xef.

0 comments on commit e0e9ec6

Please sign in to comment.