From e0e9ec6e19b3abbf128d35483caa88ff577a322f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cayuelas=20Ruiz?= Date: Tue, 14 Nov 2023 15:44:59 +0100 Subject: [PATCH] Fix some mistakes, thanks @Montagon --- docs/intro.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/intro.md b/docs/intro.md index 5196f3deb..ec56ccda7 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -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= +``` + +>**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.