Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added web/public/favicon.ico
Binary file not shown.
Binary file modified web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions web/src/app/admin/add-connector/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export default function Page() {
/>

<Text>
Connect Danswer to your organization&apos;s knowledge sources.
We&apos;ll automatically sync your data into Danswer, so you can find
Connect Darwin to your organization&apos;s knowledge sources.
We&apos;ll automatically sync your data into Darwin, so you can find
exactly what you&apos;re looking for in one place.
</Text>

Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/assistants/AssistantEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ export function AssistantEditor({
<>
If this functionality would be useful,
reach out to the administrators of
Danswer for assistance.
Darwin for assistance.
</>
)}
</Italic>
Expand Down
44 changes: 22 additions & 22 deletions web/src/app/admin/bot/SlackBotConfigCreationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ export const SlackBotCreationForm = ({
const errorMsg = responseJson.detail || responseJson.message;
setPopup({
message: isUpdate
? `Error updating DanswerBot config - ${errorMsg}`
: `Error creating DanswerBot config - ${errorMsg}`,
? `Error updating Darwin config - ${errorMsg}`
: `Error creating Darwin config - ${errorMsg}`,
type: "error",
});
}
Expand All @@ -175,10 +175,10 @@ export const SlackBotCreationForm = ({
<div>
The names of the Slack channels you want this
configuration to apply to. For example,
&apos;#ask-danswer&apos;.
&apos;#darwin-feedback&apos;.
<br />
<br />
<i>NOTE</i>: you still need to add DanswerBot to the
<i>NOTE</i>: you still need to add Darwin to the
channel(s) in Slack itself. Setting this config will not
auto-add the bot to the channel.
</div>
Expand All @@ -190,15 +190,15 @@ export const SlackBotCreationForm = ({
label="Response Format"
subtext={
<>
If set to Citations, DanswerBot will respond with a direct
If set to Citations, Darwin will respond with a direct
answer with inline citations. It will also provide links
to these cited documents below the answer. When in doubt,
choose this option.
<br />
<br />
If set to Quotes, DanswerBot will respond with a direct
If set to Quotes, Darwin will respond with a direct
answer as well as with quotes pulled from the context
documents to support that answer. DanswerBot will also
documents to support that answer. Darwin will also
give a list of relevant documents. Choose this option if
you want a very detailed response AND/OR a list of
relevant documents would be useful just in case the LLM
Expand All @@ -213,7 +213,7 @@ export const SlackBotCreationForm = ({

<Divider />

<SectionHeader>When should DanswerBot respond?</SectionHeader>
<SectionHeader>When should Darwin respond?</SectionHeader>

<BooleanFormField
name="answer_validity_check_enabled"
Expand All @@ -227,22 +227,22 @@ export const SlackBotCreationForm = ({
/>
<BooleanFormField
name="respond_tag_only"
label="Respond to @DanswerBot Only"
subtext="If set, DanswerBot will only respond when directly tagged"
label="Respond to @Darwin Only"
subtext="If set, Darwin will only respond when directly tagged"
/>
<BooleanFormField
name="respond_to_bots"
label="Responds to Bot messages"
subtext="If not set, DanswerBot will always ignore messages from Bots"
subtext="If not set, Darwin will always ignore messages from Bots"
/>
<TextArrayField
name="respond_member_group_list"
label="Team Member Emails Or Slack Group Names"
subtext={`If specified, DanswerBot responses will only be
subtext={`If specified, Darwin responses will only be
visible to the members or groups in this list. This is
useful if you want DanswerBot to operate in an
useful if you want Darwin to operate in an
"assistant" mode, where it helps the team members find
answers, but let's them build on top of DanswerBot's response / throw
answers, but let's them build on top of Darwin's response / throw
out the occasional incorrect answer. Group names are case sensitive.`}
values={values}
/>
Expand All @@ -252,8 +252,8 @@ export const SlackBotCreationForm = ({

<BooleanFormField
name="still_need_help_enabled"
label="Should Danswer give a “Still need help?” button?"
subtext={`If specified, DanswerBot's response will include a button at the bottom
label="Should Darwin give a “Still need help?” button?"
subtext={`If specified, Darwin's response will include a button at the bottom
of the response that asks the user if they still need help.`}
/>
{values.still_need_help_enabled && (
Expand All @@ -268,8 +268,8 @@ export const SlackBotCreationForm = ({
button. For example, &apos;mark@acme.com&apos;.
<br />
Or provide a user group by either the name or the
handle. For example, &apos;Danswer Team&apos; or
&apos;danswer-team&apos;.
handle. For example, &apos;Darwin Team&apos; or
&apos;darwin-team&apos;.
<br />
<br />
If no emails are provided, we will not tag anyone and
Expand All @@ -287,7 +287,7 @@ export const SlackBotCreationForm = ({
</SectionHeader>
<Text>
Use either a Persona <b>or</b> Document Sets to control how
DanswerBot answers.
Darwin answers.
</Text>
<Text>
<ul className="list-disc mt-2 ml-4">
Expand All @@ -297,7 +297,7 @@ export const SlackBotCreationForm = ({
</li>
<li>
You should use Document Sets if you just want to control
which documents DanswerBot uses as references.
which documents Darwin uses as references.
</li>
</ul>
</Text>
Expand Down Expand Up @@ -325,8 +325,8 @@ export const SlackBotCreationForm = ({
<div>
<div>
<SubLabel>
The document sets that DanswerBot should search
through. If left blank, DanswerBot will search
The document sets that Darwin should search
through. If left blank, Darwin will search
through all documents.
</SubLabel>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/bot/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function Page({ params }: { params: { id: string } }) {

<Text className="mb-8">
Edit the existing configuration below! This config will determine how
DanswerBot behaves in the specified channels.
Darwin behaves in the specified channels.
</Text>

<SlackBotCreationForm
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/bot/new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function Page() {

<Text className="mb-8">
Define a new configuration below! This config will determine how
DanswerBot behaves in the specified channels.
Darwin behaves in the specified channels.
</Text>

<SlackBotCreationForm documentSets={documentSets} personas={personas} />
Expand Down
18 changes: 9 additions & 9 deletions web/src/app/admin/bot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,22 +196,22 @@ const Main = () => {
{popup}

<Text className="mb-2">
Setup a Slack bot that connects to Danswer. Once setup, you will be able
to ask questions to Danswer directly from Slack. Additionally, you can:
Setup a Slack bot that connects to Darwin. Once setup, you will be able
to ask questions to Darwin directly from Slack. Additionally, you can:
</Text>

<Text className="mb-2">
<ul className="list-disc mt-2 ml-4">
<li>
Setup DanswerBot to automatically answer questions in certain
Setup Darwin to automatically answer questions in certain
channels.
</li>
<li>
Choose which document sets DanswerBot should answer from, depending
Choose which document sets Darwin should answer from, depending
on the channel the question is being asked.
</li>
<li>
Directly message DanswerBot to search just as you would in the web
Directly message Darwin to search just as you would in the web
UI.
</li>
</ul>
Expand All @@ -226,7 +226,7 @@ const Main = () => {
>
guide{" "}
</a>
found in the Danswer documentation to get started!
found in the Darwin documentation to get started!
</Text>

<Title>Step 1: Configure Slack Tokens</Title>
Expand Down Expand Up @@ -267,10 +267,10 @@ const Main = () => {
)}
{slackBotTokens && (
<>
<Title className="mb-2 mt-4">Step 2: Setup DanswerBot</Title>
<Title className="mb-2 mt-4">Step 2: Setup Darwin</Title>
<Text className="mb-3">
Configure Danswer to automatically answer questions in Slack
channels. By default, Danswer only responds in channels where a
Configure Darwin to automatically answer questions in Slack
channels. By default, Darwin only responds in channels where a
configuration is setup unless it is explicitly tagged.
</Text>

Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/discourse/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Main = () => {
{popup}
<Text>
This connector allows you to sync all your Discourse Topics into
Danswer. More details on how to setup the Discourse connector can be
Darwin. More details on how to setup the Discourse connector can be
found in{" "}
<a
className="text-link"
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/dropbox/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Main = () => {
>
setup guide
</a>{" "}
on the Danswer docs to obtain a Dropbox token.
on the Darwin docs to obtain a Dropbox token.
</Text>
<Card className="mt-4 mb-4">
<CredentialForm<DropboxCredentialJson>
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/file/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Main = () => {
{filesAreUploading && <Spinner />}
<Text className="mb-2">
Specify files below, click the <b>Upload</b> button, and the contents of
these files will be searchable via Danswer! Currently supported file
these files will be searchable via Darwin! Currently supported file
types include <i>.txt</i>, <i>.pdf</i>, <i>.docx</i>, <i>.pptx</i>,{" "}
<i>.xlsx</i>, <i>.csv</i>, <i>.md</i>, <i>.mdx</i>, <i>.conf</i>,{" "}
<i>.log</i>, <i>.json</i>, <i>.tsv</i>, <i>.xml</i>, <i>.yml</i>,{" "}
Expand All @@ -76,7 +76,7 @@ const Main = () => {
</div>
</div>{" "}
where <i>{"<LINK>"}</i> is the link to the file. This will enable
Danswer to link users to the original document when they click on the
Darwin to link users to the original document when they click on the
search result. More details on this can be found in the{" "}
<a
href="https://docs.danswer.dev/connectors/file"
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/github/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ const Main = () => {
}
validationSchema={Yup.object().shape({
repo_owner: Yup.string().required(
"Please enter the owner of the repository to index e.g. danswer-ai"
"Please enter the owner of the repository to index e.g. darwin-ai"
),
repo_name: Yup.string().required(
"Please enter the name of the repository to index e.g. danswer "
"Please enter the name of the repository to index e.g. darwin "
),
include_prs: Yup.boolean().required(),
include_issues: Yup.boolean().required(),
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/gitlab/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ const Main = () => {
}
validationSchema={Yup.object().shape({
project_owner: Yup.string().required(
"Please enter the owner of the project to index e.g. danswer-ai"
"Please enter the owner of the project to index e.g. darwin-ai"
),
project_name: Yup.string().required(
"Please enter the name of the project to index e.g. danswer "
"Please enter the name of the project to index e.g. darwin "
),
include_mrs: Yup.boolean().required(),
include_issues: Yup.boolean().required(),
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/gmail/Credential.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const GmailOAuthSection = ({
return (
<div>
<p className="text-sm mb-2">
When using a Gmail Service Account, you can either have Danswer act as
When using a Gmail Service Account, you can either have Darwin act as
the service account itself OR you can specify an account for the
service account to impersonate.
<br />
Expand Down Expand Up @@ -371,7 +371,7 @@ export const GmailOAuthSection = ({
<TextFormField
name="gmail_delegated_user"
label="[Optional] User email to impersonate:"
subtext="If left blank, Danswer will use the service account itself."
subtext="If left blank, Darwin will use the service account itself."
/>
<div className="flex">
<button
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/gmail/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const Main = () => {
/>

<Title className="mb-2 mt-6 ml-auto mr-auto">
Step 2: Authenticate with Danswer
Step 2: Authenticate with Darwin
</Title>
<GmailOAuthSection
setPopup={setPopup}
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/gong/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Main = () => {
{popup}
<Text>
This connector allows you to sync all your Gong Transcripts into
Danswer. More details on how to setup the Gong connector can be found in{" "}
Darwin. More details on how to setup the Gong connector can be found in{" "}
<a
className="text-link"
href="https://docs.danswer.dev/connectors/gong"
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/google-drive/Credential.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export const DriveOAuthSection = ({
return (
<div>
<p className="text-sm mb-2">
When using a Google Drive Service Account, you can either have Danswer
When using a Google Drive Service Account, you can either have Darwin
act as the service account itself OR you can specify an account for
the service account to impersonate.
<br />
Expand Down Expand Up @@ -378,7 +378,7 @@ export const DriveOAuthSection = ({
<TextFormField
name="google_drive_delegated_user"
label="[Optional] User email to impersonate:"
subtext="If left blank, Danswer will use the service account itself."
subtext="If left blank, Darwin will use the service account itself."
/>
<div className="flex">
<button
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/google-drive/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ const Main = () => {
/>

<Title className="mb-2 mt-6 ml-auto mr-auto">
Step 2: Authenticate with Danswer
Step 2: Authenticate with Darwin
</Title>
<DriveOAuthSection
setPopup={setPopup}
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/guru/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Main = () => {
<>
{popup}
<Text>
This connector allows you to sync all your Guru Cards into Danswer.
This connector allows you to sync all your Guru Cards into Darwin.
</Text>

<Title className="mb-2 mt-6 ml-auto mr-auto">
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/hubspot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Main = () => {
<>
{popup}
<Text>
This connector allows you to sync all your HubSpot Tickets into Danswer.
This connector allows you to sync all your HubSpot Tickets into Darwin.
</Text>

<Title className="mb-2 mt-6 ml-auto mr-auto">
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/admin/connectors/loopio/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Main = () => {
{popup}
<p className="text-sm">
This connector allows you to sync your Loopio Library Entries into
Danswer
Darwin
</p>

<h2 className="font-bold mb-2 mt-6 ml-auto mr-auto">
Expand Down
6 changes: 3 additions & 3 deletions web/src/app/admin/connectors/notion/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const Main = () => {
<>
<Text>
To get started you&apos;ll need to create an internal integration in
Notion for Danswer. Follow the instructions in the&nbsp;
Notion for Darwin. Follow the instructions in the&nbsp;
<a
href="https://developers.notion.com/docs/create-a-notion-integration"
target="_blank"
Expand All @@ -126,7 +126,7 @@ const Main = () => {
&nbsp; on the Notion website, to create a new integration. Once
you&apos;ve created an integration, copy the integration secret
token and paste it below. Follow the remaining instructions on the
Notion docs to allow Danswer to read Notion Databases and Pages
Notion docs to allow Darwin to read Notion Databases and Pages
using the new integration.
</Text>
<Card className="mt-2 mb-4">
Expand All @@ -140,7 +140,7 @@ const Main = () => {
}
validationSchema={Yup.object().shape({
notion_integration_token: Yup.string().required(
"Please enter the Notion Integration token for the Danswer integration."
"Please enter the Notion Integration token for the Darwin integration."
),
})}
initialValues={{
Expand Down
Loading