🔍 chore: Clean Up Documentation (#2217)

* fix(initializeClient.spec.js): remove condition failing test on local installations

* docs: remove comments and invalid html as is required by embeddings generator and add new documentation guidelines
This commit is contained in:
Danny Avila 2024-03-26 13:40:00 -04:00 committed by GitHub
parent 2259bf8b03
commit 7f83a060a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 17 additions and 131 deletions

View file

@ -338,7 +338,6 @@ describe('gptPlugins/initializeClient', () => {
});
test('should initialize client with default options when certain env vars are not set', async () => {
delete process.env.DEBUG_OPENAI;
delete process.env.OPENAI_SUMMARIZE;
process.env.OPENAI_API_KEY = 'some-api-key';
@ -351,8 +350,6 @@ describe('gptPlugins/initializeClient', () => {
const endpointOption = {};
const client = await initializeClient({ req, res, endpointOption });
expect(client.client.options.debug).toBe(false);
expect(client.client.options.contextStrategy).toBe(null);
});