Skip to content

Commit 13ac07b

Browse files
authored
Page integrations (overview,detail) (#22)
* Added examples for detail and overview integration pages * Fix landing card icon styles
1 parent 43fa324 commit 13ac07b

15 files changed

+414
-9
lines changed

preview-src/examples/cassio.svg

Lines changed: 9 additions & 0 deletions
Loading

preview-src/examples/cohere.svg

Lines changed: 5 additions & 0 deletions
Loading

preview-src/examples/deepset.svg

Lines changed: 5 additions & 0 deletions
Loading

preview-src/examples/hugging-face.svg

Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
= Lang Chain
2+
3+
== Overview
4+
5+
By integrating LangChain with Astra, you can seamlessly
6+
utilize advanced linguistic processing capabilities of
7+
LangChain within the Astra vector database environment.
8+
This combination enhances vector data analysis,
9+
allowing natural language data to be processed,
10+
stored, and queried with efficiency.
11+
12+
image::ROOT:template-examples/langchain-overview.png["Architecture diagram"]
13+
14+
To get started, ensure you have an
15+
https://example.com[active LangChain account,role=external] with the requisite permissions.
16+
17+
You will also need an https://example.com[active LangChain account,role=external]
18+
an access to its API keys.
19+
20+
== Setup
21+
22+
=== [.step]#1# Acquire API Key from LangChain:
23+
24+
Log into your LangChain dashboard and navigate to the 'API' section to obtain your API key.
25+
26+
=== [.step]#2# Configure Astra's SDK for LangChain
27+
28+
[source,python]
29+
----
30+
from astra import VectorDB
31+
db = VectorDB(config='astra_config.yaml')
32+
db.set_integration('LangChain', api_key='YOUR_LANGCHAIN_API_KEY')
33+
----
34+
35+
=== [.step]#3# Initialize Data Transfer
36+
37+
[source,python]
38+
----
39+
db.sync_from('LangChain')
40+
----
41+
42+
== Verify Integration
43+
44+
Ensure your integration was successful by checking for new linguistic vector entries in your Astra database:
45+
46+
. Navigate to the Astra dashboard.
47+
. Open the 'Vector Data' tab.
48+
. Confirm the appearance of recent vector entries from LangChain.
49+
50+
image::ROOT:template-examples/langchain-screenshot.png["Screenshot"]
51+
52+
[.header-noline]
53+
== Advanced Configuration
54+
55+
[cols="1,1"]
56+
|===
57+
|Parameter |Description
58+
59+
|Sync Frequency
60+
|The lower the value, the more frequent the sync, impacting server performance.
61+
62+
Sample `30 min`
63+
64+
|Data Volume Limit
65+
|The lower the value, the more frequent the sync, impacting server performance.
66+
67+
Sample `500 MB`
68+
|===
69+
70+
71+
[.header-noline]
72+
== Troubleshotting
73+
[cols="1,1"]
74+
|===
75+
|Error |Solution
76+
77+
|`LangChain API key invalid`
78+
|Make sure you copied the correct API key. Refresh or regenerate the key in the LangChain dashboard if necessary.
79+
80+
|`Data sync failed`
81+
|Ensure both Astra and LangChain servers are running without issues. Check network connectivity and try syncing again after a few minutes.
82+
|===
83+
84+
85+
[.header-noline]
86+
== Next Steps
87+
88+
[.ds-card]
89+
--
90+
[unstyled]
91+
* https://example.com[Advanced Natural Language Processing with Astra and LangChain] [.material-icons]#auto_stories# Tutorial
92+
+
93+
Dive into how the combination of Astra's vector database and LangChain's
94+
linguistic prowess can enhance your NLP projects.
95+
--
96+
97+
[.ds-card]
98+
--
99+
[unstyled.guide]
100+
* https://example.com[Optimizing Linguistic Vector Searches in Astra] [.material-icons]#auto_stories# Tutorial
101+
+
102+
Discover best practices and techniques to improve the efficiency and accuracy
103+
of linguistic vector searches in Astra, leveraging LangChain integrations.
104+
--
105+
106+
[.ds-card]
107+
--
108+
[unstyled]
109+
* https://example.com[Cohere] [.material-icons]#integration_instructions# Integration
110+
+
111+
Cohere provides advanced NLP models designed for a variety of tasks, ranging from text generation to understanding.
112+
Their models offer a balance between performance and efficiency.
113+
With Astra's integration, developers can effortlessly combine Cohere's capabilities with a powerful vector database solution.
114+
--
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
= Integrations
2+
:page-layout: tutorial
3+
:hugging-icon: image:hugging-face.svg[,20]
4+
:langchain-icon: image:langchain.svg[,20]
5+
:openai-icon: image:openai.svg[,20]
6+
:jina-icon: image:jina.svg[,20]
7+
:deepset-icon: image:deepset.svg[,20]
8+
:cohere-icon: image:cohere.svg[,20]
9+
:llamaindex-icon: image:llamaindex.svg[,20]
10+
:cassio-icon: image:cassio.svg[,20]
11+
12+
Dive into our curated marketplace of integrations
13+
that elevate the capabilities of Astra's vector databases.
14+
Whether you're looking to amplify your machine learning workflows,
15+
visualize embeddings, or integrate real-time data processing,
16+
we've got you covered.
17+
18+
[.ds-row.header-noline]
19+
== Recommended
20+
21+
[.ds-row]
22+
--
23+
24+
[.ds-card.ds-grid]
25+
====
26+
[discrete]
27+
==== Hugging Face
28+
29+
[.text-overflow.line-3]
30+
Hugging Face offers one of the largest collections of pre-trained natural language processing (NLP) models. Its user-friendly Transformers library provides deep learning models optimized for tasks like text classification,
31+
sentiment analysis, and more. Integrating with Astra empowers developers
32+
to harness these models directly alongside their database operations.
33+
34+
[.tags-container]
35+
[.tag]#Natural Language# [.tag]#Machine Learning#
36+
37+
[.landing-card-icon]
38+
{hugging-icon}
39+
====
40+
41+
[.ds-card.ds-grid]
42+
====
43+
[discrete]
44+
==== OpenAI
45+
46+
[.text-overflow.line-3]
47+
OpenAI, renowned for its groundbreaking models like GPT series, brings generative AI
48+
capabilities to the forefront. Through its API and tools, developers can generate
49+
human-like text, analyze data, or even create chatbots. Integration with Astra ensures
50+
that data can be fetched, analyzed, and stored seamlessly when working with OpenAI tools.
51+
52+
[.tags-container]
53+
[.tag]#Natural Language# [.tag]#Machine Learning#
54+
55+
[.landing-card-icon.bg-black]
56+
{openai-icon}
57+
====
58+
59+
--
60+
61+
[.ds-row]
62+
--
63+
64+
[.ds-card.ds-grid]
65+
====
66+
[discrete]
67+
==== LangChain
68+
69+
[.text-overflow.line-3]
70+
LangChain provides an enriched environment for developers looking to infuse advanced
71+
language understanding into their applications. As a potent machine learning framework,
72+
it offers sophisticated models and tools tailored for natural language processing tasks.
73+
When integrated with Astra's vector databases, LangChain not only generates high-quality
74+
embeddings but also ensures real-time syncing of data, giving your applications
75+
an edge in language-based operations.
76+
77+
[.tags-container]
78+
[.tag]#Natural Language# [.tag]#Machine Learning#
79+
80+
[.landing-card-icon]
81+
{langchain-icon}
82+
====
83+
84+
[.ds-card.ds-grid]
85+
====
86+
[discrete]
87+
==== Jina
88+
89+
[.text-overflow.line-3]
90+
Jina offers a neural search framework that aids in building search systems with deep learning.
91+
Whether it's text, images, or videos, Jina can index and retrieve data with high precision.
92+
Integration with Astra enables an optimized storage solution that complements Jina's search capabilities.
93+
94+
[.tags-container]
95+
[.tag]#Natural Language# [.tag]#Machine Learning#
96+
97+
[.landing-card-icon]
98+
{jina-icon}
99+
====
100+
101+
--
102+
103+
104+
== All Integrations
105+
106+
[.ds-card.flow-col]
107+
--
108+
[unstyled]
109+
* *Deepset*
110+
+
111+
[.text-overflow]
112+
Deepset is known for its tools that specialize in extracting insights from text data. With capabilities like question-answering, document search, and more, Deepset stands out for textual data analysis. When integrated with Astra, it offers a robust solution for businesses that rely heavily on textual analytics.
113+
114+
[.material-icons]
115+
https://example.com[arrow_forward]
116+
117+
[.landing-card-icon.full]
118+
{deepset-icon}
119+
--
120+
121+
[.ds-card.flow-col]
122+
--
123+
[unstyled.guide]
124+
* *Cohere*
125+
+
126+
[.text-overflow]
127+
Cohere provides advanced NLP models designed for a variety of tasks, ranging from text generation to understanding. Their models offer a balance between performance and efficiency. With Astra's integration, developers can effortlessly combine Cohere's capabilities with a powerful vector database solution.
128+
129+
[.material-icons]
130+
https://example.com[arrow_forward]
131+
132+
[.landing-card-icon]
133+
{cohere-icon}
134+
--
135+
136+
[.ds-card.flow-col]
137+
--
138+
[unstyled]
139+
* *Llama Index*
140+
+
141+
Simplify data indexing with LlamaIndex. Integrate with Astra's vector capabilities to boost data retrieval speeds and accuracy.
142+
143+
[.material-icons]
144+
https://example.com[arrow_forward]
145+
146+
[.landing-card-icon.bg-black]
147+
{llamaindex-icon}
148+
--
149+
150+
[.ds-card.flow-col]
151+
--
152+
[unstyled]
153+
* *CassIO*
154+
+
155+
[.text-overflow]
156+
A specialized library designed to abstract the intricacies of accessing Cassandra databases, perfect for AI and ML applications. Its integration with Astra enhances real-time data interactions.
157+
158+
[.material-icons]
159+
https://example.com[arrow_forward]
160+
161+
[.landing-card-icon]
162+
{cassio-icon}
163+
--

preview-src/examples/jina.svg

Lines changed: 5 additions & 0 deletions
Loading

preview-src/examples/langchain.svg

Lines changed: 9 additions & 0 deletions
Loading

preview-src/examples/llamaindex.svg

Lines changed: 9 additions & 0 deletions
Loading

preview-src/examples/openai.svg

Lines changed: 10 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)