Add optional model configuration

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
ai

Research direction

Start by locating the assistant's environment configuration and model initialization, then compare the existing settings with the proposed .env names: _APP_ASSISTANT_OPENAI_API_KEY, _APP_ASSISTANT_BASE_URL, _APP_ASSISTANT_MODEL_NAME, and _APP_ASSISTANT_EMBEDDING_MODEL. Done means the assistant can use a large model compatible with the OpenAI protocol through these optional settings.

Written by the indexing model from the issue text.

Description

🔖 Enhancement description

Add a large model compatible with OpenAI protocol to the assistant

🎤 Pitch

.env:

_APP_ASSISTANT_OPENAI_API_KEY=YOUR_OPENAI_API_KEY
_APP_ASSISTANT_BASE_URL=https://api.openai.com/v1
_APP_ASSISTANT_MODEL_NAME=gpt-4o
_APP_ASSISTANT_EMBEDDING_MODEL=text-embedding-ada-002

👀 Have you spent some time to check if this issue has been raised before?
  • I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
Dominant language
JavaScript
Stars
62
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from appwrite/assistant

All issues in appwrite/assistant

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.