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:


โš™๏ธ Import app instance

from embedchain import Pipeline as App
app = App()

๐Ÿ—ƒ๏ธ Add data sources

# app.add("path/to/file/elon_musk.pdf")

๐Ÿ’ฌ 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.

๐Ÿš€ Seamlessly launch your App on the Embedchain Platform!

# ๐Ÿ”‘ 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.

Open in Colab