ChangeLogο
Unreleasedο
New Featuresο
Added
Konko
LLM support (#7775)
Bug Fixes / Nitsο
Normalize scores returned from ElasticSearch vector store (#7792)
Fixed
refresh_ref_docs()
bug with order of operations (#7664)Delay postgresql connection for
PGVectorStore
until actually needed (#7793)
[0.8.33] - 2023-09-25ο
New Featuresο
add pairwise evaluator + benchmark auto-merging retriever (#7810)
Bug Fixes / Nitsο
Minor cleanup in embedding class (#7813)
Misc updates to
OpenAIEmbedding
(#7811)
[0.8.32] - 2023-09-24ο
New Featuresο
Added native support for
HuggingFaceEmbedding
,InstructorEmbedding
, andOptimumEmbedding
(#7795)Added metadata filtering and hybrid search to MyScale vector store (#7780)
Allowing custom text field name for Milvus (#7790)
Add support for
vector_store_query_mode
toVectorIndexAutoRetriever
(#7797)
Bug Fixes / Nitsο
Update
LanceDBVectorStore
to handle score and distance (#7754)Pass LLM to
memory_cls
inCondenseQuestionChatEngine
(#7785)
[0.8.31] - 2023-09-22ο
New Featuresο
add pydantic metadata extractor (#7778)
Allow users to set the embedding dimensions in azure cognitive vector store (#7734)
Add semantic similarity evaluator (#7770)
Bug Fixes / Nitsο
πdocs: Update Chatbot Tutorial and Notebook (#7767)
Fixed response synthesizers with empty nodes (#7773)
Fix
NotImplementedError
in auto vector retriever (#7764)Multiple kwargs values in βKnowledgeGraphQueryEngineβ bug-fix (#7763)
Allow setting azure cognitive search dimensionality (#7734)
Pass service context to index for dataset generator (#7748)
Fix output parsers for selector templates (#7774)
Update Chatbot_SEC.ipynb (#7711)
linter/typechecker-friendly improvements to cassandra test (#7771)
Expose debug option of
PgVectorStore
(#7776)llms/openai: fix Azure OpenAI by considering
prompt_filter_results
field (#7755)
[0.8.30] - 2023-09-21ο
New Featuresο
Add support for
gpt-3.5-turbo-instruct
(#7729)Add support for
TimescaleVectorStore
(#7727)Added
LongContextReorder
for lost-in-the-middle issues (#7719)Add retrieval evals (#7738)
Bug Fixes / Nitsο
Added node post-processors to async context chat engine (#7731)
Added unique index name for postgres tsv column (#7741)
[0.8.29.post1] - 2023-09-18ο
Bug Fixes / Nitsο
Fix langchain import error for embeddings (#7714)
[0.8.29] - 2023-09-18ο
New Featuresο
Added metadata filtering to the base simple vector store (#7564)
add low-level router guide (#7708)
Add CustomQueryEngine class (#7703)
Bug Fixes / Nitsο
Fix context window metadata in lite-llm (#7696)
[0.8.28] - 2023-09-16ο
New Featuresο
Add CorrectnessEvaluator (#7661)
Added support for
Ollama
LLMs (#7635)Added
HWPReader
(#7672)Simplified portkey LLM interface (#7669)
Added async operation support to
ElasticsearchStore
vector store (#7613)Added support for
LiteLLM
(#7600)Added batch evaluation runner (#7692)
Bug Fixes / Nitsο
Avoid
NotImplementedError
for async langchain embeddings (#7668)Imrpoved reliability of LLM selectors (#7678)
Fixed
query_wrapper_prompt
andsystem_prompt
for output parsers and completion models (#7678)Fixed node attribute inheritance in citation query engine (#7675)
Breaking Changesο
Refactor and update
BaseEvaluator
interface to be more consistent (#7661)Use
evaluate
function for generic inputUse
evaluate_response
function withResponse
objects from llama index query engine
Update existing evaluators with more explicit naming
ResponseEvaluator
->FaithfulnessEvaluator
QueryResponseEvaluator
->RelevancyEvaluator
old names are kept as class aliases for backwards compatibility
[0.8.27] - 2023-09-14ο
New Featuresο
add low-level tutorial section (#7673)
Bug Fixes / Nitsο
default delta should be a dict (#7665)
better query wrapper logic on LLMPredictor (#7667)
[0.8.26] - 2023-09-12ο
New Featuresο
add non-linear embedding adapter (#7658)
Add βfinetune + RAGβ evaluation to knowledge fine-tuning notebook (#7643)
Bug Fixes / Nitsο
Fixed chunk-overlap for sentence splitter (#7590)
[0.8.25] - 2023-09-12ο
New Featuresο
Added
AGENT_STEP
callback event type (#7652)
Bug Fixes / Nitsο
Allowed
simple
mode to work withas_chat_engine()
(#7637)Fixed index error in azure streaming (#7646)
Removed
pdb
from llama-cpp (#7651)
[0.8.24] - 2023-09-11ο
New Featuresο
guide: fine-tuning to memorize knowledge (#7626)
added ability to customize prompt template for eval modules (#7626)
Bug Fixesο
Properly detect
llama-cpp-python
version for loading the default GGML or GGUFllama2-chat-13b
model (#7616)Pass in
summary_template
properly withRetrieverQueryEngine.from_args()
(#7621)Fix span types in wandb callback (#7631)
[0.8.23] - 2023-09-09ο
Bug Fixesο
Make sure context and system prompt is included in prompt for first chat for llama2 (#7597)
Avoid negative chunk size error in refine process (#7607)
Fix relationships for small documents in hierarchical node parser (#7611)
Update Anyscale Endpoints integration with full streaming and async support (#7602)
Better support of passing credentials as LLM constructor args in
OpenAI
,AzureOpenAI
, andAnyscale
(#7602)
Breaking Changesο
Update milvus vector store to support filters and dynamic schemas (#7286)
See the updated notebook for usage
Added NLTK to core dependencies to support the default sentence splitter (#7606)
[0.8.22] - 2023-09-07ο
New Featuresο
Added support for ElasticSearch Vector Store (#7543)
Bug Fixes / Nitsο
Fixed small
_index
bug inElasticSearchReader
(#7570)Fixed bug with prompt helper settings in global service contexts (#7576)
Remove newlines from openai embeddings again (#7588)
Fixed small bug with setting
query_wrapper_prompt
in the service context (#7585)
Breaking/Deprecated API Changesο
Clean up vector store interface to use
BaseNode
instead ofNodeWithEmbedding
For majority of users, this is a no-op change
For users directly operating with the
VectorStore
abstraction and manually constructingNodeWithEmbedding
objects, this is a minor breaking change. UseTextNode
withembedding
set directly, instead ofNodeWithEmbedding
.
[0.8.21] - 2023-09-06ο
New Featuresο
add embedding adapter fine-tuning engine + guide (#7565)
Added support for Azure Cognitive Search vector store (#7469)
Support delete in supabase (#6951)
Added support for Espilla vector store (#7539)
Added support for AnyScale LLM (#7497)
Bug Fixes / Nitsο
Default to user-configurable top-k in
VectorIndexAutoRetriever
(#7556)Catch validation errors for structured responses (#7523)
Fix streaming refine template (#7561)
[0.8.20] - 2023-09-04ο
New Featuresο
Added Portkey LLM integration (#7508)
Support postgres/pgvector hybrid search (#7501)
upgrade recursive retriever node reference notebook (#7537)
[0.8.19] - 2023-09-03ο
New Featuresο
replace list index with summary index (#7478)
rename list index to summary index part 2 (#7531)
[0.8.17] - 2023-09-02ο
New Featuresο
Make (some) loaders serializable (#7498)
add node references to recursive retrieval (#7522)
Bug Fixes / Nitsο
Raise informative error when metadata is too large during splitting (#7513)
Allow langchain splitter in simple node parser (#7517)
[0.8.16] - 2023-09-01ο
Bug Fixes / Nitsο
fix link to Marvin notebook in docs (#7504)
Ensure metadata is not
None
inSimpleWebPageReader
(#7499)Fixed KGIndex visualization (#7493)
Improved empty response in KG Index (#7493)
[0.8.15] - 2023-08-31ο
New Featuresο
Added support for
MarvinEntityExtractor
metadata extractor (#7438)Added a url_metadata callback to SimpleWebPageReader (#7445)
Expanded callback logging events (#7472)
Bug Fixes / Nitsο
Only convert newlines to spaces for text 001 embedding models in OpenAI (#7484)
Fix
KnowledgeGraphRagRetriever
for non-nebula indexes (#7488)Support defined embedding dimension in
PGVectorStore
(#7491)Greatly improved similarity calculation speed for the base vector store (#7494)
[0.8.14] - 2023-08-30ο
New Featuresο
feat: non-kg heterogeneous graph support in Graph RAG (#7459)
rag guide (#7480)
Bug Fixes / Nitsο
Improve openai fine-tuned model parsing (#7474)
doing some code de-duplication (#7468)
support both str and templates for query_wrapper_prompt in HF LLMs (#7473)
[0.8.13] - 2023-08-29ο
New Featuresο
Add embedding finetuning (#7452)
Added support for RunGPT LLM (#7401)
Integration guide and notebook with DeepEval (#7425)
Added
VectorIndex
andVectaraRetriever
as a managed index (#7440)Added support for
to_tool_list
to detect and use async functions (#7282)
[0.8.12] - 2023-08-28ο
New Featuresο
add openai finetuning class (#7442)
Service Context to/from dict (#7395)
add finetuning guide (#7429)
Smaller Features / Nits / Bug Fixesο
Add example how to run FalkorDB docker (#7441)
Update root.md to use get_response_synthesizer expected type. (#7437)
Bugfix MonsterAPI Pydantic version v2/v1 support. Doc Update (#7432)
[0.8.10.post1] - 2023-08-25ο
New Featuresο
Added support for
MonsterLLM
using MonsterAPI (#7343)Support comments fields in NebulaGraphStore and int type VID (#7402)
Added configurable endpoint for DynamoDB (#6777)
Add structured answer filtering for Refine response synthesizer (#7317)
Bug Fixes / Nitsο
Use
utf-8
for json file reader (#7390)Fix entity extractor initialization (#7407)
[0.8.9] - 2023-08-24ο
New Featuresο
Added support for FalkorDB/RedisGraph graph store (#7346)
Added directed sub-graph RAG (#7378)
Added support for
BM25Retriever
(#7342)
Bug Fixes / Nitsο
Added
max_tokens
toXinference
LLM (#7372)Support cache dir creation in multithreaded apps (#7365)
Ensure temperature is a float for openai (#7382)
Remove duplicate subjects in knowledge graph retriever (#7378)
Added support for both pydantic v1 and v2 to allow other apps to move forward (#7394)
Breaking/Deprecated API Changesο
Refactor prompt template (#7319)
Use
BasePromptTemplate
for generic typingUse
PromptTemplate
,ChatPromptTemplate
,SelectorPromptTemplate
as core implementationsUse
LangchainPromptTemplate
for compatibility with Langchain prompt templatesFully replace specific prompt classes (e.g.
SummaryPrompt
) with genericBasePromptTemplate
for typing in codebase.Keep
Prompt
as an alias forPromptTemplate
for backwards compatibility.BREAKING CHANGE: remove support for
Prompt.from_langchain_prompt
, please usetemplate=LangchainPromptTemplate(lc_template)
instead.
[0.8.8] - 2023-08-23ο
New Featuresο
OpenAIFineTuningHandler
for collecting LLM inputs/outputs for OpenAI fine tuning (#7367)
Bug Fixes / Nitsο
Add support for
claude-instant-1.2
(#7369)
[0.8.7] - 2023-08-22ο
New Featuresο
Support fine-tuned OpenAI models (#7364)
Added support for Cassandra vector store (#6784)
Support pydantic fields in tool functions (#7348)
Bug Fixes / Nitsο
Fix inifinite looping with forced function call in
OpenAIAgent
(#7363)
[0.8.6] - 2023-08-22ο
New Featuresο
auto vs. recursive retriever notebook (#7353)
Reader and Vector Store for BagelDB with example notebooks (#7311)
Bug Fixes / Nitsο
Use service context for intermediate index in retry source query engine (#7341)
temp fix for prompt helper + chat models (#7350)
Properly skip unit-tests when packages not installed (#7351)
[0.8.5.post2] - 2023-08-20ο
New Featuresο
Added FireStore docstore/index store support (#7305)
add recursive agent notebook (#7330)
Bug Fixes / Nitsο
Fix Azure pydantic error (#7329)
fix callback trace ids (make them a context var) (#7331)
[0.8.5.post1] - 2023-08-18ο
New Featuresο
Awadb Vector Store (#7291)
Bug Fixes / Nitsο
Fix bug in OpenAI llm temperature type
[0.8.5] - 2023-08-18ο
New Featuresο
Expose a system prompt/query wrapper prompt in the service context for open-source LLMs (#6647)
Changed default MyScale index format to
MSTG
(#7288)Added tracing to chat engines/agents (#7304)
move LLM and embeddings to pydantic (#7289)
Bug Fixes / Nitsο
Fix sentence splitter bug (#7303)
Fix sentence splitter infinite loop (#7295)
[0.8.4] - 2023-08-17ο
Bug Fixes / Nitsο
Improve SQL Query parsing (#7283)
Fix loading embed_model from global service context (#7284)
Limit langchain version until we migrate to pydantic v2 (#7297)
[0.8.3] - 2023-08-16ο
New Featuresο
Added Knowledge Graph RAG Retriever (#7204)
Bug Fixes / Nitsο
accept
api_key
kwarg in OpenAI LLM class constructor (#7263)Fix to create separate queue instances for separate instances of
StreamingAgentChatResponse
(#7264)
[0.8.2.post1] - 2023-08-14ο
New Featuresο
Added support for Rockset as a vector store (#7111)
Bug Fixesο
Fixed bug in service context definition that could disable LLM (#7261)
[0.8.2] - 2023-08-14ο
New Featuresο
Enable the LLM or embedding model to be disabled by setting to
None
in the service context (#7255)Resolve nearly any huggingface embedding model using the
embed_model="local:<model_name>"
syntax (#7255)Async tool-calling support (#7239)
Bug Fixes / Nitsο
Updated supabase kwargs for add and query (#7103)
Small tweak to default prompts to allow for more general purpose queries (#7254)
Make callback manager optional for
CustomLLM
+ docs update (#7257)
[0.8.1] - 2023-08-13ο
New Featuresο
feat: add node_postprocessors to ContextChatEngine (#7232)
add ensemble query engine tutorial (#7247)
Smaller Featuresο
Allow EMPTY keys for Fastchat/local OpenAI API endpoints (#7224)
[0.8.0] - 2023-08-11ο
New Featuresο
Added βLLAMA_INDEX_CACHE_DIRβ to control cached files (#7233)
Default to pydantic selectors when possible (#7154, #7223)
Remove the need for langchain wrappers on
embed_model
in the service context (#7157)Metadata extractors take an
LLM
object now, in addition toLLMPredictor
(#7202)Added local mode + fallback to llama.cpp + llama2 (#7200)
Added local fallback for embeddings to
BAAI/bge-small-en
(#7200)Added
SentenceWindowNodeParser
+MetadataReplacementPostProcessor
(#7211)
Breaking Changesο
Change default LLM to gpt-3.5-turbo from text-davinci-003 (#7223)
Change prompts for compact/refine/tree_summarize to work better with gpt-3.5-turbo (#7150, #7179, #7223)
Increase default LLM temperature to 0.1 (#7180)
[0.7.24] - 2023-08-10ο
New Featuresο
Default to pydantic selectors when possible (#7154, #7223)
Remove the need for langchain wrappers on
embed_model
in the service context (#7157)Metadata extractors take an
LLM
object now, in addition toLLMPredictor
(#7202)Added local mode + fallback to llama.cpp + llama2 (#7200)
Added local fallback for embeddings to
BAAI/bge-small-en
(#7200)Added
SentenceWindowNodeParser
+MetadataReplacementPostProcessor
(#7211)
Breaking Changesο
Change default LLM to gpt-3.5-turbo from text-davinci-003 (#7223)
Change prompts for compact/refine/tree_summarize to work better with gpt-3.5-turbo (#7150, #7179, #7223)
Increase default LLM temperature to 0.1 (#7180)
Other Changesο
docs: Improvements to Mendable Search (#7220)
Refactor openai agent (#7077)
Bug Fixes / Nitsο
Use
1 - cosine_distance
for pgvector/postgres vector db (#7217)fix metadata formatting and extraction (#7216)
fix(readers): Fix non-ASCII JSON Reader bug (#7086)
Chore: change PgVectorStore variable name from
sim
todistance
for clarity (#7226)
[0.7.23] - 2023-08-10ο
Bug Fixes / Nitsο
Fixed metadata formatting with custom tempalates and inheritance (#7216)
[0.7.23] - 2023-08-10ο
New Featuresο
Add βone click observabilityβ page to docs (#7183)
Added Xorbits inference for local deployments (#7151)
Added Zep vector store integration (#7203)
feat/zep vectorstore (#7203)
Bug Fixes / Nitsο
Update the default
EntityExtractor
model (#7209)Make
ChatMemoryBuffer
pickleable (#7205)Refactored
BaseOpenAIAgent
(#7077)
[0.7.22] - 2023-08-08ο
New Featuresο
add ensemble retriever notebook (#7190)
DOCS: added local llama2 notebook (#7146)
Bug Fixes / Nitsο
Fix for
AttributeError: 'OpenAIAgent' object has no attribute 'callback_manager'
by calling super constructor withinBaseOpenAIAgent
Remove backticks from nebula queries (#7192)
[0.7.20] - 2023-08-06ο
New Featuresο
add router module docs (#7171)
add retriever router (#7166)
New Featuresο
Added a
RouterRetriever
for routing queries to specific retrievers (#7166)
Bug Fixes / Nitsο
Fix for issue where having multiple concurrent streamed responses from
OpenAIAgent
would result in interleaving of tokens across each response stream. (#7164)fix llms callbacks issue (args[0] error) (#7165)
[0.7.19] - 2023-08-04ο
New Featuresο
Added metadata filtering to weaviate (#7130)
Added token counting (and all callbacks) to agents and streaming (#7122)
[0.7.18] - 2023-08-03ο
New Featuresο
Added
to/from_string
andto/from_dict
methods to memory objects (#7128)Include columns comments from db tables in table info for SQL queries (#7124)
Add Neo4j support (#7122)
Bug Fixes / Nitsο
Added
Azure AD
validation support to theAzureOpenAI
class (#7127)add
flush=True
when printing agent/chat engine response stream (#7129)Added
Azure AD
support to theAzureOpenAI
class (#7127)Update LLM question generator prompt to mention JSON markdown (#7105)
Fixed
astream_chat
in chat engines (#7139)
[0.7.17] - 2023-08-02ο
New Featuresο
Update
ReActAgent
to support memory modules (minor breaking change since the constructor takesmemory
instead ofchat_history
, but the mainfrom_tools
method remains backward compatible.) (#7116)Update
ReActAgent
to support streaming (#7119)Added Neo4j graph store and query engine integrations (#7122)
add object streaming (#7117)
[0.7.15] - 2023-07-29ο
Bug Fixes / Nitsο
anthropic api key customization (#7082)
Fix broken link to API reference in Contributor Docs (#7080)
Update vector store docs (#7076)
Update comment (#7073)
[0.7.14] - 2023-07-28ο
New Featuresο
Added HotpotQADistractor benchmark evaluator (#7034)
Add metadata filter and delete support for LanceDB (#7048)
Use MetadataFilters in opensearch (#7005)
Added support for
KuzuGraphStore
(#6970)Added
kg_triplet_extract_fn
to customize how KGs are built (#7068)
Bug Fixes / Nitsο
Fix string formatting in context chat engine (#7050)
Fixed tracing for async events (#7052)
Less strict triplet extraction for KGs (#7059)
Add configurable limit to KG data retrieved (#7059)
Nebula connection improvements (#7059)
Bug fix in building source nodes for agent response (#7067)
[0.7.13] - 2023-07-26ο
New Featuresο
Support function calling api for AzureOpenAI (#7041)
Bug Fixes / Nitsο
tune prompt to get rid of KeyError in SubQ engine (#7039)
Fix validation of Azure OpenAI keys (#7042)
[0.7.12] - 2023-07-25ο
New Featuresο
Added
kwargs
toComposableGraph
for the underlying query engines (#6990)Validate openai key on init (#6940)
Added async embeddings and async RetrieverQueryEngine (#6587)
Added async
aquery
andasync_add
to PGVectorStore (#7031)Added
.source_nodes
attribute to chat engine and agent responses (#7029)Added
OpenInferenceCallback
for storing generation data in OpenInference format (#6998)
Bug Fixes / Nitsο
Fix achat memory initialization for data agents (#7000)
Add
print_response_stream()
to agengt/chat engine response class (#7018)
Bug Fixes / Nitsο
Fix achat memory initialization for data agents (#7000)
Add
print_response_stream()
to agengt/chat engine response class (#7018)
[v0.7.11.post1] - 2023-07-20ο
New Featuresο
Default to pydantic question generation when possible for sub-question query engine (#6979)
Bug Fixes / Nitsο
Fix returned order of messages in large chat memory (#6979)
[v0.7.11] - 2023-07-19ο
New Featuresο
Added a
SentenceTransformerRerank
node post-processor for fast local re-ranking (#6934)Add numpy support for evaluating queries in pandas query engine (#6935)
Add metadata filtering support for Postgres Vector Storage integration (#6968)
Proper llama2 support for agents and query engines (#6969)
Bug Fixes / Nitsο
Added
model_name
to LLMMetadata (#6911)Fallback to retriever service context in query engines (#6911)
Fixed
as_chat_engine()
ValueError with extra kwargs (#6971
[v0.7.10.post1] - 2023-07-18ο
New Featuresο
Add support for Replicate LLM (vicuna & llama 2!)
Bug Fixes / Nitsο
fix streaming for condense chat engine (#6958)
[v0.7.10] - 2023-07-17ο
New Featuresο
Add support for chroma v0.4.0 (#6937)
Log embedding vectors to callback manager (#6962)
Bug Fixes / Nitsο
add more robust embedding timeouts (#6779)
improved connection session management on postgres vector store (#6843)
[v0.7.9] - 2023-07-15ο
New Featuresο
specify
embed_model="local"
to use default local embbeddings in the service context (#6806)Add async
acall
endpoint toBasePydanticProgram
(defaults to sync version). Implement forOpenAIPydanticProgram
Bug Fixes / Nitsο
fix null metadata for searching existing vector dbs (#6912)
add module guide docs for
SimpleDirectoryReader
(#6916)make sure
CondenseQuestionChatEngine
streaming chat endpoints work even if not explicitly settingstreaming=True
in the underlying query engine.
[v0.7.8] - 2023-07-13ο
New Featuresο
Added embedding speed benchmark (#6876)
Added BEIR retrieval benchmark (#6825)
Bug Fixes / Nitsο
remove toctrees from deprecated_terms (#6895)
Relax typing dependencies (#6879)
docs: modification to evaluation notebook (#6840)
raise error if the model does not support functions (#6896)
fix(bench embeddings): bug not taking into account string length (#6899)x
[v0.7.7] - 2023-07-13ο
New Featuresο
Improved milvus consistency support and output fields support (#6452)
Added support for knowledge graph querying w/ cypyer+nebula (#6642)
Added
Document.example()
to create documents for fast prototyping (#6739)Replace react chat engine to use native reactive agent (#6870)
Bug Fixes / Nitsο
chore: added a help message to makefile (#6861)
Bug Fixes / Nitsο
Fixed support for using SQLTableSchema context_str attribute (#6891)
[v0.7.6] - 2023-07-12ο
New Featuresο
Added sources to agent/chat engine responses (#6854)
Added basic chat buffer memory to agents / chat engines (#6857)
Adding load and search tool (#6871)
Add simple agent benchmark (#6869)
add agent docs (#6866)
add react agent (#6865)
Breaking/Deprecated API Changesο
Replace react chat engine with native react agent (#6870)
Set default chat mode to βbestβ: use openai agent when possible, otherwise use react agent (#6870)
Bug Fixes / Nitsο
Fixed support for legacy vector store metadata (#6867)
fix chroma notebook in docs (#6872)
update LC embeddings docs (#6868)
[v0.7.5] - 2023-07-11ο
New Featuresο
Add
Anthropic
LLM implementation (#6855)
Bug Fixes / Nitsο
Fix indexing error in
SentenceEmbeddingOptimizer
(#6850)fix doc for custom embedding model (#6851)
fix(silent error): Add validation to
SimpleDirectoryReader
(#6819)Fix link in docs (#6833)
Fixes Azure gpt-35-turbo model not recognized (#6828)
Update Chatbot_SEC.ipynb (#6808)
Rename leftover original name to LlamaIndex (#6792)
patch nested traces of the same type (#6791)
[v0.7.4] - 2023-07-08ο
New Featuresο
MetadataExtractor
- Documnent Metadata Augmentation via LLM-based feature extractors (#6764)
Bug Fixes / Nitsο
fixed passing in query bundle to node postprocessors (#6780)
fixed error in callback manager with nested traces (#6791)
[v0.7.3] - 2023-07-07ο
New Featuresο
Sub question query engine returns source nodes of sub questions in the callback manager (#6745)
trulens integration (#6741)
Add sources to subquestion engine (#6745)
Bug Fixes / Nitsο
Added/Fixed streaming support to simple and condense chat engines (#6717)
fixed
response_mode="no_text"
response synthesizer (#6755)fixed error setting
num_output
andcontext_window
in service context (#6766)Fix missing as_query_engine() in tutorial (#6747)
Fixed variable sql_query_engine in the notebook (#6778)
fix required function fields (#6761)
Remove usage of stop token in Prompt, SQL gen (#6782)
[v0.7.2] - 2023-07-06ο
New Featuresο
Support Azure OpenAI (#6718)
Support prefix messages (e.g. system prompt) in chat engine and OpenAI agent (#6723)
Added
CBEventType.SUB_QUESTIONS
event type for tracking sub question queries/responses (#6716)
Bug Fixes / Nitsο
Fix HF LLM output error (#6737)
Add system message support for langchain message templates (#6743)
Fixed applying node-postprocessors (#6749)
Add missing
CustomLLM
import underllama_index.llms
(#6752)fix(typo):
get_transformer_tokenizer_fn
(#6729)feat(formatting):
black[jupyter]
(#6732)fix(test):
test_optimizer_chinese
(#6730)
[v0.7.1] - 2023-07-05ο
New Featuresο
Streaming support for OpenAI agents (#6694)
add recursive retriever + notebook example (#6682)
[v0.7.0] - 2023-07-04ο
New Featuresο
Index creation progress bars (#6583)
Bug Fixes/ Nitsο
Improved chat refine template (#6645)
Breaking/Deprecated API Changesο
Change
BaseOpenAIAgent
to usellama_index.llms.OpenAI
. Adjustchat_history
to useList[ChatMessage]]
as type.Remove (previously deprecated)
llama_index.langchain_helpers.chain_wrapper
module.Remove (previously deprecated)
llama_index.token_counter.token_counter
module. See migration guide for more details on new callback based token counting.Remove
ChatGPTLLMPredictor
andHuggingFaceLLMPredictor
. See migration guide for more details on replacements.Remove support for setting
cache
viaLLMPredictor
constructor.Update
BaseChatEngine
interface:adjust
chat_history
to useList[ChatMessage]]
as typeexpose
chat_history
state as a propertysupport overriding
chat_history
inchat
andachat
endpoints
Remove deprecated arguments for
PromptHelper
:max_input_size
,embedding_limit
,max_chunk_overlap
Update all notebooks to use native openai integration (#6696)
[v0.6.38] - 2023-07-02ο
New Featuresο
add optional tqdm progress during index creation (#6583)
Added async support for βcompactβ and βrefineβ response modes (#6590)
[feature]add transformer tokenize functionalities for optimizer (chinese) (#6659)
Add simple benchmark for vector store (#6670)
Introduce
llama_index.llms
module, with newLLM
interface, andOpenAI
,HuggingFaceLLM
,LangChainLLM
implementations. (#6615)Evaporate pydantic program (#6666)
Bug Fixes / Nitsο
Improve metadata/node storage and retrieval for RedisVectorStore (#6678)
Fixed node vs. document filtering in vector stores (#6677)
add context retrieval agent notebook link to docs (#6660)
Allow null values for the βimageβ property in the ImageNode class and seβ¦ (#6661)
Fix broken links in docs (#6669)
update milvus to store node content (#6667)
[v0.6.36] - 2023-06-29ο
New Featuresο
Redis support for index stores and docstores (#6575)
DuckDB + SQL query engine notebook (#6628)
add notebook showcasing deplot data loader (#6638)
Bug Fixes / Nitsο
More robust JSON parsing from LLM for
SelectionOutputParser
(#6610)bring our loaders back in line with llama-hub (#6630)
Remove usage of SQLStructStoreIndex in notebooks (#6585)
MD reader: remove html tags and leave linebreaks alone (#6618)
bump min langchain version to latest version (#6632)
Fix metadata column name in postgres vector store (#6622)
Postgres metadata fixes (#6626, #6634)
fixed links to dataloaders in contribution.md (#6636)
fix: typo in docs in creating custom_llm huggingface example (#6639)
Updated SelectionOutputParser to handle JSON objects and arrays (#6610)
Fixed docstring argument typo (#6652)
[v0.6.35] - 2023-06-28ο
refactor structured output + pydantic programs (#6604)
Bug Fixes / Nitsο
Fix serialization for OpenSearch vector stores (#6612)
patch docs relationships (#6606)
Bug fix for ignoring directories while parsing git repo (#4196)
updated Chroma notebook (#6572)
Backport old node name (#6614)
Add the ability to change chroma implementation (#6601)
[v0.6.34] - 2023-06-26ο
Patch Update (v0.6.34.post1)ο
Patch imports for Document obj for backwards compatibility (#6597)
New Featuresο
New
TextNode
/Document
object classes based on pydantic (#6586)TextNode
/Document
objects support metadata customization (metadata templates, exclude metadata from LLM or embeddings) (#6586)Nodes no longer require flat metadata dictionaries, unless the vector store you use requires it (#6586)
Bug Fixes / Nitsο
use
NLTK_DATA
env var to control NLTK download location (#6579)[discord] save author as metadata in group_conversations.py (#6592)
bs4 -> beautifulsoup4 in requirements (#6582)
negate euclidean distance (#6564)
add df output parser notebook link to docs (#6581)
Breaking/Deprecated API Changesο
Node
has been renamed toTextNode
and is imported fromllama_index.schema
(#6586)TextNode
andDocument
must be instansiated with kwargs:Document(text=text)
(#6586)TextNode
(fkaNode
) has aid_
ornode_id
property, rather thandoc_id
(#6586)TextNode
andDocument
have a metadata property, which replaces the extra_info property (#6586)TextNode
no longer has anode_info
property (start/end indexes are accessed directly withstart/end_char_idx
attributes) (#6586)
[v0.6.33] - 2023-06-25ο
New Featuresο
Add typesense vector store (#6561)
add df output parser (#6576)
Bug Fixes / Nitsο
Track langchain dependency via bridge module. (#6573)
[v0.6.32] - 2023-06-23ο
New Featuresο
add object index (#6548)
add SQL Schema Node Mapping + SQLTableRetrieverQueryEngine + obj index fixes (#6569)
sql refactor (NLSQLTableQueryEngine) (#6529)
Bug Fixes / Nitsο
Update vector_stores.md (#6562)
Minor
BaseResponseBuilder
interface cleanup (#6557)Refactor TreeSummarize (#6550)
[v0.6.31] - 2023-06-22ο
Bug Fixes / Nitsο
properly convert weaviate distance to score (#6545)
refactor tree summarize and fix bug to not truncate context (#6550)
fix custom KG retrieval notebook nits (#6551)
[v0.6.30] - 2023-06-21ο
New Featuresο
multi-selector support in router query engine (#6518)
pydantic selector support in router query engine using OpenAI function calling API (#6518)
streaming response support in
CondenseQuestionChatEngine
andSimpleChatEngine
(#6524)metadata filtering support in
QdrantVectorStore
(#6476)add
PGVectorStore
to support postgres with pgvector (#6190)
Bug Fixes / Nitsο
better error handling in the mbox reader (#6248)
Fix blank similarity score when using weaviate (#6512)
fix for sorted nodes in
PrevNextNodePostprocessor
(#6048)
Breaking/Deprecated API Changesο
Refactor PandasQueryEngine to take in df directly, deprecate PandasIndex (#6527)
[v0.6.29] - 2023-06-20ο
New Featuresο
query planning tool with OpenAI Function API (#6520)
docs: example of kg+vector index (#6497)
Set context window sizes for Cohere and AI21(J2 model) (#6485)
Bug Fixes / Nitsο
add default input size for Cohere and AI21 (#6485)
docs: replace comma with colon in dict object (#6439)
extra space in prompt and error message update (#6443)
[Issue 6417] Fix prompt_templates docs page (#6499)
Rip out monkey patch and update model to context window mapping (#6490)
[v0.6.28] - 2023-06-19ο
New Featuresο
New OpenAI Agent + Query Engine Cookbook (#6496)
allow recursive data extraction (pydantic program) (#6503)
Bug Fixes / Nitsο
update mongo interface (#6501)
fixes that we forgot to include for openai pydantic program (#6503) (#6504)
Fix github pics in Airbyte notebook (#6493)
[v0.6.27] - 2023-06-16ο
New Featuresο
Add node doc_id filtering to weaviate (#6467)
New
TokenCountingCallback
to customize and track embedding, prompt, and completion token usage (#6440)OpenAI Retrieval Function Agent (#6491)
Breaking/Deprecated API Changesο
Deprecated current token tracking (llm predictor and embed model will no longer track tokens in the future, please use the
TokenCountingCallback
(#6440)Add maximal marginal relevance to the Simple Vector Store, which can be enabled as a query mode (#6446)
Bug Fixes / Nitsο
as_chat_engine
properly inherits the current service context (#6470)Use namespace when deleting from pinecone (#6475)
Fix paths when using fsspec on windows (#3778)
Fix for using custom file readers in
SimpleDirectoryReader
(#6477)Edit MMR Notebook (#6486)
FLARE fixes (#6484)
[v0.6.26] - 2023-06-14ο
New Featuresο
Add OpenAIAgent and tutorial notebook for βbuild your own agentβ (#6461)
Add OpenAIPydanticProgram (#6462)
Bug Fixes / Nitsο
Fix citation engine import (#6456)
[v0.6.24] - 2023-06-12ο
New Featuresο
Added better support for vector store with existing data (e.g. allow configurable text key) for Pinecone and Weaviate. (#6393)
Support batched upsert for Pineone (#6393)
Added initial guidance integration. Added
GuidancePydanticProgram
for generic structured output generation andGuidanceQuestionGenerator
for generating sub-questions inSubQuestionQueryEngine
(#6246).
[v0.6.23] - 2023-06-11ο
Bug Fixes / Nitsο
Remove hardcoded chunk size for citation query engine (#6408)
Mongo demo improvements (#6406)
Fix notebook (#6418)
Cleanup RetryQuery notebook (#6381)
[v0.6.22] - 2023-06-10ο
New Featuresο
Added
SQLJoinQueryEngine
(generalization ofSQLAutoVectorQueryEngine
) (#6265)Added support for graph stores under the hood, and initial support for Nebula KG. More docs coming soon! (#2581)
Added guideline evaluator to allow llm to provide feedback based on user guidelines (#4664)
Added support for MongoDB Vector stores to enable Atlas knnbeta search (#6379)
Added new CitationQueryEngine for inline citations of sources in response text (#6239)
Bug Fixesο
Fixed bug with
delete_ref_doc
not removing all metadata from the docstore (#6192)FIxed bug with loading existing QDrantVectorStore (#6230)
Miscellaneousο
Added changelog officially to github repo (#6191)
[v0.6.21] - 2023-06-06ο
New Featuresο
SimpleDirectoryReader has new
filename_as_id
flag to automatically set the doc_id (useful forrefresh_ref_docs()
)DocArray vector store integration
Tair vector store integration
Weights and Biases callback handler for tracing and versioning indexes
Can initialize indexes directly from a vector store:
index = VectorStoreIndex.from_vector_store(vector_store=vector_store)
Bug Fixesο
Fixed multimodal notebook
Updated/fixed the SQL tutorial in the docs
Miscellaneousο
Minor docs updates
Added github pull-requset templates
Added github issue-forms
[v0.6.20] - 2023-06-04ο
New Featuresο
Added new JSONQueryEngine that uses JSON schema to deliver more accurate JSON query answers
Metadata support for redis vector-store
Added Supabase vector store integration
Bug Fixesο
Fixed typo in text-to-sql prompt
Breaking/Deprecated API Changesο
Removed GPT prefix from indexes (old imports/names are still supported though)
Miscellaneousο
Major docs updates, brought important modules to the top level