Skip to content

Commit 0049921

Browse files
Update README.md
1 parent e3b01ec commit 0049921

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
<div align="center">
2-
<!-- Title: -->
3-
<a href="https://github.com/TheAlgorithms/">
4-
<img src="https://raw.githubusercontent.com/TheAlgorithms/website/1cd824df116b27029f17c2d1b42d81731f28a920/public/logo.svg" height="100">
5-
</a>
6-
<h1><a href="https://github.com/TheAlgorithms/">The Algorithms</a> - Python</h1>
1+
// In your ARIA chat widget - works for ALL platforms
2+
const response = await fetch('/api/chat', {
3+
method: 'POST',
4+
headers: { 'Content-Type': 'application/json' },
5+
body: JSON.stringify({
6+
model: 'claude-sonnet-4-6',
7+
max_tokens: 1000,
8+
system: 'You are ARIA, SecureID security advisor...',
9+
messages: conversationHistory
10+
})
11+
});
12+
const data = await response.json();
713

814
<!-- Labels: -->
915
<!-- First row: -->

0 commit comments

Comments
 (0)