Search

LlamaIndex

Search

LlamaIndex – Design pattern utilizing acomplete method of OpenAI Class (Part 7 in series)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, especially when implementing efficient asynchronous communication with multiple models. In this part of our series, we delve into a practical demonstration of interacting with OpenAI’s GPT-3.5-turbo and GPT-4 models using the llama_index package. We use a simple method called acomplete. This takes a simple string prompt and internally converts

Continue reading →

LlamaIndex – Design pattern utilizing stream method of OpenAI Class (Part 6 in series)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, especially when implementing different models in tandem to compare their outputs. In this part of our series, we delve into a Python script designed to utilize two different versions of GPT: GPT-3.5 Turbo and GPT-4, using the llama_index package.

The benefit of using multiple models is to compare their capabilities,

Continue reading →

LlamaIndex – Design pattern utilizing astream method of OpenAI Class (Part 5 in series)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, especially when implementing asynchronous streaming operations. In this part of our series, we delve into a Python model designed to interact with OpenAI’s language models asynchronously, leveraging the streaming capabilities of the LlamaIndex package.

This model enhances application responsiveness and interaction by utilizing asynchronous streaming operations. Asynchronous streaming allows the

Continue reading →

LlamaIndex – Design pattern utilizing astream_chat method of OpenAI Class (Part 4 in series)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, especially when implementing asynchronous streaming operations. In this part of our series, we delve into handling asynchronous stream API calls within the “chat” functionality of models like ChatGPT. Asynchronous streaming allows the app developer to handle generated text in real-time as it becomes available, rather than waiting for the

Continue reading →

LlamaIndex – Design pattern utilizing stream_chat method of OpenAI Class (Part 3 in series)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, particularly when dealing with streaming operations. In this part of our series, we explore how to handle streaming API calls within the “chat” functionality of models like ChatGPT. Streaming model allows the app developer to start using the generated text as it is getting generated rather than waiting

Continue reading →

LlamaIndex – Design pattern utilizing achat method of OpenAI Class (Part 2)

Engaging with Large Language Models (LLMs) presents various challenges and opportunities, particularly when dealing with asynchronous operations. In this part of our series, we explore how to handle asynchronous API calls within the “chat” functionality of models like ChatGPT. Asynchronous programming is essential for maintaining responsive applications, especially when integrating LLMs that may require significant processing time to generate responses.

Continue reading →

LlamaIndex – Technical Background

LlamaIndex is a highly popular open source library for developers, offering robust tools and abstractions to integrate large language models (LLMs) into software applications efficiently. It provides a unified API, essential text processing tools, and is optimized for performance. The framework supports extensibility and performance optimization, making it ideal for creating advanced features like chatbots, content generation, and data analysis

Continue reading →

Subscribe to our newsletter

Join over 1,000+ other people who are mastering AI in 2024

You will be the first to know when we publish new articles

Subscribe to our newsletter

Join over 1,000+ other people who are mastering AI in 2024