Skip to content
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

[Non-Node Envs] Make openai classes use fetch, remove use of node-fetch #118

Merged
merged 8 commits into from
Feb 27, 2023

Commits on Feb 24, 2023

  1. Configuration menu
    Copy the full SHA
    66b57c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    462cfaa View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Add GH (manual) action for running integration tests (#119)

    * Add integration tests GH action (manual trigger for now), reduce cost of integration tests by using smallest possible models
    
    * Convert library to ESM codebase, ESM output (#124)
    
    * Use fetch adapter for openai axios
    
    * Update tsc build to output ESM only
    
    * Update all import paths to have extension per ESM requirements
    
    * Move all source files to src/
    
    * Remove circular dependency
    
    * Fix jest config for ESM
    
    * Remove circular deps not possible with ESM
    
    * Throw error in index getter to dedupe code and have safer usage (#35)
    
    * Fix hnsw for esm
    
    * Fix usage of hnswlib with index passed in
    
    * Fix textsplitter for esm
    
    * Fix openai for esm
    
    * Fix hf for esm
    
    * Fix ESM for cohere
    
    * Fix ESM for serpapi
    
    * Fix esm in srt
    
    * Remove dependency on @vespaiach/axios-fetch-adapter which has an incorrect export
    
    * Fix examples for esm
    
    * Fix entrypoints
    
    * Fix test-exports for esm
    
    * Add fetch flag for node 16 ci job
    
    * Add a more thorough test for packaging
    
    * Fix docs build
    
    ---------
    
    Co-authored-by: micahriggan <micahriggan@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: micahriggan <micahriggan@users.noreply.github.com>
    nfcampos and micahriggan committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    d544981 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a18a6ab View commit details
    Browse the repository at this point in the history
  3. Fix one more import

    nfcampos committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    ed9e02b View commit details
    Browse the repository at this point in the history
  4. Fix example

    nfcampos committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    a9e276d View commit details
    Browse the repository at this point in the history
  5. Also build docs in ci

    nfcampos committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    b2bcc5b View commit details
    Browse the repository at this point in the history
  6. Fix sql test in ci

    nfcampos committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    787e37a View commit details
    Browse the repository at this point in the history