Skip to content

ULL-prompt-engineering/openai-assistant

Repository files navigation

Learning the OpenAI Assistants API

Folders in this Repo

Assistants

  1. Assistants can call OpenAI’s models with specific instructions to tune their personality and capabilities.
  2. Assistants can access multiple tools in parallel. These can be both
    1. OpenAI-hosted tools — like Code interpreter and Knowledge retrieval or
    2. tools you build / host (via Function calling).
  3. Assistants can access persistent Threads. Threads simplify AI application development by storing message history and truncating it when the conversation gets too long for the model’s context length. You create a Thread once, and simply append Messages to it as your users reply.
  4. Assistants can access Files in several formats — either as part of their creation or as part of Threads between Assistants and users. When using tools, Assistants can also create files (e.g., images, spreadsheets, etc) and cite files they reference in the Messages they create.

References

Assistant Function Calling

Assistants and Playground