Skip to content

Conversation

zahidalidev
Copy link
Contributor

  • Ask SourceGraph Chatbot page
  • Ask SourceGraph button in the header.

Pull Request approval

Although pull request approval is not enforced for this repository in order to reduce friction, merging without a review will generate a ticket for the docs team to review your changes. So if possible, have your pull request approved before merging.

Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sourcegraph-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 3:55pm

@MaedahBatool
Copy link
Contributor

@ahmadbilaldev and @zahidalidev, can you both please collaborate and finalize this max by tomorrow? It's not working.

@ahmadbilaldev
Copy link
Contributor

ahmadbilaldev commented Aug 5, 2024

Please add NEXT_LB_PIPE_API_KEY as an environment variable to your docs deployment in order for the bot to work in production. Add the Sourcegraph pipe key in it.

For local, add the same in an .env file. The PR is finalized from my end and is ready to be shipped.

@MaedahBatool
Copy link
Contributor

@zahidalidev Things we need

  1. When a request is sent it should show AI is thinking, analyzing data, reading docs … to create a better UX
  2. @ahmadbilaldev need the script to update memory

@MaedahBatool MaedahBatool changed the title Added Ask Source Graph bot Added Ask Sourcegraph bot Aug 7, 2024
Copy link

vercel bot commented Aug 8, 2024

@MaedahBatool is attempting to deploy a commit to the Sourcegraph Team on Vercel.

A member of the Team first needs to authorize it.

@ahmadbilaldev
Copy link
Contributor

ahmadbilaldev commented Aug 12, 2024

@MaedahBatool

Please follow this link for the script. The script has extensive docs on how to install and use. For your use:

  • Use the commit comparision mode.

  • Last updated commit in Langbase memory is this one. Therefore, add its commit SHA to baseCommitSha like this:

 baseCommitSha='e4999030e84287b8696e968c929b507789e12a76'
  • Similarly, add the latest commit's SHA to headCommitSha . the script will analyze the files changed between these commits and upload them to Langbase.

  • Keep track of the head commit when you upload. You will use it as base commit the next time you update the Langbase memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants