Comments (3)
For another project backed by txtai, the query language had a hook to require a term. For example, you could do "+python find in list" and it would only return matches if Python was in the text or a tag.
Is this what you had in mind?
from codequestion.
something like that, basically something to say "How do I do X?" and be able to avoid "in python/javascript/rust/etc" by default. Just an annoyance I've run into with these kind of language queries and seems possibly solvable in cl tool like this.
Maybe options maybe better suited to the task? So something like codequestion --py how do I itterate a list
for python answers, and codequestion --rs how do I iterate a list
for rust answers.
What I was thinking of first though was something like an env var CODEQUESTION_DEFAULT_LANG
which could be set to whatever language you primally code in.
Really like the tool so far by the way :)
Edit:
made the py
, rs
options example double lined options from single lines to keep them inline with normal command line standards.
from codequestion.
Added default language to query and shell
from codequestion.
Related Issues (20)
- Integrate FastAPI for model serving
- Update models to use latest Stack Exchange data HOT 1
- pip install results No matching distribution found for torch>=1.4.0 (from txtai>=1.2.0->codequestion) HOT 2
- Single character in shell causes error
- How to build SE 300d - BM25 embedding? HOT 2
- UserWarning: Trying to unpickle estimator TruncatedSVD from version 0.23.1 when using version 0.23.2 HOT 2
- We need more
- ImportError: Faiss library is not installed HOT 2
- Vector model file not found (cord19-300d.magnitude) HOT 1
- Migrate from mdv to rich library
- Sync with txtai 2.0
- Update to txtai 3.2
- Migrate from word vector models to sentence transformers models
- Upgrade to txtai 5.x
- Add code quality checks
- Can this be used to train on custom archives , such as archive standard library documentations? HOT 5
- 52177 segmentation fault codequestion HOT 2
- Upgrade to txtai 6.0
- Update minimum Python version to 3.8
- OMP: Error #15: Initializing libomp140.x86_64.dll, but found libiomp5md.dll already initialized.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codequestion.