Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Instances
Other types
data CodeInterpreterResources Source #
Resources for the code search tool
Instances
FromJSON CodeInterpreterResources Source # | |
Defined in OpenAI.V1.ToolResources | |
ToJSON CodeInterpreterResources Source # | |
Defined in OpenAI.V1.ToolResources | |
Generic CodeInterpreterResources Source # | |
Defined in OpenAI.V1.ToolResources type Rep CodeInterpreterResources :: Type -> Type # | |
Show CodeInterpreterResources Source # | |
Defined in OpenAI.V1.ToolResources showsPrec :: Int -> CodeInterpreterResources -> ShowS # show :: CodeInterpreterResources -> String # showList :: [CodeInterpreterResources] -> ShowS # | |
type Rep CodeInterpreterResources Source # | |
Defined in OpenAI.V1.ToolResources type Rep CodeInterpreterResources = D1 ('MetaData "CodeInterpreterResources" "OpenAI.V1.ToolResources" "openai-1.0.0-DWUl3td9tpcnv1wfBaSVp" 'False) (C1 ('MetaCons "CodeInterpreterResources" 'PrefixI 'True) (S1 ('MetaSel ('Just "file_ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector FileID))))) |
Static chunking strategy
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
VectorStore | |
|
Instances
data FileSearchResources Source #
Resources for the file search tool
FileSearchResources | |
|