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

Fix/api new changes #3

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

Fix/api new changes #3

wants to merge 3 commits into from

Conversation

kelcho-spense
Copy link
Collaborator

@kelcho-spense kelcho-spense commented Nov 13, 2024

  • added a typesafe env.ts file to enforce env variables in our api
  • changed the cosmosdb.config.ts to cosmosClients.ts( changed the class format to reusable functions)
  • added logs to keep track of the health of the API in the log folder
  • added VectorDistance and similarityScore in retrieveRelevantChunks function in queryService.ts to optimize the revival of vector chucks
  • added vectorEmbeddingPolicy and indexingPolicy in the creation of EmbeddingsContainer in cosmosClient.ts file
  • moved generateEmbeddings.ts, generateTextVector.ts, readFileContent.ts and chunkDocument.ts files to utils folder
  • separated app.ts with server.ts

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