I'm wondering whether we can proceed A/B Testing in Dialogflow within the same agent? E.G. User A talks to Ver. A and User B to Ver.B in order to test which one performs better.
Can I work it out within "Environment & Vesioning"? Thanks.
There is no A/B testing within the same agent as of now but you can have 2 separate agents with separate sets of test users. For example set up alpha tests for each of the 2 agents and add separate user sets, a description on how to do this can be found here.
Keep in mind that you can't publish 2 agents with the same name.
To make this easier you can export your agent and import it into a new project, this option can be found in the Dialogflow settings. Then change only the intents that you want to test.
Related
I would like to setup a sandbox project in my school GitLab server (self-hosted, free), that all users, especially new ones, can use to test whatever they need.
How can I add all users to the same project?
I already read this releated question (that asks the opposite), but it only partially help; the most useful answer tells me to use the API, which is good if I want to add all current users to a project, but I also want to add new ones.
Is there a way to add a user to a project, triggered by that user being confirmed?
One builtin method would be to use system hooks. For example, you can create a hook that responds to user_create events and adds the user to the project.
Another way may be just to run a scheduled CI pipeline that scripts this or similar automation (e.g. cron job on the server or whatever).
You can use the users list API to enumerate all current users in your GitLab instance (requires admin privileges). You can also use the project membership API to enumerate all members of the project. You can compare the two results to find any users that need to be added.
Pseudocode:
project_members = get_project_members(project_id=1234) # project members API
for user in get_all_gitlab_users(): # list users API
if user not in project_members:
add_project_member(user=user, project_id=1234)
I can not create a new agent. When I am clicking on create then it is cancelled
It could be that you are trying to use a GCP Project that already has an agent (only one agent is allowed per GCP project). Try to choose another GCP Project and see if that works.
Followed this quickstart and did not find any problem. Please, make sure that you have followed the previous steps required to create an agent: the setup and the basis.
Also, as it was commented before, each project can have at most, one agent per region.
If this path does not help, please provide me with more details about your particular situation with this agent, just bear in mind to suppress all kinds of sensitive information regarding your project and your data.
I have read the official article and it says that dialogflow automatically saves a snapshot of the agent when we release the action into a particular channel like Alpha , Beta or Production.
I have submitted my action for Production and it is under review.
If I make any changes to my action now on the inline editor of dialogflow , they won't be reflected on the
released version would they ?
I am unsure due to the fact that it doesn't say deployed to any channel but says it's under review. Do I have to wait till it's in production ? There is no way to confirm that version control is in place.
If you make changes to either your webhook fulfillment or to the code in the Inline Editor, it goes into effect immediately. There is no version control at all for fulfillment.
At the same time, it means that if you make a change to fulfillment, you do not need to have it re-reviewed before it goes live.
The Alpha, Beta, and Production channels refer to the Intents, phrases, etc.
While, in theory, you can create a different environment for Alpha, Beta, and Production and in each environment use a different URL for the webhook, this definitely won't work if you're using the Inline Editor.
The best solution is to create a completely separate project and do your development and testing in that project.
I am currently evaluating means to create multiple Dialogflow agents programmatically. While doing the analysis I tried REST interface released on June 13, 2019, with this interface I am able to edit an existing agent. However, could not create a new one.
Need pointers on below points:
Can we create multiple agents under a single project
Nope. From this page:
Note: You can only create one agent for a GCP project. If you need multiple agents, you will need to create multiple projects.
I have just a single instance of jenkins on a local machine which we are using to build our code. We have different project teams working on different projects, and different jobs for each project.
To eliminate the possibility of someone from one team accidentally messing up another team's job, i have created multiple jenkins users.
However, all of the users that can log on still see all of the jobs. Is there a way for certain users to only see the jobs that pertain to them?
I have searched extensively for something like this but no luck. I haven't found any plugins for this. I am using matrix based security currently, and although you can change the permissions of all the users through this, you can not apply specific permissions to specific jobs. At least to my knowledge. Any ideas?
Just to clarify, I want one of the many teams to log in to their user account in jenkins, and only see their jobs. The jobs of the other teams should not be visible, only the ones that they are assigned should be visible when they log on
The closest thing i have found for this is in the Role Strategy Plugin, there is a user-based job filter
Turns out there is a feature already in jenkins for this, no plugins necessary!
In the Configure Global Security section in Manage Jenkins, click "Project-based matrix authorization strategy".
Then you can configure permissions in the job configure screen for that particular job by clicking "enable project-based security".
Now you can configure your Jenkins so that "Joe can access project A, B, and C but he can't see D".