Skip to content
Snippets Groups Projects
Unverified Commit cd54a7a6 authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

docs: remove `verbose` (#725)

parent dca02f72
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,6 @@ jobs: ...@@ -14,8 +14,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
......
...@@ -67,7 +67,6 @@ async function main() { ...@@ -67,7 +67,6 @@ async function main() {
// Create an OpenAIAgent with the function tools // Create an OpenAIAgent with the function tools
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [sumFunctionTool, divideFunctionTool], tools: [sumFunctionTool, divideFunctionTool],
verbose: true,
}); });
// Chat with the agent // Chat with the agent
......
...@@ -221,7 +221,6 @@ for (const title of wikiTitles) { ...@@ -221,7 +221,6 @@ for (const title of wikiTitles) {
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: queryEngineTools, tools: queryEngineTools,
llm, llm,
verbose: true,
}); });
documentAgents[title] = agent; documentAgents[title] = agent;
...@@ -282,7 +281,6 @@ const objectIndex = await ObjectIndex.fromObjects( ...@@ -282,7 +281,6 @@ const objectIndex = await ObjectIndex.fromObjects(
const topAgent = new OpenAIAgent({ const topAgent = new OpenAIAgent({
toolRetriever: await objectIndex.asRetriever({}), toolRetriever: await objectIndex.asRetriever({}),
llm, llm,
verbose: true,
prefixMessages: [ prefixMessages: [
{ {
content: content:
......
...@@ -88,7 +88,6 @@ Now we can create an OpenAIAgent with the function tools. ...@@ -88,7 +88,6 @@ Now we can create an OpenAIAgent with the function tools.
```ts ```ts
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [sumFunctionTool, divideFunctionTool], tools: [sumFunctionTool, divideFunctionTool],
verbose: true,
}); });
``` ```
...@@ -169,7 +168,6 @@ async function main() { ...@@ -169,7 +168,6 @@ async function main() {
// Create an OpenAIAgent with the function tools // Create an OpenAIAgent with the function tools
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [sumFunctionTool, divideFunctionTool], tools: [sumFunctionTool, divideFunctionTool],
verbose: true,
}); });
// Chat with the agent // Chat with the agent
......
...@@ -64,7 +64,6 @@ const queryEngineTool = new QueryEngineTool({ ...@@ -64,7 +64,6 @@ const queryEngineTool = new QueryEngineTool({
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [queryEngineTool], tools: [queryEngineTool],
verbose: true,
}); });
``` ```
...@@ -114,7 +113,6 @@ async function main() { ...@@ -114,7 +113,6 @@ async function main() {
// Create an OpenAIAgent with the function tools // Create an OpenAIAgent with the function tools
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [queryEngineTool], tools: [queryEngineTool],
verbose: true,
}); });
// Chat with the agent // Chat with the agent
......
...@@ -90,7 +90,6 @@ Now we can create an OpenAIAgent with the function tools. ...@@ -90,7 +90,6 @@ Now we can create an OpenAIAgent with the function tools.
```ts ```ts
const agent = new ReActAgent({ const agent = new ReActAgent({
tools: [sumFunctionTool, divideFunctionTool], tools: [sumFunctionTool, divideFunctionTool],
verbose: true,
}); });
``` ```
...@@ -185,7 +184,6 @@ async function main() { ...@@ -185,7 +184,6 @@ async function main() {
// Create an OpenAIAgent with the function tools // Create an OpenAIAgent with the function tools
const agent = new OpenAIAgent({ const agent = new OpenAIAgent({
tools: [sumFunctionTool, divideFunctionTool], tools: [sumFunctionTool, divideFunctionTool],
verbose: true,
}); });
// Chat with the agent // Chat with the agent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment