![WCC Pinecone Integration avatar](https://images.apifyusercontent.com/idvpNjpMlE3wkxmA1Rf_Xia58XlQavfebZYdYhDe9Jk/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vZjNmMEo5ekNhTUEwa2VtZHgvd1YwUnR5dG9vVzlGb2JoRnYtV0NDX1BpbmVjb25lX0ludGVncmF0aW9uLnBuZw.webp)
WCC Pinecone Integration
Try for free
No credit card required
View all Actors![WCC Pinecone Integration](https://images.apifyusercontent.com/idvpNjpMlE3wkxmA1Rf_Xia58XlQavfebZYdYhDe9Jk/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vZjNmMEo5ekNhTUEwa2VtZHgvd1YwUnR5dG9vVzlGb2JoRnYtV0NDX1BpbmVjb25lX0ludGVncmF0aW9uLnBuZw.webp)
![WCC Pinecone Integration](https://images.apifyusercontent.com/idvpNjpMlE3wkxmA1Rf_Xia58XlQavfebZYdYhDe9Jk/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vZjNmMEo5ekNhTUEwa2VtZHgvd1YwUnR5dG9vVzlGb2JoRnYtV0NDX1BpbmVjb25lX0ludGVncmF0aW9uLnBuZw.webp)
WCC Pinecone Integration
tri_angle/wcc-pinecone-integration
Try for free
No credit card required
Crawl any website and store its content in your Pinecone vector database. Enhance the accuracy and reliability of your own AI Assistant with facts fetched from external sources or connect this integration to our Pinecone GPT Chatbot assistant available in Apify Store.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "url": "https://docs.apify.com/",
9 "crawlerType": "playwright:adaptive",
10 "includeUrlGlobs": [],
11 "excludeUrlGlobs": [],
12 "initialCookies": [],
13 "proxyConfiguration": { "useApifyProxy": True },
14 "removeElementsCssSelector": """nav, footer, script, style, noscript, svg,
15[role=\"alert\"],
16[role=\"banner\"],
17[role=\"dialog\"],
18[role=\"alertdialog\"],
19[role=\"region\"][aria-label*=\"skip\" i],
20[aria-modal=\"true\"]""",
21 "clickElementsCssSelector": "[aria-expanded=\"false\"]",
22}
23
24# Run the Actor and wait for it to finish
25run = client.actor("tri_angle/wcc-pinecone-integration").call(run_input=run_input)
26
27# Fetch and print Actor results from the run's dataset (if there are any)
28print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
29for item in client.dataset(run["defaultDatasetId"]).iterate_items():
30 print(item)
31
32# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Apify
Actor metrics
- 2 monthly users
- 1 star
- 100.0% runs succeeded
- Created in May 2024
- Modified 24 days ago
Categories