---
title: "Discussion on \"Mastering LlamaIndex : Create, Save & Load Indexes, Customize LLMs, Prompts & Embeddings\" | Hashnode"
description: "Discussion on \"Mastering LlamaIndex : Create, Save & Load Indexes, Customize LLMs, Prompts & Embeddings\". LlamaIndex: Learn to create indexes, customize llm, prompts, and embeddings using langchain, open ai and huggingface."
url: "https://hashnode.com/posts/mastering-llamaindex-create-save-load-indexes-customize-llms-prompts-embeddings/64a560e87d111a4ae1f7f572"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mastering LlamaIndex : Create, Save & Load Indexes, Customize LLMs, Prompts & Embeddings](https://blog.futuresmart.ai/mastering-llamaindex-create-save-load-indexes-customize-llms-prompts-embeddings?utm_source=hashnode&utm_medium=feed)

LlamaIndex: Learn to create indexes, customize llm, prompts, and embeddings using langchain, open ai and huggingface.

Jul 5, 2023 · 4 min read · blog.futuresmart.ai  
Read the article

-   [#llamaindex](https://hashnode.com/tag/llamaindex)
-   [#llm](https://hashnode.com/tag/llm)
-   [#langchain](https://hashnode.com/tag/langchain)
-   [#semantic-search](https://hashnode.com/tag/semantic-search)
-   [#openai](https://hashnode.com/tag/openai)

## Written by

[Pradip Nichite](https://hashnode.com/@pnichite)

@pnichite · India

  
[View profile](https://hashnode.com/@pnichite)

Lead Data Scientist | NLP | GPT-3 | GPT-4 | ChatGPT | AWS

🚀 I'm a Top Rated Plus NLP freelancer on Upwork with over $300K in earnings and a 100% Job Success rate. This journey began in 2022 after years of enriching experience in the field of Data Science. 📚 Starting my career in 2013 as a Software Developer focusing on backend and API development, I soon pursued my interest in Data Science by earning my M.Tech in IT from IIIT Bangalore, specializing in Data Science (2016 - 2018). 💼 Upon graduation, I carved out a path in the industry as a Data Scientist at MiQ (2018 - 2020) and later ascended to the role of Lead Data Scientist at Oracle (2020 - 2022). 🌐 Inspired by my freelancing success, I founded FutureSmart AI in September 2022. We provide custom AI solutions for clients using the latest models and techniques in NLP. 🎥 In addition, I run AI Demos, a platform aimed at educating people about the latest AI tools through engaging video demonstrations. 🧰 My technical toolbox encompasses: 🔧 Languages: Python, JavaScript, SQL. 🧪 ML Libraries: PyTorch, Transformers, LangChain. 🔍 Specialties: Semantic Search, Sentence Transformers, Vector Databases. 🖥️ Web Frameworks: FastAPI, Streamlit, Anvil. ☁️ Other: AWS, AWS RDS, MySQL. 🚀 In the fast-evolving landscape of AI, FutureSmart AI and I stand at the forefront, delivering cutting-edge, custom NLP solutions to clients across various industries.

## Responses 2

Markdown supported · ⌘↵ to post

[law](https://hashnode.com/@law907)

[Aug 2, 2023](https://hashnode.com/posts/mastering-llamaindex-create-save-load-indexes-customize-llms-prompts-embeddings/64a560e87d111a4ae1f7f572/comment/64ca4fae218e67b3098f524f)

Hi That is nicely written guides. I have a question: For below codes;

from llama\_index import VectorStoreIndex, SimpleDirectoryReader

#Load documents from a directory documents = SimpleDirectoryReader('book').load\_data()

#Create an index from the documents index=VectorStoreIndex.from\_documents(documents)

i have an exception thrown at this line:VectorStoreIndex.from\_documents(..)

No API key found for OpenAI. Please set either the OPENAI\_API\_KEY environment variable or openai.api\_key prior to initialization. API keys can be found or created at .....

I am just testing the indexing, and i am not using openai. Why was there an openai exception when the app is executing this line: VectorStoreIndex.from\_documents(documents)?

[Abhay Singh Rathore](https://hashnode.com/@abhaysinghr1)

[Jul 8, 2023](https://hashnode.com/posts/mastering-llamaindex-create-save-load-indexes-customize-llms-prompts-embeddings/64a560e87d111a4ae1f7f572/comment/64a9794aa25b10201446143a)

Great tutorial! This is a comprehensive guide on how to create, save, and customize indexes using LlamaIndex.
