Posts on Artificial Intelligence
-
How to supercharge your LLM with Langchain Agents
Tools and toolkits Tools are functions that will perform actions on behalf of the LLM. An agent gets a list of tools for it to use and it will request to use one, several, or none. The Agent Executor will execute the required tools and feed the result back to the Agent. An examp...
-
Maximizing the Potential of LLMs: Using Vector Databases
What do vector databases do? A vector database stores and indexes vector embeddings. This is useful for fast retrieval of vectors and looking for similar vectors. Similarity search We can find similarity of vectors by calculating a vector's distance to all other vectors. The nea...
-
Maximizing the Potential of LLMs: A Guide to Prompt Engineering
Language models have rapidly improved in recent years, with large language models (LLMs) such as GPT-3 and GPT-4 taking center stage. These models have become popular due to their ability to perform a great variety of tasks with incredible skill. Also, as the number of parameter...