openai_dart 0.3.3 copy "openai_dart: ^0.3.3" to clipboard
openai_dart: ^0.3.3 copied to clipboard

Dart client for the OpenAI API. Supports completions (GPT-3.5 Turbo), chat (GPT-4o, etc.), embeddings (Embedding v3), images (DALL·E 3), assistants v2 (threads, runs, vector stores, etc.) batch, fine- [...]

0.3.3 #

  • FEAT: Support FastChat OpenAI-compatible API (#444). (ddaf1f69)
  • FIX: Make vector store name optional in openai_dart (#436). (29a46c7f)
  • FIX: Fix deserialization of sealed classes (#435). (7b9cf223)

0.3.2+1 #

  • FIX: Rename CreateRunRequestModel factories names (#429). (fd15793b)
  • FIX: Make quote nullable in MessageContentTextAnnotationsFileCitation (#428). (75b95645)

0.3.2 #

  • FEAT: Add GPT-4o to model catalog (#420). (96214307)
  • FEAT: Add support for different content types in Assistants API and other fixes (#412). (97acab45)
  • FEAT: Add support for completions and embeddings in batch API in openai_dart (#425). (16fe4c68)
  • FEAT: Add incomplete status to RunObject in openai_dart (#424). (71b116e6)

0.3.1 #

  • FEAT: Add support for stream_options in openai_dart (#405). (c15714ca)
  • FIX: RunStepDetailsToolCalls deserialization in Assistants API v2 (#404). (d76c6aba)

0.3.0 #

Note: This release has breaking changes.
If you are using the Assistants API v1, please refer to the OpenAI docs to see how to migrate to v2.

  • BREAKING FEAT: Migrate OpenAI Assistants API to v2 and add support for vector stores (#402). (45de29a1)
  • FEAT: Add support for ChatCompletionToolChoiceMode.required (#402). (45de29a1)

0.2.2 #

  • FEAT: Add temperature, top_p and response format to Assistants API (#384). (1d18290f)

0.2.1 #

  • FEAT: Support for Batch API (#383). (6b89f4a2)
  • FEAT: Streaming support for Assistant API (#379). (6ef68196)
  • FEAT: Option to specify tool choice in Assistant API (#382). (97d7977a)
  • FEAT: JSON mode in Assistant API (#381). (a864dae3)
  • FEAT: Max tokens and truncation strategy in Assistant API (#380). (7153167b)
  • FEAT: Updated models catalog with GPT-4 Turbo with Vision (#378). (88537540)
  • FEAT: Weights & Biases integration for fine-tuning and seed options (#377). (a5fff1bf)
  • FEAT: Support for checkpoints in fine-tuning jobs (#376). (69f8e2f9)

0.2.0 #

  • FEAT: Sync OpenAI API (#347). (f296eef6)
  • FIX: Have the == implementation use Object instead of dynamic (#334). (89f7b0b9)

0.1.7 #

0.1.6+1 #

0.1.6 #

  • FEAT: Add gpt-4-0125-preview and gpt-4-turbo-preview in model catalog (#309). (f5a78867)
  • FEAT: Add text-embedding-3-small and text-embedding-3-large in model catalog (#310). (fda16024)
  • FEAT: Add support for shortening embeddings (#311). (c725db0b)

0.1.5 #

  • FEAT: Support Anyscale API in openai_dart client (#303). (e0a3651c)
  • FEAT: Support Together AI API (#296). (ca6f23d5)
  • FEAT: Support Together AI Embeddings API in openai_dart client (#301). (4a6e1045)
  • FEAT: Add usage to Run/RunStep in openai_dart client (#302). (cc6538b5)

0.1.4 #

0.1.3 #

0.1.2+1 #

  • FIX: Make ChatCompletionNamedToolChoice fields required (#259). (4c7d0436)

0.1.2 #

  • FEAT: Allow to update OpenAI key without having to recreate the wrapper (#246). (05739bd1)

0.1.1+2 #

0.1.1+1 #

  • FIX: Fetch requests with big payloads dropping connection (#226). (1e771098)

0.1.1 #

0.1.0+1 #

  • FIX: Add missing name param in ChatCompletionMessage (#222). (6f186775)
  • FIX: Remove dependency on io.HttpException (#221). (95369e4c)
  • DOCS: Add public_member_api_docs lint rule and document missing APIs (#223). (52380433)

0.1.0 #

Note: This release has breaking changes. Migration guides: new factories and multi-modal

  • BREAKING FEAT: Add multi-modal support (#218). (14c8e7ef)
  • BREAKING FEAT: Rename factory const to more meaningful names (#215). (7e4602fa)
  • FEAT: Add gpt-3.5-turbo-1106 chat model (#217). (73f37915)
  • REFACTOR: Improve request error handling (#214). (4a9f3d33)

0.0.2+2 #

  • REFACTOR: Migrate to generated client stream methods (#208). (9122f551)
  • FIX: Fix integer overflow when targeting web (#207). (eaf69f32)

0.0.2+1 #

  • REFACTOR: Rename ChatCompletionFunction to FunctionObject (#206). (0f06df3f)

0.0.2 #

  • FEAT: Support new models API functionality (#203). (33ebe746)
  • FEAT: Support new images API functionality (#202). (fcf21daf)
  • FEAT: Support new fine-tuning API functionality (#201). (f5f44ad8)
  • FEAT: Support new embeddings API functionality (#200). (9b43d85b)
  • FEAT: Support new completion API functionality (#199). (f12f6f57)
  • FEAT: Support new chat completion API functionality (#198). (01820d69)
  • FIX: Handle nullable function call fields when streaming (#191). (8f23cf16)

0.0.1 #

  • FIX: Fix static analysis warning (#187). (3fe91570)
  • FIX: Several fixes and improvements (#182). (115e8bef)
  • FEAT: Support different embedding response formats (#180). (4f676e87)
  • FEAT: Implement openai_dart, a Dart client for OpenAI API (#178). (fa5d032a)

0.0.1-dev.1 #

  • Bootstrap project
72
likes
0
points
8.88k
downloads

Publisher

verified publisherlangchaindart.dev

Weekly Downloads

Dart client for the OpenAI API. Supports completions (GPT-3.5 Turbo), chat (GPT-4o, etc.), embeddings (Embedding v3), images (DALL·E 3), assistants v2 (threads, runs, vector stores, etc.) batch, fine-tuning, etc.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #nlp #llms #gpt

Documentation

Documentation

License

unknown (license)

Dependencies

fetch_client, freezed_annotation, http, json_annotation, meta

More

Packages that depend on openai_dart