Skip to content

Instantly share code, notes, and snippets.

@vinayvinay
Created August 3, 2023 09:01
Show Gist options
  • Save vinayvinay/37704b1806b69afaab4b569c472ccf04 to your computer and use it in GitHub Desktop.
Save vinayvinay/37704b1806b69afaab4b569c472ccf04 to your computer and use it in GitHub Desktop.
coding task structure
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?")
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