| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
OpenAI.V1.ToolResources
Contents
Description
The ToolResources type
Synopsis
- data ToolResources = ToolResources {}
- data CodeInterpreterResources = CodeInterpreterResources {}
- data Static = Static {}
- data VectorStore = VectorStore {
- file_ids :: Maybe (Vector FileID)
- chunking_strategy :: Maybe (AutoOr ChunkingStrategy)
- data FileSearchResources = FileSearchResources {
- vector_store_ids :: Maybe (Vector FileID)
- vector_stores :: Maybe (Vector VectorStore)
Main types
data ToolResources Source #
A set of resources that are used by the assistant's tools
Constructors
| ToolResources | |
Instances
Other types
data CodeInterpreterResources Source #
Resources for the code search tool
Constructors
| CodeInterpreterResources | |
Instances
Static chunking strategy
Constructors
| Static | |
Fields | |
Instances
| FromJSON Static Source # | |
Defined in OpenAI.V1.ChunkingStrategy | |
| ToJSON Static Source # | |
| Generic Static Source # | |
| Show Static Source # | |
| type Rep Static Source # | |
Defined in OpenAI.V1.ChunkingStrategy type Rep Static = D1 ('MetaData "Static" "OpenAI.V1.ChunkingStrategy" "openai-1.0.0-DWUl3td9tpcnv1wfBaSVp" 'False) (C1 ('MetaCons "Static" 'PrefixI 'True) (S1 ('MetaSel ('Just "max_chunk_size_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "chunk_overlap_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) | |
data VectorStore Source #
A helper to create a vector store with file_ids and attach it to this assistant
Constructors
| VectorStore | |
Fields
| |
Instances
data FileSearchResources Source #
Resources for the file search tool
Constructors
| FileSearchResources | |
Fields
| |