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

BREAKING CHANGE: add OpenAI files and vector store API (including database and model) #125

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RobinBially
Copy link

@RobinBially RobinBially commented Jun 26, 2024

related to #81

Pull Request Checklist

Describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

Possibility to create and remove knowledge bases for pipelines via open ai files and vector store api

Changed/Added


Additional Information

How to add a file to a pipeline vector store:

  • Create a file (see example in upload-file.http)
  • Create a vector store and add a pipeline id to the metadata field (example in create_vector_store.http)
  • implement the add_vector_store_file and remove_vector_store_file functions in your pipeline
  • Attach the file to the vector store by creating a vector store file (example in create_vector_store_file.http)

Screenshots or Videos

@RobinBially RobinBially changed the title feat: add OpenAI files and vector store API feat: add OpenAI files and vector store API (including database and model) Jun 27, 2024
@RobinBially RobinBially changed the title feat: add OpenAI files and vector store API (including database and model) BREAKING CHANGE: add OpenAI files and vector store API (including database and model) Jun 27, 2024
@RobinBially RobinBially force-pushed the openai-vector-store-file-api branch 2 times, most recently from e54241a to b474784 Compare July 3, 2024 16:12
RobinBially pushed a commit to RobinBially/pipelines that referenced this pull request Jul 9, 2024
@RobinBially RobinBially force-pushed the openai-vector-store-file-api branch from 402572d to d7b06ac Compare July 9, 2024 09:54
RobinBially pushed a commit to RobinBially/pipelines that referenced this pull request Jul 9, 2024
@RobinBially RobinBially force-pushed the openai-vector-store-file-api branch from d7b06ac to ac256b7 Compare July 9, 2024 09:56
@RobinBially RobinBially force-pushed the openai-vector-store-file-api branch from ac256b7 to db57ff8 Compare July 9, 2024 11:36
@RobinBially RobinBially marked this pull request as ready for review July 9, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant