Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Adapted app.py to work with latest code #40

Merged
merged 33 commits into from
Sep 13, 2023
Merged

Adapted app.py to work with latest code #40

merged 33 commits into from
Sep 13, 2023

Conversation

igiloh-pinecone
Copy link
Contributor

The app.py now works, exposing OpenAI-like API

acatav and others added 11 commits August 30, 2023 17:21
So we can run tests in parallel == faster
I set all the KB tests to run in one pytest-xdist process, so they will run one after the other - since they are all using the same index
- Object initialization
- OpenAI API returns event stream, not byte stream
- A few minor fixes
These defaults are what we expect real users to use
This way the code is slightly safer
The service is not part of the library in any way
Will mostly be used later for feedback
Just to be more consistent
In the case of `stream=True`, we returned a generator of chunks, so there was no place to put the debug_info
Can be used for feedback
Base automatically changed from ci_system_tests to dev September 10, 2023 19:42
Now it prints both to stdout and file
Team decided this is a better name
Very basic for now, but it will do
@igiloh-pinecone igiloh-pinecone changed the title WIP: Adapted app.py to work with latest code Adapted app.py to work with latest code Sep 11, 2023
@igiloh-pinecone igiloh-pinecone marked this pull request as ready for review September 11, 2023 14:32
@miararoy miararoy merged commit 257d835 into dev Sep 13, 2023
@miararoy miararoy deleted the server branch September 13, 2023 07:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants