You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The location of `ipython_config.py` file is documented in [IPython configuration reference](https://ipython.readthedocs.io/en/stable/config/intro.html).
@@ -965,18 +965,18 @@ produced the following Python error:
965
965
Write a new version of this code that does not produce that error.
966
966
```
967
967
968
-
As a shortcut for explaining errors, you can use the `%ai error` command, which will explain the most recent error using the model of your choice.
968
+
As a shortcut for explaining and fixing errors, you can use the `%ai fix` command, which will explain the most recent error using the model of your choice.
969
969
970
970
```
971
-
%ai error anthropic:claude-v1.2
971
+
%ai fix anthropic:claude-v1.2
972
972
```
973
973
974
974
### Creating and managing aliases
975
975
976
-
You can create an alias for a model using the `%ai register` command. For example, the command:
976
+
You can create an alias for a model using the `%ai alias` command. For example, the command:
977
977
978
978
```
979
-
%ai register claude anthropic:claude-v1.2
979
+
%ai alias claude anthropic:claude-v1.2
980
980
```
981
981
982
982
will register the alias `claude` as pointing to the `anthropic` provider's `claude-v1.2` model. You can then use this alias as you would use any other model name:
@@ -1001,10 +1001,10 @@ prompt = PromptTemplate(
1001
1001
chain = LLMChain(llm=llm, prompt=prompt)
1002
1002
```
1003
1003
1004
-
… and then use `%ai register` to give it a name:
1004
+
… and then use `%ai alias` to give it a name:
1005
1005
1006
1006
```
1007
-
%ai register companyname chain
1007
+
%ai alias companyname chain
1008
1008
```
1009
1009
1010
1010
You can change an alias's target using the `%ai update` command:
@@ -1013,10 +1013,10 @@ You can change an alias's target using the `%ai update` command:
1013
1013
%ai update claude anthropic:claude-instant-v1.0
1014
1014
```
1015
1015
1016
-
You can delete an alias using the `%ai delete` command:
1016
+
You can delete an alias using the `%ai dealias` command:
1017
1017
1018
1018
```
1019
-
%ai delete claude
1019
+
%ai dealias claude
1020
1020
```
1021
1021
1022
1022
You can see a list of all aliases by running the `%ai list` command.
@@ -1103,7 +1103,7 @@ the selections they make in the settings panel will take precedence over these v
0 commit comments