Skip to content

Commit

Permalink
update overview integration table
Browse files Browse the repository at this point in the history
  • Loading branch information
czelabueno committed Mar 16, 2024
1 parent f7028e7 commit 9ddb2ce
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 39 deletions.
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,22 +295,24 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main
System.out.println(answer); // Hello! How can I assist you today?
```
## Supported LLM Integrations ([Docs](https://docs.langchain4j.dev/category/integrations))
| Provider | Native Image | [Completion](https://docs.langchain4j.dev/category/language-models) | [Streaming](https://docs.langchain4j.dev/integrations/language-models/response-streaming) | [Async Completion](https://docs.langchain4j.dev/category/language-models) | [Async Streaming](https://docs.langchain4j.dev/integrations/language-models/response-streaming) | [Embedding](https://docs.langchain4j.dev/category/embedding-models) | [Image Generation](https://docs.langchain4j.dev/category/image-models) | [ReRanking](https://docs.langchain4j.dev/category/reranking-models)
|---------------------------------------------------------------------------------------------------------| ------------- | ----------- | ------------- | --------- |--------------------------------| ------------ |---------------------------------------------------------------------------------------------|---------------|
| [OpenAI](https://docs.langchain4j.dev/integrations/language-models/openai) | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| [Azure OpenAI](https://docs.langchain4j.dev/integrations/language-models/azure-openai) | | ✅ | ✅ | | | ✅ | ✅ |
| [Hugging Face](https://docs.langchain4j.dev/integrations/language-models/huggingface) | | ✅ | | ✅ | | ✅ | | |
| [Amazon Bedrock](https://docs.langchain4j.dev/integrations/language-models/amazon-bedrock) | | ✅ | | | | ✅ |
| [Google Vertex AI Gemini](https://docs.langchain4j.dev/integrations/language-models/google-gemini) | | ✅ | ✅ | ✅ | ✅ | | |
| [Google Vertex AI](https://docs.langchain4j.dev/integrations/language-models/google-palm) | ✅ | ✅ | | ✅ | | ✅ | ✅ |
| [Mistral AI](https://docs.langchain4j.dev/integrations/language-models/mistralai) | | ✅ | ✅ | ✅ | ✅ | ✅ |
| [DashScope](https://docs.langchain4j.dev/integrations/language-models/dashscope) | | ✅ | ✅ | | ✅ | ✅ |
| [LocalAI](https://docs.langchain4j.dev/integrations/language-models/localai) | | ✅ | ✅ | ✅ | | ✅ | |
| [Ollama](https://docs.langchain4j.dev/integrations/language-models/ollama) | | ✅ | ✅ | ✅ | ✅ | ✅ | |
| [Cohere](https://docs.langchain4j.dev/integrations/reranking-models/cohere) | | | | | | | | ✅ |
| [Qianfan](https://docs.langchain4j.dev/integrations/language-models/qianfan) | | ✅ | ✅ | ✅ | ✅ | ✅ | |
| [ChatGLM](https://docs.langchain4j.dev/integrations/language-models/chatglm) | | ✅ | | | | |
| [Nomic](https://docs.langchain4j.dev/integrations/language-models/nomic) | | | | | | ✅ | |
| Provider | Native Image | [Sync Completion](https://docs.langchain4j.dev/category/language-models) | [Streaming Completion](https://docs.langchain4j.dev/integrations/language-models/response-streaming) | [Embedding](https://docs.langchain4j.dev/category/embedding-models) | [Image Generation](https://docs.langchain4j.dev/category/image-models) | [Scoring](https://docs.langchain4j.dev/category/scoring-models) | [Function Calling](https://docs.langchain4j.dev/tutorials/tools)
|----------------------------------------------------------------------------------------------------| ------------- |---------------------------------------------------------------------| ----------- | ------ |-------------------------------| ------ |--------------------------------------------------------------------------------------------|
| [OpenAI](https://docs.langchain4j.dev/integrations/language-models/openai) | | ✅ | ✅ | ✅ | ✅ | | ✅ |
| [Azure OpenAI](https://docs.langchain4j.dev/integrations/language-models/azure-openai) | | ✅ | ✅ | ✅ | ✅ | | ✅ |
| [Hugging Face](https://docs.langchain4j.dev/integrations/language-models/huggingface) | | ✅ | | ✅ | | | | |
| [Amazon Bedrock](https://docs.langchain4j.dev/integrations/language-models/amazon-bedrock) | | ✅ | |✅ | ✅ | | |
| [Google Vertex AI Gemini](https://docs.langchain4j.dev/integrations/language-models/google-gemini) | | ✅ | ✅ | | ✅ | | ✅ |
| [Google Vertex AI](https://docs.langchain4j.dev/integrations/language-models/google-palm) | ✅ | ✅ | | ✅ | ✅ | | |
| [Mistral AI](https://docs.langchain4j.dev/integrations/language-models/mistralai) | | ✅ | ✅ | ✅ | | |✅ |
| [DashScope](https://docs.langchain4j.dev/integrations/language-models/dashscope) | | ✅ | ✅ |✅ | | | |
| [LocalAI](https://docs.langchain4j.dev/integrations/language-models/localai) | | ✅ | ✅ | ✅ | | | ✅ |
| [Ollama](https://docs.langchain4j.dev/integrations/language-models/ollama) | | ✅ | ✅ | ✅ | | | |
| [Cohere](https://docs.langchain4j.dev/integrations/reranking-models/cohere) | | | | | | ✅| |
| [Qianfan](https://docs.langchain4j.dev/integrations/language-models/qianfan) | | ✅ | ✅ | ✅ | | |✅ |
| [ChatGLM](https://docs.langchain4j.dev/integrations/language-models/chatglm) | | ✅ | | | | |
| [Nomic](https://docs.langchain4j.dev/integrations/language-models/nomic) | | | |✅ | | | |
| [Anthropic](https://docs.langchain4j.dev/integrations/language-models/anthropic) | |✅ | | | | | |
| [Zhipu AI](https://docs.langchain4j.dev/integrations/language-models/zhipuai) | |✅| ✅| ✅| | |✅ |

## Disclaimer

Expand Down
48 changes: 25 additions & 23 deletions docs/docs/integrations/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,35 @@ We are making a great effort to have most of the functions enabled according to

## Capabilities
1. **Native image:** You can use this LLM integration for AOT compilation using GraalVM CE or GraalVM Oracle for [native image](https://www.graalvm.org/latest/reference-manual/native-image/) generation.
2. **Completion:** Supports the implementation of `text-completion` and `chat-completion` models in a synchronous way. This is most common usage. View examples [here](/tutorials/connect-to-llm)
3. **Streaming:** Supports `streaming` the model response back for `text-completion` or `chat-completion` models handling each event in `StreamingResponseHandler<AiMessage>` class. View examples [here](/tutorials/response-streaming)
4. **Async Completion:** Provide an [asynchronous](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html) version of the completion feature.
5. **Async Streaming:** Provide an [asynchronous](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html) version of the streaming feature.
6. **Embeddings:** Supports the implementation of `text-embedding` models. Embeddings make it easy to add custom data without fine-tuning. Generally used with Retrieval-Augmented Generation (`RAG`) tools, `Vector Stores` and `Search`. View examples [here](/tutorials/embedding-store)
7. **Image Generation:** Supports the implementation of `text-to-image` models to create realistic and coherent images from scratch. View examples [here](/tutorials/image-models)
8. **ReRanking:** Understands the implementation of re-ranking models to improve created models by re-organizing their results based on certain parameters. View examples [here](/tutorials/reranking-models)
2. **Sync Completion:** Supports the implementation of `text-completion` and `chat-completion` models in a synchronous way. This is most common usage. View examples [here](/tutorials/connect-to-llm)
3. **Streaming Completion:** Supports `streaming` the model response back for `text-completion` or `chat-completion` models handling each event in `StreamingResponseHandler<AiMessage>` class. View examples [here](/tutorials/response-streaming)
4. **Embeddings:** Supports the implementation of `text-embedding` models. Embeddings make it easy to add custom data without fine-tuning. Generally used with Retrieval-Augmented Generation (`RAG`) tools, `Vector Stores` and `Search`. View examples [here](/tutorials/embedding-store)
5. **Image Generation:** Supports the implementation of `text-to-image` models to create realistic and coherent images from scratch. View examples [here](/tutorials/image-models)
6. **Scoring:** Understands the implementation of scoring models to improve created models by re-organizing their results based on certain parameters. View examples [here](/tutorials/reranking-models)
7. **Function Calling:** Supports the implementation of `function-calling` models to call a function as a `Tool`. View examples [here](/tutorials/tools)

:::note
of course some LLM providers offer large multimodal model (accepting text or image inputs) and it would cover more than one capability.
:::

## Supported LLM Integrations
| Provider | [Native Image](/category/code-execution-engines) | [Completion](/tutorials/connect-to-llm) | [Streaming](/docs/tutorials/response-streaming) | [Async Completion](/docs/tutorials/connect-to-llm) | [Async Streaming](/docs/tutorials/response-streaming) | [Embeddings](/category/embedding-models) | [Image Generation](/docs/category/image-models) | [ReRanking](/docs/category/reranking-models)
|---------------------------------------------------------------------------| ------------- | ----------- | ------------- | --------- |--------------------------------| ------------ |----------------------------------------------------------------------------------------------|---------------|
| [OpenAI](/integrations/language-models/openai) | |||||||
| [Azure OpenAI](/integrations/language-models/azure-openai) | ||| | |||
| [Hugging Face](/integrations/language-models/huggingface) | || || || | |
| [Amazon Bedrock](/integrations/language-models/amazon-bedrock) | || | | ||
| [Google Vertex AI Gemini](/integrations/language-models/google-gemini) | ||||| | |
| [Google Vertex AI](/integrations/language-models/google-palm) ||| || |||
| [Mistral AI](/integrations/language-models/mistralai) | ||||||
| [DashScope](/integrations/language-models/dashscope) | ||| |||
| [LocalAI](/integrations/language-models/localai) | |||| || |
| [Ollama](/integrations/language-models/ollama) | |||||| |
| [Cohere](/integrations/reranking-models/cohere) | | | | | | | ||
| [Qianfan](/integrations/language-models/qianfan) | |||||| |
| [ChatGLM](/integrations/language-models/chatglm) | || | | | |
| [Nomic](/integrations/language-models/nomic) | | | | | || |
| Provider | [Native Image](/category/code-execution-engines) | [Sync Completion](/category/language-models) | [Streaming Completion](/tutorials/response-streaming) | [Embedding](/category/embedding-models) | [Image Generation](/category/image-models) | [Scoring](https://docs.langchain4j.dev/category/scoring-models) | [Function Calling](/tutorials/tools)
|--------------------------------------------| ------------- |---------------------------------------------------------------------| ----------- | ------ |-------------------------------| ------ |--------------------------------------------------------------------------------------------|
| [OpenAI](/integrations/language-models/openai) | ||||| ||
| [Azure OpenAI](/integrations/language-models/azure-openai) | ||||| ||
| [Hugging Face](/integrations/language-models/huggingface) | || || | | | |
| [Amazon Bedrock](/integrations/language-models/amazon-bedrock) | || ||| | |
| [Google Vertex AI Gemini](/integrations/language-models/google-gemini) | ||| || ||
| [Google Vertex AI](/integrations/language-models/google-palm) ||| ||| | |
| [Mistral AI](/integrations/language-models/mistralai) | |||| | ||
| [DashScope](/integrations/language-models/dashscope) | |||| | | |
| [LocalAI](/integrations/language-models/localai) | |||| | ||
| [Ollama](/integrations/language-models/ollama) | |||| | | |
| [Cohere](/integrations/reranking-models/cohere) | | | | | || |
| [Qianfan](/integrations/language-models/qianfan) | |||| | ||
| [ChatGLM](/integrations/language-models/chatglm) | || | | | |
| [Nomic](/integrations/language-models/nomic) | | | || | | |
| [Anthropic](/integrations/language-models/anthropic) | || | | | | |
| [Zhipu AI](/integrations/language-models/zhipuai) | |||| | ||


0 comments on commit 9ddb2ce

Please sign in to comment.