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
Copy file name to clipboardExpand all lines: docs/advanced/chat_functions/quickstart.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## What is a Chat Function?
4
4
5
-
It's a function which calls Large Language Models (LLMs) to respond to the student's messages given contextual data:
5
+
A chat function is a function which calls Large Language Models (LLMs) to respond to the messages of students given contextual data:
6
6
7
7
- question data
8
8
- user data such as past responses to the problem
@@ -16,7 +16,7 @@ Chat functions host a chatbot. Chatbots capture and automate the process of assi
16
16
- For new functions: clone the template repo for [chat-function-boilerplate](https://github.com/lambda-feedback/chat-function-boilerplate). **Make sure the new repository is set to public (it needs access to organisation secrets)**.
17
17
- For existing functions: please make your changes on a new separate branch
18
18
19
-
2._If you are creating a new chatbot_, you can either edit the `scr/agents/base_agent` or copy it and rename it based on your chatbot's name.
19
+
2._If you are creating a new chatbot_, you can either edit the `scr/agents/base_agent` or copy it and rename it based on the name of your chatbot.
20
20
3. You are now ready to start making changes and implementing features by editing each of the main function-logic files:
21
21
22
22
1. **`scr/agents/{base_agent}/{base}_agent.py`**: This file contains the main LLM pipeline using [LangGraph](https://langchain-ai.github.io/langgraph/) and [LangChain](https://python.langchain.com/docs/introduction/).
@@ -56,7 +56,7 @@ Chat functions host a chatbot. Chatbots capture and automate the process of assi
56
56
57
57
3._If you edited the chatbot agent file name_, make sure to add your chatbot `invoke()` function to the `module.py` file.
58
58
59
-
4. Update the `config.json` file with the chatbot's name.
59
+
4. Update the `config.json` file with the name of the chat function.
60
60
61
61
5. Please add a `README.md` file to describe the use and behaviour of your chatbot.
0 commit comments