Get started
๐ Quickstart
๐ก Start building LLM powered apps under 30 seconds
Embedchain is a Data Platform for LLMs - load, index, retrieve, and sync any unstructured data. Using embedchain, you can easily create LLM powered apps over any data.
Install embedchain python package:
pip install embedchain
Embedchain now supports OpenAIโs latest gpt-4-turbo
model. Checkout the FAQs.
Creating an app involves 3 steps:
1
โ๏ธ Import app instance
from embedchain import Pipeline as App
app = App()
2
๐๏ธ Add data sources
app.add("https://en.wikipedia.org/wiki/Elon_Musk")
app.add("https://www.forbes.com/profile/elon-musk")
# app.add("path/to/file/elon_musk.pdf")
3
๐ฌ Ask questions, chat, or search through your data with ease
app.query("What is the net worth of Elon Musk today?")
# Answer: The net worth of Elon Musk today is $258.7 billion.
4
๐ Seamlessly launch your App on the Embedchain Platform!
app.deploy()
# ๐ Enter your Embedchain API key. You can find the API key at https://app.embedchain.ai/settings/keys/
# ec-xxxxxx
# ๐ ๏ธ Creating pipeline on the platform...
# ๐๐๐ Pipeline created successfully! View your pipeline: https://app.embedchain.ai/pipelines/xxxxx
# ๐ ๏ธ Adding data to your pipeline...
# โ
Data of type: web_page, value: https://www.forbes.com/profile/elon-musk added successfully.
Putting it together, you can run your first app using the following Google Colab. Make sure to set the OPENAI_API_KEY
๐ environment variable in the code.
Was this page helpful?