Skip to content

Commit

Permalink
Merge pull request #1 from dimagi/cs/chatbot_types
Browse files Browse the repository at this point in the history
Add chatbot types page
  • Loading branch information
snopoke authored Nov 20, 2024
2 parents 9d6ba59 + d0eedea commit 7113d09
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/conceptual_guide/chatbot_types.md
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

0 comments on commit 7113d09

Please sign in to comment.