Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/**
* This val creates a text summarization comparison tool using the Cerebras LLM API.
* It provides a text area with default text, a summarize button, and displays two different summarization results:
* 1. Direct summarization
* 2. Extractive summarization followed by cohesive rewriting
*
* The server handles API calls to Cerebras, while the client manages the UI and user interactions.
*/
/** @jsxImportSource https://esm.sh/react */
import React, { useEffect, useState } from "https://esm.sh/react";
import { createRoot } from "https://esm.sh/react-dom/client";
function App() {
const [inputText, setInputText] = useState("");
const [summary1, setSummary1] = useState("");
const [summary2, setSummary2] = useState("");
const [isLoading, setIsLoading] = useState(false);
const [temperature, setTemperature] = useState(0);
const defaultText = `Skip to main content
Elastic
EN
Close panel
Search
Login
Start free trial
Contact Sales
Platform
Close panel
Search, Security, Observability
Solutions
Close panel
Customers
Close panel
Resources
Close panel
Pricing
Docs
Blog
Solutions
Stack + Cloud
News
Customers
Generative AI
Culture
icon-rss-feed-24.svg
Elasticsearch is Open Source, Again
By
Shay Banon
29 August 2024
original-elastic-logos.png
Twitter
Share on Twitter
LinkedIn
Share on LinkedIn
Facebook
Share on Facebook
email
Share by email
print
Print
[D.N.A] Elasticsearch and Kibana can be called Open Source again. It is hard to express how happy this statement makes me. Literally jumping up and down with excitement here. All of us at Elastic are. Open source is in my DNA. It is in Elastic DNA. Being a
[LOVE.] The tl;dr is that we will be adding AGPL as another license option next to ELv2 and SSPL in the coming weeks. We never stopped believing and behaving like an open source community after we changed the license. But being able to use the term Open So
[Not Like Us] We never stopped believing in Open Source at Elastic. I never stopped believing in Open Source. I'm going on 25 years and counting as a true believer. So why the change 3 years ago? We had issues with AWS and the market confusion their offeri
[Like That] The good news is that while it was painful, it worked. 3 years later, Amazon is fully invested in their fork, the market confusion has been (mostly) resolved, and our partnership with AWS is stronger than ever. We were even named AWS partner of
[All The Stars] We want to make the life of our users as simple as possible. We have people that really like ELv2 (a BSD inspired license). We have people that have SSPL approved (through MongoDB using it). Which is why we are simply adding another option,
[LOYALTY.] We chose AGPL, vs another license, because we hope our work with OSI will help to have more options in the Open Source licensing world. And it seems like another OSI approved license will rhyme with SSPL and/or AGPL. Heck, maybe AGPL is enough f
sharanbabu-textsummarizationcomparisontool.web.val.run
August 31, 2024