-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from dimagi/cs/chatbot_types
Add chatbot types page
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
There are three different types of chatbots that you can build in Open Chat Studio: | ||
|
||
- Base language model | ||
- Assistant | ||
- Pipeline | ||
|
||
# Base language model | ||
|
||
This kind of bot is the most commonly used and simple to configure. It is backed the standard language model APIs such as OpenAI’s [chat completions API][1], Anthropic’s [messages API][2] or Google’s [Gemeni API][3]. | ||
|
||
Bots configured in this way have all the basic features (memory, source material etc.) and can also use some of the advanced features like Scheduling and Reminders. | ||
|
||
|
||
# Assistant | ||
Assistant bots make use of OpenAI’s [Assistants][4]. The main advantage of using Assistants is that your bot get’s access to the OpenAI tools: | ||
|
||
### [Code Interpreter][5] | ||
This allows the bot to write and execute code to accomplish tasks. | ||
|
||
### [File Search][6] | ||
This allows the bot to search and reference information provided in uploaded files. Unless your bot needs either of these capabilities, you should use a Base Language Model type bot. | ||
|
||
|
||
# Pipeline | ||
This is a beta feature that has not yet been fully released. Pipelines allow you to create more complex bots by defining a ‘graph’ of nodes. Each message to the bot is processed by the graph to produce a final output. | ||
|
||
This can be useful if you want to build a complex bot that performs different tasks depending on the user’s request. Generally, trying to make a single bot prompt do multiple functions doesn’t work well so it is better to create multiple prompts for each task and then combine them using a Pipeline. This is similar to the Multi-bot setup but allows more flexibility and complexity. | ||
|
||
|
||
[1]: https://platform.openai.com/docs/guides/text-generation | ||
[2]: https://docs.anthropic.com/en/api/messages | ||
[3]: https://ai.google.dev/ | ||
[4]: https://platform.openai.com/docs/assistants/overview | ||
[5]: https://platform.openai.com/docs/assistants/tools/code-interpreter | ||
[6]: https://platform.openai.com/docs/assistants/tools/file-search |