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: sources/platform/integrations/ai/openai_assistants.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,11 @@ Next, we’ll show how to save data from Apify Actors into the OpenAI Vector Sto
23
23
We'll use [RAG-Web-Browser](https://apify.com/apify/rag-web-browser) to fetch the latest information from the web and provide it to the OpenAI Assistant through [function calling](https://platform.openai.com/docs/assistants/tools/function-calling?context=without-streaming).
24
24
To begin, we need to create an OpenAI Assistant with the appropriate instructions.
25
25
After that, we can initiate a conversation with the assistant by creating a thread, adding messages, and running the assistant to receive responses.
26
+
The image below provides an overview of the entire process:
26
27
27
-
The following image provides an overview of the Apify-OpenAI Assistant integration:
Before we start, we need to install all dependencies:
30
+
Before we start creating the assistant, we need to install all dependencies:
32
31
33
32
```bash
34
33
pip install apify-client openai
@@ -176,13 +175,12 @@ The latest news on LLM is as follows:
176
175
177
176
## Save data into OpenAI Vector Store and use it in the assistant
178
177
179
-
To provide real-time or proprietary data, OpenAI Assistants can access the [OpenAI Vector Store](https://platform.openai.com/docs/assistants/tools/file-search/vector-stores) to retrieve information for their asnwers.
178
+
To provide real-time or proprietary data, OpenAI Assistants can access the [OpenAI Vector Store](https://platform.openai.com/docs/assistants/tools/file-search/vector-stores) to retrieve information for their answers.
180
179
With the [Apify OpenAI Vector Store Integration](https://apify.com/jiri.spilka/openai-vector-store-integration), data saving and updating the OpenAI Vector Store can be fully automated.
181
180
For more information on automating this process, check out the blog post [How we built an AI salesman with the OpenAI Assistants API](https://blog.apify.com/enterprise-support-openai-assistant/).
182
-
183
181
The following image illustrates the Apify-OpenAI Vector Store integration:
184
182
185
-
[//]: #()
183
+

186
184
187
185
In this example, we'll demonstrate how to save data into the OpenAI Vector Store and use it in the assistant.
188
186
@@ -279,3 +277,9 @@ You can scrape a website using Apify by following these steps:
279
277
3. Configure the web scraper with the URL of the website you want to scrape.
280
278
4. Run the web scraper and download the data.
281
279
```
280
+
## Resources
281
+
282
+
-[Open AI Assistants](https://platform.openai.com/docs/assistants/overview)
283
+
-[Open AI Function Calling](https://platform.openai.com/docs/assistants/tools/function-calling)
284
+
-[Apify - RAG Web Browser](https://apify.com/apify/rag-web-browser)
285
+
-[Apify - OpenAI Vector Store Integration](https://apify.com/jiri.spilka/openai-vector-store-integration)
0 commit comments