-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Chainlit:main' into main
- Loading branch information
Showing
176 changed files
with
5,963 additions
and
7,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Bem-vindo ao Chainlit! 🚀🤖 | ||
|
||
Olá, desenvolvedor! 👋 Estamos empolgados em tê-lo a bordo. O Chainlit é uma ferramenta poderosa projetada para ajudá-lo a prototipar, depurar e compartilhar aplicativos construídos em cima de LLMs. | ||
|
||
## Links úteis 🔗 | ||
|
||
- **Documentação:** Comece com a nossa abrangente Documentação do Chainlit 📚 | ||
- **Comunidade no Discord:** Junte-se ao nosso amigável Discord do Chainlit para fazer perguntas, compartilhar seus projetos e se conectar com outros desenvolvedores! 💬 | ||
|
||
Mal podemos esperar para ver o que você cria com o Chainlit! Boa codificação! 💻😊 | ||
|
||
## Tela de boas-vindas | ||
|
||
Para modificar a tela de boas-vindas, edite o arquivo chainlit.md | ||
na raiz do seu projeto. Se você não quiser uma tela de boas-vindas, basta deixar este arquivo vazio. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import chainlit as cl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { runTestServer } from '../../support/testUtils'; | ||
|
||
describe('readme_language', () => { | ||
before(() => { | ||
runTestServer(); | ||
}); | ||
|
||
it('should show default markdown on open', () => { | ||
cy.visit('/readme'); | ||
cy.contains('Welcome to Chainlit!'); | ||
}); | ||
|
||
it('should show Portguese markdown on pt-BR language', () => { | ||
cy.visit('/readme', { | ||
onBeforeLoad(win) { | ||
Object.defineProperty(win.navigator, 'language', { | ||
value: 'pt-BR' | ||
}); | ||
} | ||
}); | ||
cy.contains('Bem-vindo ao Chainlit!'); | ||
}); | ||
|
||
it('should fallback to default markdown on Klingon language', () => { | ||
cy.visit('/readme', { | ||
onBeforeLoad(win) { | ||
Object.defineProperty(win.navigator, 'language', { | ||
value: 'Klingon' | ||
}); | ||
} | ||
}); | ||
cy.contains('Welcome to Chainlit!'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.