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: concepts/watcher.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,5 +5,5 @@ The -w (watch) command line option can be passed to the chainlit run command to
5
5
When this option is specified, the file watcher will be started and any changes to files will cause the server to reload the app, allowing faster iterations.
Copy file name to clipboardExpand all lines: examples/auto-gpt.mdx
+27-12Lines changed: 27 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,17 @@
2
2
title: Auto GPT
3
3
---
4
4
5
-
Example inspired from the [LangChain doc](https://python.langchain.com/en/latest/use_cases/autonomous_agents/autogpt.html)
5
+
Auto-GPT is an AI tool that uses OpenAI's GPT-4 or GPT-3.5 APIs to perform autonomous tasks. It is an "AI agent" that can be given a goal in natural language and will attempt to achieve it by breaking it into sub-tasks and using the internet and other tools in an automatic loop. Unlike interactive systems such as ChatGPT, which require manual commands for every task, Auto-GPT assigns itself new objectives to work on with the aim of reaching a greater goal, without a mandatory need for human input.
6
6
7
-
<Note>This example has extra dependencies, such as `openai`, `google-search-results` and `faiss-cpu`. You might have to install them manually.</Note>
7
+
This example is inspired from the [LangChain doc](https://python.langchain.com/en/latest/use_cases/autonomous_agents/autogpt.html).
8
+
9
+
<Note>This example has extra dependencies, such as `openai`, `google-search-results` and `faiss-cpu`.</Note>
Then, you need to go to create an OpenAI key [here](https://platform.openai.com/account/api-keys) and get a SperpApi key [here](https://serpapi.com/).
8
18
9
19
<Note>The state of the union file is available [here](https://github.com/hwchase17/langchain/blob/master/docs/modules/state_of_the_union.txt)</Note>
10
20
@@ -129,7 +139,7 @@ Then, we use [@langchain_postprocess](/api-reference/langchain-postprocess) (whi
129
139
## Try it out
130
140
131
141
```bash
132
-
$ chainlit run qa.py
142
+
chainlit run qa.py
133
143
```
134
144
135
145
You can then upload any `.txt` file to the UI and ask questions about it.
Copy file name to clipboardExpand all lines: overview.mdx
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,16 @@ Chainlit is an open-source Python package that focuses on making it incredibly e
6
6
7
7
8
8
## Advantages of Chainlit
9
-
1.**Enhanced explainability:**Chainlit's user interface enables you to visualize intermediary steps, enabling you to understand the reasoning behind an answer.
9
+
1.**Chatbot UI:**Create cool LLM-based chatbot apps directly from your python code!
10
10
11
-
2.**Debugging made easy:** Chainlit's prompt playground allows you to iterate on intermediate prompts, making it easier to identify and fix bugs.
11
+
2.**Enhanced explainability:** Chainlit's user interface enables you to visualize intermediary steps, enabling you to understand the reasoning behind an answer.
12
12
13
-
3.**Plug and play integration with LangChain:**Turn your LangChain agent in a chatbot UI with one line of code.
13
+
3.**Debugging made easy:**Chainlit's prompt playground allows you to iterate on intermediate prompts, making it easier to identify and fix bugs.
14
14
15
-
4.**Seamless file management:**The package includes a set of functions to ask and send files or documents.
15
+
4.**Plug and play integration with LangChain:**Turn your LangChain agent in a chatbot UI with one line of code.
16
16
17
-
5.**Free deployment:**Chainlit offers free deployment, allowing you to quickly and easily share your AI applications with your team or the world.
17
+
5.**Seamless file management:**The package includes a set of functions to ask and send files or documents.
18
18
19
-
6.**Improved team collaboration:** Chainlit's features, such as data persistence, human feedback, and prompt versioning, enable your team to work together more effectively and efficiently.
19
+
6.**Deployment (coming soon):** Chainlit offers simple & free deployment, allowing you to quickly and easily share your AI applications with your team or the world.
20
+
21
+
7.**Improved team collaboration (coming soon):** Chainlit's features, such as data persistence, human feedback, and prompt versioning, enable your team to work together more effectively and efficiently.
0 commit comments