Skip to content

Commit

Permalink
Updated GenAI landing page, added page for frameworks and made llm-bu…
Browse files Browse the repository at this point in the history
…ilder picture link to the app
  • Loading branch information
jexp committed Jul 16, 2024
1 parent dec6426 commit 5de709b
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 14 deletions.
10 changes: 5 additions & 5 deletions modules/genai-ecosystem/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
** xref:index.adoc[GenAI Ecosystem]
*** Cloud Examples
**** xref:aws-demo.adoc[AWS Bedrock]
**** xref:microsoft-azure-demo.adoc[Microsoft Azure OpenAI]
**** xref:google-cloud-demo.adoc[Google Cloud Vertex AI]
*** Example Projects
**** xref:llm-graph-builder.adoc[LLM Graph Builder]
***** xref:llm-graph-builder-features.adoc[Features]
Expand All @@ -13,7 +9,11 @@
*** Neo4j GenAI Features
**** xref:vector-search.adoc[Vector Index and Search]
**** xref:apoc-genai.adoc[APOC GenAI]
*** Orchestration Libraries
*** Cloud Examples
**** xref:aws-demo.adoc[AWS Bedrock]
**** xref:microsoft-azure-demo.adoc[Microsoft Azure OpenAI]
**** xref:google-cloud-demo.adoc[Google Cloud Vertex AI]
*** xref:genai-frameworks.adoc[GenAI Frameworks]
**** xref:langchain.adoc[LangChain]
**** xref:langchain-js.adoc[LangChainJS]
**** xref:llamaindex.adoc[LlamaIndex]
Expand Down
43 changes: 43 additions & 0 deletions modules/genai-ecosystem/pages/genai-frameworks.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
= GenAI Frameworks
include::_graphacademy_llm.adoc[]
:imagesdir: https://s3.amazonaws.com/dev.assets.neo4j.com/wp-content/uploads
:slug: genai-frameworks
:author: Michael Hunger, Tomaz Bratanic, Oskar Hane
:category: labs
:tags: llm, genai, generative ai, large language models, integrations, rag, vector search, retrieval augmented generation, llamaindex, langchain, haystack, frameworks
:neo4j-versions: 5.X
:page-pagination:
:page-product: GenAI Frameworks

While current foundation models (language, image, speech, embeddings) are available through APIs and can be used just with a http request or a few lines of code, the devil is as always in the details. It is not just about a single API call but full applications, workflows and architectures.

In the last years a number of really powerful open-source orchestration libraries have been developed, many with a large contributor community and a lot of momentum.
Even the large cloud providers and AI companies contributed and are using these libraries as in this fast moving world it is hard to keep up otherwise.

Those libraries cover a number of aspects:

- LLM usage, including Prompt and Output
- Embedding generation
- Vector and database integration
- RAG workflows
- Agentic workflows
- Monitoring, Observability and Deployment
== GenAI Frameworks

Neo4j and our community have contributed integrations to many of these frameworks. You can find overviews of these integrations in the pages of this section, as well as code examples, tutorials and more.

* xref:langchain.adoc[LangChain (Python)]
* xref:langchain-js.adoc[LangChainJS]
* xref:llamaindex.adoc[LLamaIndex]
* xref:spring-ai.adoc[Spring AI]
* xref:langchain4j.adoc[LangChain4j]
* xref:haystack.adoc[Haystack]
* xref:semantic-kernel.adoc[Semantic Kernel]
* xref:dspy.adoc[DSPy]

== GraphAcademy Courses

If you want to learn how LLMs and Knowledge Graphs combine to improve GenAI applications, check out the https://graphacademy.neo4j.com/categories/llms/?ref=genai-docs[Neo4j & LLM courses on GraphAcademy^].

image::https://cdn.graphacademy.neo4j.com/assets/img/courses/banners/llm-fundamentals.png[link=https://graphacademy.neo4j.com/categories/llms/?ref=genai-docs]
35 changes: 27 additions & 8 deletions modules/genai-ecosystem/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ include::_graphacademy_llm.adoc[]
image::https://dist.neo4j.com/wp-content/uploads/20231030151119/genai-art-diagram-1.svg[width=800]


Knowledge Graphs can provide rich context to ground Large Language Models (LLMs) for enabling GenAI applications using Graph RAG (Retrieval Augmented Generation)
The real world data captured in the graph avoids hallucination and provides a rich source of information for the LLMs to generate answers, summaries and suggestions from.
Knowledge graphs bring more accurate responses, rich context, and explainability to each generative AI model interaction.
By combining knowledge graphs with native vector search, you get the best of both worlds with Graph RAG (Retrieval Augmented Generation).

LLMs can be used to extract entities and their relationships from unstructured text to build up and enrich knowledge graphs.
Language models also can be used to extract entities and their relationships from unstructured text to build up and enrich knowledge graphs.

Learn more at: https://neo4j.com/generativeai/
== How to get started

The Neo4j GenAI Ecosystem is a collection of tools and integrations that make it easy to use LLMs with Neo4j.
1. For an high level overview, have a look at https://neo4j.com/generativeai/[neo4j.com/genai^]
2. Use the xref:llm-graph-builder.adoc[LLM-Knowledge Graph Builder] to turn your own documents into a knowledge graph
3. If you want to learn more take one of the https://graphacademy.neo4j.com/categories/llms/?ref=genai-docs[GenAI GraphAcademy courses^]
4. Pick your xref:genai-frameworks.adoc[GenAI framework of choice] and start building your own GenAI applications with Neo4j

== GraphAcademy Courses

Expand All @@ -29,32 +32,49 @@ image::https://cdn.graphacademy.neo4j.com/assets/img/courses/banners/llm-fundame

== GenAI Ecosystem

The Neo4j GenAI Ecosystem is a collection of tools and integrations that make it easy to use LLMs with Neo4j.

=== GraphRAG

GraphRAG combines an ingestion process that extracts entities and relationships from unstructured text and further uses graph algorithms for enrichment and summarization.
The retrieval step then uses the knowledge graph in combination with vector search to navigate to more relevant information than just the initial text chunks.

* https://neo4j.com/blog/graphrag-manifesto/[The GraphRAG Manifesto]
* https://dev.neo4j.com/dlai-kg[DeepLearning AI Knowledge Graph Course^]
* http://discord.gg/graphrag[GraphRAG Discord^]
* https://huggingface.co/graphrag[GraphRAG HuggingFace Paper Collection^]
// * https://huggingface.co/graphrag[GraphRAG HuggingFace Paper Collection^]
* https://dev.neo4j.com/free-kg-book[(free) Knowledge Graph Book^]
* https://neo4j.com/developer-blog/global-graphrag-neo4j-langchain/[Implementing GraphRAG with Neo4j, GDS and LangChain]
* https://microsoft.github.io/graphrag/[Microsoft's GraphRAG project]

=== GraphRAG Ecosystem Tools

In Neo4j Labs we built a number of tools, to demonstrate the power of combining graphs with LLMs. All these tools are open source, you can use and contribute to them or learn and build your own.

* xref:llm-graph-builder.adoc[LLM Knowledge Graph Builder]
* xref:neoconverse.adoc[NeoConverse multi-dataset query, chat, visualization]
* xref:rag-demo.adoc[GraphRAG (Retrieval Augmented Generation) Demo]
* xref:genai-stack.adoc[GenAI Stack (with Docker, Ollama, Neo4j, and LangChain)]

=== Cloud Examples

Neo4j has worked with the main cloud providers to create GenAI integrations and examples on their platforms.

* xref:aws-demo.adoc[AWS Demo]
* xref:microsoft-azure-demo.adoc[Microsoft Azure Demo]
* xref:google-cloud-demo.adoc[Google Cloud Demo]

=== Neo4j GenAI Features

Neo4j added a number of features to make it easier to build GenAI applications and integrate LLMs with knowledge graphs.

* xref:vector-search.adoc[Vector Index & Search]
* xref:apoc-genai.adoc[APOC GenAI Procedures]

=== Orchestration Libraries
=== GenAI Frameworks

Neo4j and our community have contributed integrations to many of these frameworks.
You can find overviews of these integrations in the pages of this section, as well as code examples, tutorials and more.

* xref:langchain.adoc[LangChain (Python)]
* xref:langchain-js.adoc[LangChainJS]
Expand All @@ -65,7 +85,6 @@ image::https://cdn.graphacademy.neo4j.com/assets/img/courses/banners/llm-fundame
* xref:semantic-kernel.adoc[Semantic Kernel]
* xref:dspy.adoc[DSPy]


== Highlighted Articles

* https://neo4j.com/developer-blog/tagged/llm/[Neo4j Developer Blog: Large Language Models^]
Expand Down
2 changes: 1 addition & 1 deletion modules/genai-ecosystem/pages/llm-graph-builder.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include::_graphacademy_llm.adoc[]
:imagesdir: https://dev.assets.neo4j.com/wp-content/uploads/2024/

// image::llm-graph-builder.png[width=600, align=center]
image::https://dist.neo4j.com/wp-content/uploads/20240618104511/build-kg-genai-e1718732751482.png[width=800, align=center]
image::https://dist.neo4j.com/wp-content/uploads/20240618104511/build-kg-genai-e1718732751482.png[width=800, align=center,link="https://llm-graph-builder.neo4jlabs.com/",window="_blank"]

The Neo4j LLM Knowledge Graph Builder is an https://llm-graph-builder.neo4jlabs.com/[online application^] for turning unstructured text into a knowledge graph, it provides a magical text to graph experience.

Expand Down

0 comments on commit 5de709b

Please sign in to comment.