go get github.com/speakeasy-sdks/taamai
package main
import (
"context"
"github.com/speakeasy-sdks/taamai"
"github.com/speakeasy-sdks/taamai/pkg/models/operations"
"github.com/speakeasy-sdks/taamai/pkg/models/shared"
"log"
)
func main() {
s := taamai.New(
taamai.WithSecurity(""),
)
ctx := context.Background()
res, err := s.AddonFeatures.GenerateCode(ctx, operations.GenerateCodeRequest{
Document: "new checking",
Instructions: "generate a code to store image",
Language: "php",
UserID: 1,
})
if err != nil {
log.Fatal(err)
}
if res.GenerateCode != nil {
// handle response
}
}
- GenerateCode - Generate Code
- GenerateimagefromAI - Generate image from AI
- Generatespeechtotext - Generate speech to text
- Savecodeinworkspace - Save code in workspace
- Savetranscript - Save transcript
- CreateCustomTemplate - Create Custom Template
- CustomTemplategenerate - Custom Template generate
- CustomTemplates - Custom Templates
- DeleteCustomtemplate - Delete Custom template
- FavCustomTemplates - Fav Custom Templates
- RestoreCustomtemplate - Restore Custom template
- TrashedCustomTemplates - Trashed Custom Templates
- AllCategories - All Categories
- CreateProduct - Create Product
- DeleteProduct - Delete Product
- RestoreProduct - Restore Product
- TrashedProducts - Trashed Products
- UpdateProduct - Update Product
- UserProductd - User Productd
- ParmenentdeleteProduct - parmenent delete Product
- Addandremovefrombookmarkprompttemplate - Add and remove from bookmark prompt template
- CreatePromptTemplate - Create Prompt Template
- Generateprompttemplate - Generate prompt template
- ParmanentDeletePrompttemplate - Parmanent Delete Prompt template
- PromptTemplates - Prompt Templates
- RestorePromptTemplate - Restore Prompt Template
- TrashedPromptTemplates - Trashed Prompt Templates
- Deleteprmopttemplate - delete prmopt template
- Prompttemplatelikeorremovefromlike - prompt template like or remove from like
- AllTemplates - All Templates
- FavTemplates - Fav Templates
- GenerateTemplate - Generate Template
- ProcessTemplate - Process Template
- TemplateDetail - Template Detail
- Templategroups - Template groups
- AddandremovefromfavDocument - Add and remove from fav Document
- Contentsinworkbook - Contents in work book
- CreateFolder - Create Folder
- CreateWorkbook - Create Workbook
- DeleteWorkspace - Delete Workspace
- Deleteallkindofdocuments - Delete all kind of documents
- Joinworkbook - Join workbook
- Joinworkbookrequestr - Join workbook requestr
- PermanentDeletefolder - Permanent Delete folder
- PermanentDeleteworkspace - Permanent Delete workspace
- RejectWorkbook - Reject Workbook
- RestoreDocuemntofalltypeContentVoiceoverImagesTranscriptCode - Restore Docuemnt of all type (content.voiceover,images,transcript,code)
- RestoreWorkspace - Restore Workspace
- Setdefualtworkspace - Set defualt workspace
- Trashedfolders - Trashed folders
- Trashedworkspaces - Trashed workspaces
- WorkbookDetail - Workbook Detail
- Workbookvoiceovers - Workbook voiceovers
- Allworkbooks - all workbooks
- Deletefolder - delete folder
- PermanentDeletedocument - permanent Delete document
- Restorefolder - restore folder
- Userchats - user chats
- Workbookcodes - workbook codes
- Workbookimages - workbook images
- Workbookpolicies - workbook policies
- Workbooktranscripts - workbook transcripts
- NewRequest - New Request
- Sendandgetmsgtochatpdf - Send and get msg to chat pdf
- Fileupload - file upload
- Pdftotext - pdf to text
- Uploadfileforchatpdf - upload file for chat pdf
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
returned response object will have a Next
method that can be called to pull down the next group of results. If the
return value of Next
is nil
, then there are no more pages to be fetched.
Here's an example of one such pagination call:
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!