Skip to content

Commit

Permalink
fix: update return values
Browse files Browse the repository at this point in the history
  • Loading branch information
dzehnder committed Jan 10, 2025
1 parent 982d5dd commit a6a4ee7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/spacecat-shared-gpt-client/src/clients/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ export class FirefallClient {
* - imageUrls: An array of URLs of the images to provide to Firefall
* - model: LLM Model to use (default: gpt-4-turbo). Use 'gpt-4-vision' with images.
* - responseFormat: The response format to request from Firefall (accepts: json_object)
* @returns {Object} - AI response
* @returns {Promise<Object>} - AI response
*/
fetchChatCompletion(prompt: string, options?: object): object;
fetchChatCompletion(prompt: string, options?: object): Promise<object>;

/**
* Fetches data from Firefall API.
* @param prompt The text prompt to provide to Firefall
* @returns {string} - AI response
* @returns {Promise<string>} - AI response
*/
fetchCapabilityExecution(prompt: string): string;
fetchCapabilityExecution(prompt: string): Promise<string>;
}

0 comments on commit a6a4ee7

Please sign in to comment.