Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dexter V4 #52

Merged
merged 26 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
caa92c4
Add build step before typecheck in CI workflow
rileytomasek Oct 13, 2024
82fe6d2
Catch tokenizer error without console output
rileytomasek Oct 13, 2024
53ede7e
Update `openai-fetch` to 3.3.1 and handle refusals
rileytomasek Oct 13, 2024
fd8e4d0
Delete documentation website
rileytomasek Oct 13, 2024
a3fea3b
Remove Datastore classes & add Knip to clean up
rileytomasek Oct 13, 2024
f2f1690
Remove unused code and exports
rileytomasek Oct 13, 2024
799a342
Refactor to remove top-level exports
rileytomasek Oct 13, 2024
788170f
Remove remnants of deleted Datastore class
rileytomasek Oct 13, 2024
2213098
Refactor telemetry file structure and imports
rileytomasek Oct 13, 2024
5234eaa
Refactor: Move utils to `model/utils` directory
rileytomasek Oct 13, 2024
80f3efe
Refactor error handling into `model/utils/errors.ts`
rileytomasek Oct 13, 2024
7f86124
Refactor `Msg` to `MsgUtil` and update related imports
rileytomasek Oct 13, 2024
b7ea3fa
Refactor `prompt` directory to `ai-function`
rileytomasek Oct 13, 2024
d4cb343
Move `@dexaai/dexter/model` exports to package root
rileytomasek Oct 13, 2024
8681798
Update readme
rileytomasek Oct 13, 2024
3eb2fa8
Remove unused exports
rileytomasek Oct 13, 2024
9a26060
Add `createExtractFunction` for data extraction
rileytomasek Oct 13, 2024
93b038d
Add rough Swarm implementation
rileytomasek Oct 14, 2024
c334720
4.0.0-0
rileytomasek Oct 14, 2024
e3b290e
Rename `Runner` to `AIRunner` for consistency
rileytomasek Oct 17, 2024
7947e4b
Add optional strict validation to extract function
rileytomasek Oct 17, 2024
d419fd0
Replace legacy `Model.Message` type with `Msg`
rileytomasek Oct 17, 2024
9f4dd77
Enhance `readme.md` based on feedback
rileytomasek Oct 17, 2024
0874859
Upgrade `openai-zod-to-json-schema` to v1.0.3
rileytomasek Oct 17, 2024
4513b78
Refactor imports and simplify module exports
rileytomasek Oct 17, 2024
9529196
4.0.0-1
rileytomasek Oct 17, 2024
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
6 changes: 1 addition & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,5 @@

OPENAI_API_KEY=

# Most examples will work with a free-tier index, but you'll need a paid hybrid-compatible index to run the chatbot example
PINECONE_API_KEY=
PINECONE_BASE_URL=

# Optional; only needed if using a hybrid datastore
# Optional; only needed if using SPLADE embeddings
#SPLADE_SERVICE_URL=
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-node-pnpm
- run: pnpm run typecheck
- run: pnpm run build && pnpm run typecheck

lint:
name: Lint
Expand Down
23 changes: 0 additions & 23 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,3 @@ For example:
```bash
npx tsx examples/basic.ts
```

## Docs

The `./docs/pages/docs` directory is autogenerated via [typedoc](https://typedoc.org) and [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/next/packages/typedoc-plugin-markdown).

To rebuild the docs, run:

```bash
pnpm run docs
```

Please don't run this command when submitting PRs to keep them uncluttered, unless you're making changes to the docs themselves.

The docs folder is a normal [Next.js](https://nextjs.org) pages app built using [Nextra](https://nextra.site/).

You can run the docs dev server to preview your changes via:

```bash
cd docs
pnpm dev
```

The docs are automatically deployed to [Vercel](https://vercel.com).
113 changes: 0 additions & 113 deletions docs/bin/transform-docs.ts

This file was deleted.

5 changes: 0 additions & 5 deletions docs/next-env.d.ts

This file was deleted.

29 changes: 0 additions & 29 deletions docs/next.config.mjs

This file was deleted.

18 changes: 0 additions & 18 deletions docs/package.json

This file was deleted.

12 changes: 0 additions & 12 deletions docs/pages/_app.mdx

This file was deleted.

37 changes: 0 additions & 37 deletions docs/pages/_meta.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/pages/docs/.nojekyll

This file was deleted.

Loading