This file contains hidden or 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
| from langchain_ollama.chat_models import ChatOllama | |
| from langchain_core.prompts import ChatPromptTemplate | |
| llm = ChatOllama( | |
| model="llama3", | |
| temperature=0 | |
| ) | |
| def ai_generate_char(context="O nomes precisam fazer sentido em um mundo pós apocaliptico, nomes devem ser tipicamente em portugues do Brasil", temperature=0): | |
| llm.temperature = temperature |
This file contains hidden or 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
| function hello(name){ | |
| console.log(name) | |
| } | |
| hello('my name') |
This file contains hidden or 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
| import { createContext, useContext, useState } from 'react' | |
| const CycleContext = createContext({} as any) | |
| function NewCycleForm() { | |
| const { activeCycle, setActiveCycle } = useContext(CycleContext) | |
| return ( | |
| <h1> | |
| NewCycleForm: {activeCycle} |
This file contains hidden or 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
| { | |
| "name": "criando-um-projeto-do-zero", | |
| "version": "0.1.0", | |
| "private": true, | |
| "scripts": { | |
| "dev": "next dev", | |
| "build": "next build", | |
| "start": "next start", | |
| "test": "jest --watchAll", | |
| "coverage": "jest --coverage" |