-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate AI prompt with chatgpt 3.5 for PRO users #481
Conversation
Quality Gate passedIssues Measures |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 036a242. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #481 +/- ##
=======================================
Coverage ? 69.37%
=======================================
Files ? 19
Lines ? 173
Branches ? 30
=======================================
Hits ? 120
Misses ? 50
Partials ? 3
|
Description
This pull request introduces the integration of OpenAI services into the project, along with several configuration updates and enhancements. The most important changes include the addition of OpenAI service and related configurations, updates to existing files to support OpenAI, and improvements to the project configuration files.
Integration of OpenAI Service:
apps/acf-extension/src/background/index.ts
: AddedOpenAIBackground
andRUNTIME_MESSAGE_OPENAI
imports, and includedRUNTIME_MESSAGE_OPENAI
in the message handler. [1] [2]apps/acf-extension/src/content_scripts/util/acf-value.ts
: AddedOpenAIService
import and implementedgetOpenAIValue
method to handle OpenAI-related values.libs/shared/openai/src/index.ts
: Exported OpenAI-related classes and types.libs/shared/openai/src/lib/openai-background.ts
: ImplementedOpenAIBackground
class to handle OpenAI chat requests.libs/shared/openai/src/lib/openai.service.ts
: ImplementedOpenAIService
class to interact with OpenAI API.Configuration Updates:
.vscode/settings.json
: Added SonarLint configuration for the project.eslint.config.js
: Added ESLint configuration with specific rules.nx.json
: Updated project configuration to include OpenAI in the release process and adjusted formatting. [1] [2] [3]Project Enhancements:
libs/shared/openai/README.md
: Added a README file for the OpenAI library with instructions for building and testing.libs/shared/openai/package.json
: Added package configuration for the OpenAI library.libs/shared/openai/jest.config.ts
: Added Jest configuration for the OpenAI library.These changes collectively enhance the project's capabilities by integrating OpenAI services and improving the overall configuration and maintainability of the codebase.