Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
marella committed Jun 2, 2023
0 parents commit 053b38a
Show file tree
Hide file tree
Showing 16 changed files with 2,115 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Enforce Unix newlines
* text=auto eol=lf
42 changes: 42 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: tests

on:
push:
paths:
- 'chatdocs/**'
- setup.py
workflow_dispatch:

jobs:
build:
name: Python ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python:
- '3.x'

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Install Dependencies
env:
HNSWLIB_NO_NATIVE: 1
run: |
python -m pip install --upgrade pip
pip install .
- name: Test add
run: chatdocs add examples

- name: Test chat
run: chatdocs chat 'Why was the NATO created?' --model marella/gpt-2-ggml --download --lib avx
Loading

0 comments on commit 053b38a

Please sign in to comment.