From aa2b31a94ef33882753aabf3b39f0df40b54f782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fynn=20Fl=C3=BCgge?= Date: Wed, 27 Sep 2023 12:51:03 +0200 Subject: [PATCH] chore: improve docs (#3) --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ce34805..7e70636 100644 --- a/README.md +++ b/README.md @@ -10,26 +10,24 @@
-Search your codebase semantically or chat with it from cli. 100% local support without any dataleaks. - +Search your codebase semantically or chat with it from cli. 100% local support without any dataleaks. Built with [langchain](https://github.com/langchain-ai/langchain), [treesitter](https://github.com/tree-sitter/tree-sitter), [sentence-transformers](https://github.com/UKPLab/sentence-transformers), [instructor-embedding](https://github.com/xlang-ai/instructor-embedding), [faiss](https://github.com/facebookresearch/faiss), [lama.cpp](https://github.com/ggerganov/llama.cpp), [Ollama](https://github.com/jmorganca/ollama). + + +![codeqai-demo](https://github.com/fynnfluegge/codeqai/assets/16321871/666ddc4b-1dad-4e1b-a525-01ef4e599539) - - -https://github.com/fynnfluegge/codeqai/assets/16321871/366c3b40-f40e-41a0-a460-6c4ad0036dd8 - - +
## ✨ Features -- 🔎 Semantic code search -- 💬 GPT-like chat with your codebase -- 💻 100% local embeddings and llms +- 🔎  Semantic code search +- 💬  GPT-like chat with your codebase +- 💻  100% local embeddings and llms - sentence-transformers, instructor-embeddings, llama.cpp, Ollama -- 🌐 OpenAI and Azure OpenAI support +- 🌐  OpenAI and Azure OpenAI support > [!NOTE] > There will be better results if the code is well documented. You might consider [doc-comments-ai](https://github.com/fynnfluegge/doc-comments.ai) for code documentation generation. @@ -61,12 +59,14 @@ codeqai configure ``` the configuration process is initiated, where the embeddings and llms can be chosen. -## OpenAI +## 🌐 Remote models +If remote models are preferred instead of local, some environment variables needs to be specified in advance. +### OpenAI ```bash export OPENAI_API_KEY = "your OpenAI api key" ``` -## Azure OpenAI +### Azure OpenAI ```bash export OPENAI_API_TYPE = "azure" export OPENAI_API_BASE = "https://