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

Similarity search over mumblings #26

Open
5 tasks
kikuomax opened this issue Oct 4, 2023 · 1 comment
Open
5 tasks

Similarity search over mumblings #26

kikuomax opened this issue Oct 4, 2023 · 1 comment
Assignees
Milestone

Comments

@kikuomax
Copy link
Member

kikuomax commented Oct 4, 2023

To demonstrate the FlechasDB system, I want to add a feature to do similarity search over mumblings.

@kikuomax kikuomax added this to the Sprint 5 milestone Oct 4, 2023
@kikuomax kikuomax self-assigned this Oct 4, 2023
@kikuomax kikuomax changed the title Similarity search of mumblings Similarity search over mumblings Oct 4, 2023
@kikuomax
Copy link
Member Author

kikuomax commented Oct 5, 2023

I think we should chunk each mumbling into sentences and calculate embeddings for individual sentences.

@kikuomax kikuomax moved this to In Progress in FlechasDB Alpha Oct 5, 2023
@kikuomax kikuomax modified the milestones: Sprint 5, Sprint 6 Oct 9, 2023
kikuomax added a commit to kikuomax/mumble that referenced this issue Oct 15, 2023
- `utils/parameters.ts` introduces a new function
  `getOpenAiApiKeyParameter` that obtains the OpenAI API key from the
  Parameter Store on AWS Systems Manager. It reads the parameter path
  from the environment variable `OPENAI_API_KEY_PARAMETER_PATH`.
  `getDomainNameParameter` and `getOpenAiApiKeyParameter` shares a new
  function `getParameter` that performs actual requests to AWS.

issue codemonger-io#26
kikuomax added a commit to kikuomax/mumble that referenced this issue Oct 15, 2023
- Introduces a new submodule `utils/embeddings` that provides utilities
  to access OpenAI API to deal with embeddings. It provides
  `createEmbedding` function that calculates an embedding vector for a
  given text. It obtains the OpenAI API key from the Parameter Store on
  AWS Systems Manager.

issue codemonger-io#26
kikuomax added a commit to kikuomax/mumble that referenced this issue Oct 15, 2023
- `SystemParameters` introduces a new parameter
  `openAiApiKeyParameter` that stores the OpenAI API key.
- `ViewerHandler` is granted access to the OpenAI API key parameter.
- `CdkStack` outputs the parameter path of the OpenAI API key as
  `OpenAiApiKeyParameterPath`.

issue codemonger-io#26
kikuomax added a commit that referenced this issue Oct 17, 2023
- `utils/parameters.ts` introduces a new function
  `getOpenAiApiKeyParameter` that obtains the OpenAI API key from the
  Parameter Store on AWS Systems Manager. It reads the parameter path
  from the environment variable `OPENAI_API_KEY_PARAMETER_PATH`.
  `getDomainNameParameter` and `getOpenAiApiKeyParameter` shares a new
  function `getParameter` that performs actual requests to AWS.

issue #26
kikuomax added a commit that referenced this issue Oct 17, 2023
- Introduces a new submodule `utils/embeddings` that provides utilities
  to access OpenAI API to deal with embeddings. It provides
  `createEmbedding` function that calculates an embedding vector for a
  given text. It obtains the OpenAI API key from the Parameter Store on
  AWS Systems Manager.

issue #26
kikuomax added a commit that referenced this issue Oct 17, 2023
- `SystemParameters` introduces a new parameter
  `openAiApiKeyParameter` that stores the OpenAI API key.
- `ViewerHandler` is granted access to the OpenAI API key parameter.
- `CdkStack` outputs the parameter path of the OpenAI API key as
  `OpenAiApiKeyParameterPath`.

issue #26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant