Skip to content

Commit

Permalink
Fix OpenAI Assistant docs (#3207)
Browse files Browse the repository at this point in the history
  • Loading branch information
igo committed Nov 9, 2023
1 parent c110aee commit c53a5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/modules/agents/agent_types/openai_assistant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We've implemented the assistant API in LangChain with some helpful abstractions.
Creating an assistant is easy. Use the `createAssistant` method and pass in a model ID, and optionally more parameters to further customize your assistant.

```typescript
import { OpenAIAssistantRunnable } from "experimental/openai_assistant";
import { OpenAIAssistantRunnable } from "langchain/experimental/openai_assistant";

const assistant = await OpenAIAssistantRunnable.createAssistant({
model: "gpt-4-1106-preview",
Expand Down Expand Up @@ -60,7 +60,7 @@ In this next example we'll show how you can turn your assistant into an agent.
```typescript
import { AgentExecutor } from "langchain/agents";
import { StructuredTool } from "langchain/tools";
import { OpenAIAssistantRunnable } from "experimental/openai_assistant";
import { OpenAIAssistantRunnable } from "langchain/experimental/openai_assistant";
```

The first step is to define a list of tools you want to pass to your assistant.
Expand Down

0 comments on commit c53a5e3

Please sign in to comment.