summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-06-12 02:36:51 -0400
committerGitHub <noreply@github.com>2023-06-12 02:36:51 -0400
commitc09e5e20986e6337a087dd18b30f08c4580cb389 (patch)
tree5e42e41fc35a28c12f295aaee212d1476b0966af /docs
parent8303a2a5eb0724cc4224998cef9008b16898a7fb (diff)
parent8bc43221b32fda1bffa6157ab335b48d0c605973 (diff)
downloadsncontinue-c09e5e20986e6337a087dd18b30f08c4580cb389.tar.gz
sncontinue-c09e5e20986e6337a087dd18b30f08c4580cb389.tar.bz2
sncontinue-c09e5e20986e6337a087dd18b30f08c4580cb389.zip
Merge pull request #66 from continuedev/dlt-transform
add transform to dlt pipeline recipe
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/walkthroughs/create-a-recipe.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/docs/walkthroughs/create-a-recipe.md b/docs/docs/walkthroughs/create-a-recipe.md
index 60bfe9a8..3b80df8a 100644
--- a/docs/docs/walkthroughs/create-a-recipe.md
+++ b/docs/docs/walkthroughs/create-a-recipe.md
@@ -17,8 +17,6 @@ continue/continuedev/src/continuedev/recipes
## 1. Create a step
-
-
### a. Start by creating a subclass of Step
You should first consider what will be the parameters of your recipe. These are defined as attributes in the step, as with `input_file_path: str` below
@@ -33,7 +31,7 @@ If you'd like to override the default description of your steps, which is just t
- Return a static string
- Store state in a class attribute (prepend with a double underscore, which signifies (through Pydantic) that this is not a parameter for the Step, just internal state) during the run method, and then grab this in the describe method.
-- Use state in conjunction with the `models` parameter of the describe method to autogenerate a description with a language model. For example, if you'd used an attribute called `__code_written` to store a string representing some code that was written, you could implement describe as `return (await models.gpt35()).complete(f"{self.\_\_code_written}\n\nSummarize the changes made in the above code.")`.
+- Use state in conjunction with the `models` parameter of the describe method to autogenerate a description with a language model. For example, if you'd used an attribute called `__code_written` to store a string representing some code that was written, you could implement describe as `return models.gpt35.complete(f"{self.\_\_code_written}\n\nSummarize the changes made in the above code.")`.
## 2. Compose steps together into a complete recipe