Created
August 3, 2023 09:01
-
-
Save vinayvinay/37704b1806b69afaab4b569c472ccf04 to your computer and use it in GitHub Desktop.
coding task structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "funcs" | |
messages = get_commit_messages() | |
llm = init_llm() | |
client = init_vector_search_client(llm) | |
load_documents(client, messages) | |
query(client, "Which commits mention terraform modules?") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "octokit" | |
require "langchain" | |
def get_commit_messages() | |
end | |
def init_llm() | |
end | |
def init_vector_search_client(llm) | |
end | |
def load_documents(client, messages) | |
end | |
def query(client, question) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment