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.

Open in Colab