Skip to content

Update the Dottxt model#1845

Open
RobinPicard wants to merge 3 commits intomainfrom
update_dottxt_model
Open

Update the Dottxt model#1845
RobinPicard wants to merge 3 commits intomainfrom
update_dottxt_model

Conversation

@RobinPicard
Copy link
Copy Markdown
Contributor

.txt is about to annnounce a new version of its API. This PR aims at updating the Dottxt model to use the updated dottxt sdk. The tests and documentation are also updated, with added links to the .txt website for users to request access.

- Rename client import from Dottxt to DotTxt
- Replace model_name + model_revision with single model identifier
- Replace client.json() with client.generate(input=, response_format=)
- Add AsyncDottxt class wrapping AsyncDotTxt client
- Single from_dottxt dispatching on client type (DotTxt vs AsyncDotTxt)
- Add explicit ValueError when model identifier is missing
- Export AsyncDottxt, add to AsyncBlackBoxModel
- Update client import to DotTxt/AsyncDotTxt
- Replace list_models() with models.list() and model.id
- Replace model_name + model_revision fixtures with single model_name
- Add async model fixtures and async test coverage
- Add missing model validation tests
- Fix test for wrong inference parameters to use model with identifier set
- Rewrite dottxt.md to reflect new SDK: single model param, async support,
  inference arguments, and API key request link
- Add Dottxt to API Support row in README
- Add API key request link at the top of the README
- Add Dottxt API and schema audit call-to-action sections to docs homepage
@github-actions
Copy link
Copy Markdown

📚 Documentation preview: https://dottxt-ai.github.io/outlines/pr-preview/pr-1845/

Preview updates automatically with each commit.

@ThisisAndrea ThisisAndrea requested a review from rlouf April 14, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant