This is a hotfix release to resolve dependency issues.
langgraph
version has been upgraded and pinned to resolve TypeError
in StateGraph
.
This release enhances RAG performance of the /model
endpoint and includes an important bugfix.
text-embedding-3-large
, using reduced vector space (1024 dimensions).
gpt-4.1-nano
.
This release focuses on improving GenAI capabilities of the /model
endpoint.
/model
endpoint no longer contains documents
or ideas
, but still contains graph
.
documents
may be present in one of the chunks or may be null
in all chunks, while
ideas
are typically included in the last chunk. The client should not make any assumptions
as to which chunk contains these properties.
ideas
in the streamed response are now generated based on the last model's response too.
So they are more natural, user-centric and helpful.
This release includes new endpoints for nodes, support for streaming model responses and key-based authentication.
X-Api-Key
in the header.
/model
endpoint is now streamed in NDJSON format.
Each object is AssistantResponse
as before but only the first one contains
ideas
, documents
and graph
. content
property only
includes new content produced by the model (delta streaming).
/nodes
endpoints have been added to list all available nodes and retrieve data
for a single node.
This release includes performance and scalability improvements by using asynchronous interfaces to external resources.
This release streamlines graph extraction process, extends parameters for /graph
endpoint
and adds basic API tests.
/graph
endpoint now uses vector search which enables querying it in various languages. For example,
"energia solare" will return a graph matching "solar energy". Graph data are still in English only.
hops
parameter has been added to control graph size. Setting this parameter to zero will result in only
a central node being returned, while one and two will produce 1- and 2-hop neighbourhoods respectively. That is, it will
produce nodes that are no more than hops
edges away from the central node.
weight
property on nodes now corresponds to cosine similarity between a query
and a node.
It is a floating-point number in the [0.0, 1.0] range with higher values indicating closer similarity.
neighbourhood
, which is a non-negative integer corresponding to the
distance from a central node to this node, i.e., 0 for the central node, 1 for nodes that are 1-hop away and so on, and
colour
, which is a hex colour value for the node. Nodes are coloured along shortest paths from the central
node such that the nodes in the same path share the same colour but use a different shade of it.
edges
could contain subject
or object
names that were not present
among nodes
. This is no longer the case and graph edges and nodes are consistent.
This is a beta release of the API that includes a streamlined data schema and improved performance.
/graph
endpoint returns an object containing nodes
and edges
objects
to make data visualisation straightforward.
/model
endpoint now support a list of messages (conversation history ) and returns model
response together with relevant documents and a ready-to-use graph.
This is an early release of the API that includes a complete overhaul of the original prototype.
FastAPI
with Swagger Doc and Redoc documentation automatically available.