PromucFlow_constructor/app/server/appsmith-plugins
Manish Kumar 8ec8202b08
feat: open ai feature request (#28295)
## This is feature branch for Open AI integration.

This Plugin supports two commands: 
- Chat - Open AI responds back with a list of messages.
- Embeddings - Open AI responds back with list of embeddings.

### Chat Interface: 
In chat interface the user can select a model from GPT 3.5, GPT 4, and
there fine-tuned versions.
<img width="914" alt="Chat-screen"
src="https://github.com/appsmithorg/appsmith/assets/107841575/30c3a095-4560-456b-9747-43b70a48cc0a">

### Chat Response: 
<img width="865" alt="chat-response"
src="https://github.com/appsmithorg/appsmith/assets/107841575/bad5269e-5bf5-4814-853a-65045423642e">


### Embedding interface: 
<img width="914" alt="Embedding screen"
src="https://github.com/appsmithorg/appsmith/assets/107841575/7c1dfa9f-caca-4dba-b4fe-10d25773f604">

### Strategy: 
Added Factory classes for separating implementation of different
commands, interface methods are:
- getTriggerMethod() HTTP method to use for trigger call
- getTriggerURI() url for trigger request 
- getExecutionMethod() HTTP method to user for Execution call
- getExecutionURI () Url for executionRequest
- makeRequestBody() for sending requests
- isModelCompatible  is model compatible for this command ?

Fixes: https://github.com/appsmithorg/appsmith/issues/28269

---------

Co-authored-by: Diljit VJ <diljit@appsmith.com>
2023-11-03 11:20:34 +07:00
..
amazons3Plugin feat: Add isSuggested value to templates for all plugins (#26623) 2023-08-30 11:49:25 +01:00
arangoDBPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
dynamoPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
elasticSearchPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
firestorePlugin chore(deps): Update Guava in Firestore and Google Sheets plugins (#27203) 2023-09-14 15:32:54 +05:30
googleSheetsPlugin chore(deps): Update Guava in Firestore and Google Sheets plugins (#27203) 2023-09-14 15:32:54 +05:30
graphqlPlugin chore(deps): Upgrade graphql-java version to gev fix for CVE-2023-2976 (#27400) 2023-09-19 09:09:29 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin feat: only movies collection shown for mock DB A/B (#27049) 2023-09-13 15:35:19 +05:30
mssqlPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
mysqlPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
openAiPlugin feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00
oraclePlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
postgresPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
redisPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
redshiftPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
restApiPlugin fix: for api-redirection (#27720) 2023-10-11 21:54:00 +05:30
saasPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
smtpPlugin chore: JUnit test cases added for rate limit functions (#28399) 2023-10-26 21:40:55 +05:30
snowflakePlugin feat: Add isSuggested value to templates for all plugins (#26623) 2023-08-30 11:49:25 +01:00
pom.xml feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00