cognita
RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry
파일 탐색기
최종 버전 다운로드 (.zip)- pre-commit.yaml
- tfy-deploy.yaml
- schema.prisma
- __init__.py
- argument_parser.py
- indexer.py
- main.py
- types.py
- __init__.py
- qdrant_migration.py
- utils.py
- __init__.py
- loader.py
- local_dir_loader.py
- truefoundry_loader.py
- web_loader.py
- __init__.py
- base.py
- client.py
- prisma_store.py
- __init__.py
- audio_processing_svc.py
- model_gateway.py
- reranker_svc.py
- __init__.py
- audio_parser.py
- multi_modal_parser.py
- parser.py
- unstructured_io.py
- utils.py
- video_parser.py
- web_parser.py
- controller.py
- payload.py
- types.py
- controller.py
- payload.py
- types.py
- __init__.py
- base.py
- query_controller.py
- types.py
- __init__.py
- base.py
- client.py
- milvus.py
- mongo.py
- qdrant.py
- singlestore.py
- weaviate.py
- __init__.py
- __init__.py
- collection.py
- components.py
- data_source.py
- internal.py
- rag_apps.py
- __init__.py
- app.py
- decorators.py
- __init__.py
- constants.py
- Dockerfile
- logger.py
- requirements.txt
- settings.py
- types.py
- utils.py
- vectordb.requirements.txt
- __init__.py
- audio.py
- backend.py
- config.py
- deploy.py
- frontend.py
- indexer.py
- infinity.py
- postgres_database.py
- qdrant.py
- qdrant_ui.py
- unstructured_io.py
- architecture.drawio
- adding-collection.png
- dataingestion-complete.png
- dataingestion-started.png
- datasource.png
- list-datasources-in-collection.png
- RAG-TF.gif
- rag_arch.png
- readme-banner.png
- response-generation.png
- webinar-banner.png
- docs-qa-release.yaml
- _redirects
- android-chrome-192x192.png
- android-chrome-512x512.png
- apple-touch-icon.png
- browserconfig.xml
- favicon-16x16.png
- favicon-32x32.png
- favicon.ico
- mstile-144x144.png
- mstile-150x150.png
- mstile-310x150.png
- mstile-310x310.png
- mstile-70x70.png
- opengraph.png
- robots.txt
- safari-pinned-tab.svg
- site.webmanifest
- sitemap.xml
- truefoundry.ts
- utils.ts
- toast.css
- 401.svg
- 404.svg
- 500.svg
- CognitaLightLogo.png
- CognitaLogo.png
- logo-with-text.png
- logo.svg
- x_twitter.png
- dgpt-docs.svg
- dgpt-search.svg
- drawer_bars.svg
- paper-plane-top.svg
- IconProvider.tsx
- SpinnerDots.tsx
- index.ts
- Spinner.tsx
- Badge.tsx
- Button.tsx
- CodeBlock.tsx
- CopyField.tsx
- CustomDrawer.tsx
- Input.tsx
- Link.tsx
- Markdown.tsx
- Modal.tsx
- Notification.tsx
- Picker.tsx
- Switch.tsx
- Tooltip.tsx
- Alert.tsx
- ErrorPage.tsx
- Notify.tsx
- ScreenFallbackLoader.tsx
- SimpleCodeEditor.tsx
- Table.tsx
- AppLayout.tsx
- DocsQA.tsx
- Error.tsx
- history.ts
- index.tsx
- index.tsx
- index.tsx
- FileUpload.tsx
- FormType.ts
- index.tsx
- NewDataSource.tsx
- WebDataSource.tsx
- CustomPreview.css
- DocLink.tsx
- DocPreviewSlideOut.tsx
- SourceDocsPreview.tsx
- types.ts
- Answer.tsx
- ApplicationModal.tsx
- Chat.tsx
- ConfigSelector.tsx
- ConfigSidebar.tsx
- ErrorAnswer.tsx
- NoAnswer.tsx
- PromptForm.tsx
- context.tsx
- DocsQA.tsx
- index.tsx
- types.tsx
- DataSourcesTable.tsx
- index.tsx
- AddDataSourceToCollection.tsx
- CollectionCard.tsx
- DocsQaInformation.tsx
- index.tsx
- Navbar.tsx
- NewCollection.tsx
- NoCollections.tsx
- RunsHistoryDrawer.tsx
- 401.tsx
- 404.tsx
- 500.tsx
- TenantNotFound.tsx
- index.ts
- constants.ts
- index.ts
- utils.ts
- enums.ts
- retrieverTypes.ts
- ui.d.ts
- artifacts.ts
- classNames.ts
- error.ts
- file.ts
- index.ts
- tailwindScrollbar.ts
- App.tsx
- fontawesome.ts
- Head.tsx
- index.scss
- index.tsx
- materialTheme.ts
- reportWebVitals.ts
- setupTests.js
- .dockerignore
- .editorconfig
- .eslintrc
- .gitignore
- .prettierignore
- .prettierrc
- Dockerfile
- Dockerfile.dev
- env.d.ts
- index.html
- package.json
- postcss.config.js
- README.md
- servicefoundry.yaml
- start.sh
- tailwind.config.ts
- tsconfig.json
- vite.config.ts
- yarn.lock
- motivation.mp3
- diners-club-black-metal-edition.md
- diners-club-black.md
- freedom-card-new.md
- hdfc-bank-upi-rupay-credit-card.md
- indianoil-hdfc-bank-credit-card.md
- infinia-credit-card.md
- marriott-bonvoy-credit-card.md
- moneyback-plus.md
- regalia-gold-credit-card.md
- swiggy-hdfc-bank-credit-card.md
- report-short.pdf
- llm-survey-report.pdf
- practitioners_guide_to_mlops_whitepaper.pdf
- paul-graham-persistence.txt
- rag_intro.mp4
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .tfyignore
- __init__.py
- compose.env
- CONTRIBUTING.md
- docker-compose.yaml
- LICENSE
- models_config.sample.yaml
- README.md
- seccomp.json
- truefoundry.yaml
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/truefoundry/cognita
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd cognita
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker-compose --env-file compose.env up
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
docker-compose --env-file compose.env --profile ollama --profile infinity up
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
docker-compose --env-file compose.env up --build
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
docker-compose --env-file compose.env --profile ollama --profile infinity up --build
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
- Next, `Add` a **Docker Registry** to push your docker images to.
이 명령어를 터미널에 그대로 입력해 실행하세요.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
cd frontend
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
4. Python
쉬움사전 준비물
pip install -r backend/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
